Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $($override & $protected).__generateSpecificIconView = function (aIconId_int)
  2. {
  3.     if (GGenericIconView.i_ANIMATABLE_ICONS_SIMPLIFICATION_ALLOWED_ICON_IDS.indexOf(aIconId_int) !== -1)
  4.     {
  5.         return superclass.__generateSpecificIconView.call(this, aIconId_int);
  6.     }
  7.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_1)
  8.     {
  9.         return new GGenericRainbowMonsterAnimatableIconView();
  10.     }
  11.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_2)
  12.     {
  13.         return new GGenericFireMonsterAnimatableIconView();
  14.     }
  15.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_3)
  16.     {
  17.         return new GGenericLigntBlueMonsterAnimatableIconView();
  18.     }
  19.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_4)
  20.     {
  21.         return new GGenericPurpleMonsterAnimatableIconView();
  22.     }
  23.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_5)
  24.     {
  25.         return new GGenericYellowMonsterAnimatableIconView();
  26.     }
  27.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_6)
  28.     {
  29.         return new GGenericBlueMonsterAnimatableIconView();
  30.     }
  31.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_7)
  32.     {
  33.         return new GGenericOrangeMonsterAnimatableIconView();
  34.     }
  35.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_8)
  36.     {
  37.         return new GGenericGreenBlueMonsterAnimatableIconView();
  38.     }
  39.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_WILD)
  40.     {
  41.         return new GGenericWildAnimatableIconView();
  42.     }
  43.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_FS)
  44.     {
  45.         return new GGenericFSAnimatableIconView();
  46.     }
  47.     else if (aIconId_int === GIconDescriptor.i_ICON_ID_SPLITTER)
  48.     {
  49.         return new GGenericSplitterAnimatableIconView();
  50.     }
  51.     return superclass.__generateSpecificIconView.call(this, aIconId_int);
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement