Document pokemon animation types

This commit is contained in:
GriffinR 2021-04-09 12:41:02 -04:00
parent a0b3d4df12
commit 72ba8cf58d
7 changed files with 2370 additions and 2271 deletions

View File

@ -410,33 +410,4 @@
#define ANIM_WEATHER_SANDSTORM 3
#define ANIM_WEATHER_HAIL 4
// Battle mon back animations.
#define BACK_ANIM_NONE 0x00
#define BACK_ANIM_H_SLIDE_QUICK 0x01
#define BACK_ANIM_H_SLIDE 0x02
#define BACK_ANIM_H_SLIDE_WITH_V_COMPRESS_1 0x03
#define BACK_ANIM_H_SLIDE_WITH_V_COMPRESS_2 0x04
#define BACK_ANIM_SHRINK_GROW_1 0x05
#define BACK_ANIM_GROW_1 0x06
#define BACK_ANIM_CIRCLE_MOVE_COUNTERCLOCKWISE 0x07
#define BACK_ANIM_HORIZONTAL_SHAKE 0x08
#define BACK_ANIM_VERTICAL_SHAKE 0x09
#define BACK_ANIM_V_SHAKE_WITH_H_SLIDE 0x0a
#define BACK_ANIM_VERTICAL_STRETCH 0x0b
#define BACK_ANIM_HORIZONTAL_STRETCH 0x0c
#define BACK_ANIM_GROW_2 0x0d
#define BACK_ANIM_V_SHAKE_WITH_PAUSE 0x0e
#define BACK_ANIM_CIRCLE_MOVE_CLOCKWISE 0x0f
#define BACK_ANIM_CONCAVE_DOWN_ARC_SWAY_SMALL 0x10
#define BACK_ANIM_CONCAVE_DOWN_ARC_SWAY_LARGE 0x11
#define BACK_ANIM_CONCAVE_UP_ARC_SWAY_LARGE 0x12
#define BACK_ANIM_DIP_RIGHT_SIDE 0x13
#define BACK_ANIM_SHRINK_GROW_2 0x14
#define BACK_ANIM_JOLT_RIGHT 0x15
#define BACK_ANIM_FLASH_YELLOW_WITH_SHAKE 0x16
#define BACK_ANIM_FADE_RED_WITH_SHAKE 0x17
#define BACK_ANIM_FADE_GREEN_WITH_SHAKE 0x18
#define BACK_ANIM_FADE_BLUE_WITH_SHAKE 0x19
#endif // GUARD_CONSTANTS_BATTLE_ANIM_H

View File

@ -7,4 +7,186 @@ void StartMonSummaryAnimation(struct Sprite *sprite, u8 frontAnimId);
void LaunchAnimationTaskForBackSprite(struct Sprite *sprite, u8 backAnimSet);
void SetSpriteCB_MonAnimDummy(struct Sprite *sprite);
// Pokémon back animation sets
#define BACK_ANIM_NONE 0
#define BACK_ANIM_H_VIBRATE 1
#define BACK_ANIM_H_SLIDE 2
#define BACK_ANIM_H_SPRING 3
#define BACK_ANIM_H_SPRING_REPEATED 4
#define BACK_ANIM_SHRINK_GROW 5
#define BACK_ANIM_GROW 6
#define BACK_ANIM_CIRCLE_COUNTERCLOCKWISE 7
#define BACK_ANIM_H_SHAKE 8
#define BACK_ANIM_V_SHAKE 9
#define BACK_ANIM_V_SHAKE_H_SLIDE 10
#define BACK_ANIM_V_STRETCH 11
#define BACK_ANIM_H_STRETCH 12
#define BACK_ANIM_GROW_STUTTER 13
#define BACK_ANIM_V_SHAKE_LOW 14
#define BACK_ANIM_TRIANGLE_DOWN 15
#define BACK_ANIM_CONCAVE_ARC_LARGE 16
#define BACK_ANIM_CONVEX_DOUBLE_ARC 17
#define BACK_ANIM_CONCAVE_ARC_SMALL 18
#define BACK_ANIM_DIP_RIGHT_SIDE 19
#define BACK_ANIM_SHRINK_GROW_VIBRATE 20
#define BACK_ANIM_JOLT_RIGHT 21
#define BACK_ANIM_SHAKE_FLASH_YELLOW 22
#define BACK_ANIM_SHAKE_GLOW_RED 23
#define BACK_ANIM_SHAKE_GLOW_GREEN 24
#define BACK_ANIM_SHAKE_GLOW_BLUE 25
// Pokémon animation function ids (for front and back)
// Each front anim uses 1, and each back anim uses a set of 3
#define ANIM_V_SQUISH_AND_BOUNCE 0
#define ANIM_CIRCULAR_STRETCH_TWICE 1
#define ANIM_H_VIBRATE 2
#define ANIM_H_SLIDE 3
#define ANIM_V_SLIDE 4
#define ANIM_BOUNCE_ROTATE_TO_SIDES 5
#define ANIM_V_JUMPS_H_JUMPS 6
#define ANIM_ROTATE_TO_SIDES 7
#define ANIM_ROTATE_TO_SIDES_TWICE 8
#define ANIM_GROW_VIBRATE 9
#define ANIM_ZIGZAG_FAST 10
#define ANIM_SWING_CONCAVE 11
#define ANIM_SWING_CONCAVE_FAST 12
#define ANIM_SWING_CONVEX 13
#define ANIM_SWING_CONVEX_FAST 14
#define ANIM_H_SHAKE 15
#define ANIM_V_SHAKE 16
#define ANIM_CIRCULAR_VIBRATE 17
#define ANIM_TWIST 18
#define ANIM_SHRINK_GROW 19
#define ANIM_CIRCLE_C_CLOCKWISE 20
#define ANIM_GLOW_BLACK 21
#define ANIM_H_STRETCH 22
#define ANIM_V_STRETCH 23
#define ANIM_RISING_WOBBLE 24
#define ANIM_V_SHAKE_TWICE 25
#define ANIM_TIP_MOVE_FORWARD 26
#define ANIM_H_PIVOT 27
#define ANIM_V_SLIDE_WOBBLE 28
#define ANIM_H_SLIDE_WOBBLE 29
#define ANIM_V_JUMPS_BIG 30
#define ANIM_SPIN_LONG 31
#define ANIM_GLOW_ORANGE 32
#define ANIM_GLOW_RED 33
#define ANIM_GLOW_BLUE 34
#define ANIM_GLOW_YELLOW 35
#define ANIM_GLOW_PURPLE 36
#define ANIM_BACK_AND_LUNGE 37
#define ANIM_BACK_FLIP 38
#define ANIM_FLICKER 39
#define ANIM_BACK_FLIP_BIG 40
#define ANIM_FRONT_FLIP 41
#define ANIM_TUMBLING_FRONT_FLIP 42
#define ANIM_FIGURE_8 43
#define ANIM_FLASH_YELLOW 44
#define ANIM_SWING_CONCAVE_FAST_SHORT 45
#define ANIM_SWING_CONVEX_FAST_SHORT 46
#define ANIM_ROTATE_UP_SLAM_DOWN 47
#define ANIM_DEEP_V_SQUISH_AND_BOUNCE 48
#define ANIM_H_JUMPS 49
#define ANIM_H_JUMPS_V_STRETCH 50
#define ANIM_ROTATE_TO_SIDES_FAST 51
#define ANIM_ROTATE_UP_TO_SIDES 52
#define ANIM_FLICKER_INCREASING 53
#define ANIM_TIP_HOP_FORWARD 54
#define ANIM_PIVOT_SHAKE 55
#define ANIM_TIP_AND_SHAKE 56
#define ANIM_VIBRATE_TO_CORNERS 57
#define ANIM_GROW_IN_STAGES 58
#define ANIM_V_SPRING 59
#define ANIM_V_REPEATED_SPRING 60
#define ANIM_SPRING_RISING 61
#define ANIM_H_SPRING 62
#define ANIM_H_REPEATED_SPRING_SLOW 63
#define ANIM_H_SLIDE_SHRINK 64
#define ANIM_LUNGE_GROW 65
#define ANIM_CIRCLE_INTO_BG 66
#define ANIM_RAPID_H_HOPS 67
#define ANIM_FOUR_PETAL 68
#define ANIM_V_SQUISH_AND_BOUNCE_SLOW 69
#define ANIM_H_SLIDE_SLOW 70
#define ANIM_V_SLIDE_SLOW 71
#define ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL 72
#define ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW 73
#define ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL_SLOW 74
#define ANIM_ZIGZAG_SLOW 75
#define ANIM_H_SHAKE_SLOW 76
#define ANIM_V_SHAKE_SLOW 77
#define ANIM_TWIST_TWICE 78
#define ANIM_CIRCLE_C_CLOCKWISE_SLOW 79
#define ANIM_V_SHAKE_TWICE_SLOW 80
#define ANIM_V_SLIDE_WOBBLE_SMALL 81
#define ANIM_V_JUMPS_SMALL 82
#define ANIM_SPIN 83
#define ANIM_TUMBLING_FRONT_FLIP_TWICE 84
#define ANIM_DEEP_V_SQUISH_AND_BOUNCE_TWICE 85
#define ANIM_H_JUMPS_V_STRETCH_TWICE 86
#define ANIM_V_SHAKE_BACK 87
#define ANIM_V_SHAKE_BACK_SLOW 88
#define ANIM_V_SHAKE_H_SLIDE_SLOW 89
#define ANIM_V_STRETCH_BOTH_ENDS_SLOW 90
#define ANIM_H_STRETCH_FAR_SLOW 91
#define ANIM_V_SHAKE_LOW_TWICE 92
#define ANIM_H_SHAKE_FAST 93
#define ANIM_H_SLIDE_FAST 94
#define ANIM_H_VIBRATE_FAST 95
#define ANIM_H_VIBRATE_FASTEST 96
#define ANIM_V_SHAKE_BACK_FAST 97
#define ANIM_V_SHAKE_LOW_TWICE_SLOW 98
#define ANIM_V_SHAKE_LOW_TWICE_FAST 99
#define ANIM_CIRCLE_C_CLOCKWISE_LONG 100
#define ANIM_GROW_STUTTER_SLOW 101
#define ANIM_V_SHAKE_H_SLIDE 102
#define ANIM_V_SHAKE_H_SLIDE_FAST 103
#define ANIM_TRIANGLE_DOWN_SLOW 104
#define ANIM_TRIANGLE_DOWN 105
#define ANIM_TRIANGLE_DOWN_TWICE 106
#define ANIM_GROW 107
#define ANIM_GROW_TWICE 108
#define ANIM_H_SPRING_FAST 109
#define ANIM_H_SPRING_SLOW 110
#define ANIM_H_REPEATED_SPRING_FAST 111
#define ANIM_H_REPEATED_SPRING 112
#define ANIM_SHRINK_GROW_FAST 113
#define ANIM_SHRINK_GROW_SLOW 114
#define ANIM_V_STRETCH_BOTH_ENDS 115
#define ANIM_V_STRETCH_BOTH_ENDS_TWICE 116
#define ANIM_H_STRETCH_FAR_TWICE 117
#define ANIM_H_STRETCH_FAR 118
#define ANIM_GROW_STUTTER_TWICE 119
#define ANIM_GROW_STUTTER 120
#define ANIM_CONCAVE_ARC_LARGE_SLOW 121
#define ANIM_CONCAVE_ARC_LARGE 122
#define ANIM_CONCAVE_ARC_LARGE_TWICE 123
#define ANIM_CONVEX_DOUBLE_ARC_SLOW 124
#define ANIM_CONVEX_DOUBLE_ARC 125
#define ANIM_CONVEX_DOUBLE_ARC_TWICE 126
#define ANIM_CONCAVE_ARC_SMALL_SLOW 127
#define ANIM_CONCAVE_ARC_SMALL 128
#define ANIM_CONCAVE_ARC_SMALL_TWICE 129
#define ANIM_H_DIP 130
#define ANIM_H_DIP_FAST 131
#define ANIM_H_DIP_TWICE 132
#define ANIM_SHRINK_GROW_VIBRATE_FAST 133
#define ANIM_SHRINK_GROW_VIBRATE 134
#define ANIM_SHRINK_GROW_VIBRATE_SLOW 135
#define ANIM_JOLT_RIGHT_FAST 136
#define ANIM_JOLT_RIGHT 137
#define ANIM_JOLT_RIGHT_SLOW 138
#define ANIM_SHAKE_FLASH_YELLOW_FAST 139
#define ANIM_SHAKE_FLASH_YELLOW 140
#define ANIM_SHAKE_FLASH_YELLOW_SLOW 141
#define ANIM_SHAKE_GLOW_RED_FAST 142
#define ANIM_SHAKE_GLOW_RED 143
#define ANIM_SHAKE_GLOW_RED_SLOW 144
#define ANIM_SHAKE_GLOW_GREEN_FAST 145
#define ANIM_SHAKE_GLOW_GREEN 146
#define ANIM_SHAKE_GLOW_GREEN_SLOW 147
#define ANIM_SHAKE_GLOW_BLUE_FAST 148
#define ANIM_SHAKE_GLOW_BLUE 149
#define ANIM_SHAKE_GLOW_BLUE_SLOW 150
#endif // GUARD_POKEMON_ANIMATION_H

View File

@ -12,8 +12,7 @@ void ShowPokemonSummaryScreen(u8 mode, void *mons, u8 monIndex, u8 maxMonIndex,
void ShowSelectMovePokemonSummaryScreen(struct Pokemon *mons, u8 monIndex, u8 maxMonIndex, void (*callback)(void), u16 newMove);
void ShowPokemonSummaryScreenSet40EF(u8 mode, struct BoxPokemon *mons, u8 monIndex, u8 maxMonIndex, void (*callback)(void));
u8 GetMoveSlotToReplace(void);
void SummaryScreen_SetUnknownTaskId(u8 taskId);
void SummaryScreen_DestroyUnknownTask(void);
void SummaryScreen_SetAnimDelayTaskId(u8 taskId);
// The Pokemon Summary Screen can operate in different modes. Certain features,
// such as move re-ordering, are available in the different modes.

View File

@ -791,7 +791,7 @@ static void SpriteCB_ReleaseMonFromBall(struct Sprite *sprite)
gTasks[taskId].tCryTaskWantedCry = wantedCryCase;
gTasks[taskId].tCryTaskBattler = battlerId;
gTasks[taskId].tCryTaskMonSpriteId = gBattlerSpriteIds[sprite->sBattler];
gTasks[taskId].tCryTaskMonPtr1 = (u32)(mon) >> 0x10;
gTasks[taskId].tCryTaskMonPtr1 = (u32)(mon) >> 16;
gTasks[taskId].tCryTaskMonPtr2 = (u32)(mon);
gTasks[taskId].tCryTaskState = 0;
}

View File

@ -1391,476 +1391,450 @@ const s8 gNatureStatTable[NUM_NATURES][NUM_NATURE_STATS] =
static const u8 sMonFrontAnimIdsTable[] =
{
[SPECIES_BULBASAUR - 1] = 0x06,
[SPECIES_IVYSAUR - 1] = 0x17,
[SPECIES_VENUSAUR - 1] = 0x2f,
[SPECIES_CHARMANDER - 1] = 0x52,
[SPECIES_CHARMELEON - 1] = 0x25,
[SPECIES_CHARIZARD - 1] = 0x10,
[SPECIES_SQUIRTLE - 1] = 0x0b,
[SPECIES_WARTORTLE - 1] = 0x13,
[SPECIES_BLASTOISE - 1] = 0x19,
[SPECIES_CATERPIE - 1] = 0x0b,
[SPECIES_METAPOD - 1] = 0x0b,
[SPECIES_BUTTERFREE - 1] = 0x1d,
[SPECIES_WEEDLE - 1] = 0x46,
[SPECIES_KAKUNA - 1] = 0x20,
[SPECIES_BEEDRILL - 1] = 0x02,
[SPECIES_PIDGEY - 1] = 0x47,
[SPECIES_PIDGEOTTO - 1] = 0x17,
[SPECIES_PIDGEOT - 1] = 0x29,
[SPECIES_RATTATA - 1] = 0x43,
[SPECIES_RATICATE - 1] = 0x2b,
[SPECIES_SPEAROW - 1] = 0x18,
[SPECIES_FEAROW - 1] = 0x2b,
[SPECIES_EKANS - 1] = 0x16,
[SPECIES_ARBOK - 1] = 0x17,
[SPECIES_PIKACHU - 1] = 0x2c,
[SPECIES_RAICHU - 1] = 0x17,
[SPECIES_SANDSHREW - 1] = 0x2d,
[SPECIES_SANDSLASH - 1] = 0x17,
[SPECIES_NIDORAN_F - 1] = 0x00,
[SPECIES_NIDORINA - 1] = 0x17,
[SPECIES_NIDOQUEEN - 1] = 0x0f,
[SPECIES_NIDORAN_M - 1] = 0x09,
[SPECIES_NIDORINO - 1] = 0x13,
[SPECIES_NIDOKING - 1] = 0x0f,
[SPECIES_CLEFAIRY - 1] = 0x00,
[SPECIES_CLEFABLE - 1] = 0x4a,
[SPECIES_VULPIX - 1] = 0x17,
[SPECIES_NINETALES - 1] = 0x10,
[SPECIES_JIGGLYPUFF - 1] = 0x48,
[SPECIES_WIGGLYTUFF - 1] = 0x31,
[SPECIES_ZUBAT - 1] = 0x00,
[SPECIES_GOLBAT - 1] = 0x1d,
[SPECIES_ODDISH - 1] = 0x00,
[SPECIES_GLOOM - 1] = 0x45,
[SPECIES_VILEPLUME - 1] = 0x49,
[SPECIES_PARAS - 1] = 0x46,
[SPECIES_PARASECT - 1] = 0x0f,
[SPECIES_VENONAT - 1] = 0x06,
[SPECIES_VENOMOTH - 1] = 0x4b,
[SPECIES_DIGLETT - 1] = 0x10,
[SPECIES_DUGTRIO - 1] = 0x4c,
[SPECIES_MEOWTH - 1] = 0x52,
[SPECIES_PERSIAN - 1] = 0x17,
[SPECIES_PSYDUCK - 1] = 0x06,
[SPECIES_GOLDUCK - 1] = 0x4c,
[SPECIES_MANKEY - 1] = 0x32,
[SPECIES_PRIMEAPE - 1] = 0x48,
[SPECIES_GROWLITHE - 1] = 0x25,
[SPECIES_ARCANINE - 1] = 0x02,
[SPECIES_POLIWAG - 1] = 0x00,
[SPECIES_POLIWHIRL - 1] = 0x32,
[SPECIES_POLIWRATH - 1] = 0x19,
[SPECIES_ABRA - 1] = 0x31,
[SPECIES_KADABRA - 1] = 0x09,
[SPECIES_ALAKAZAM - 1] = 0x17,
[SPECIES_MACHOP - 1] = 0x00,
[SPECIES_MACHOKE - 1] = 0x10,
[SPECIES_MACHAMP - 1] = 0x31,
[SPECIES_BELLSPROUT - 1] = 0x17,
[SPECIES_WEEPINBELL - 1] = 0x0d,
[SPECIES_VICTREEBEL - 1] = 0x32,
[SPECIES_TENTACOOL - 1] = 0x00,
[SPECIES_TENTACRUEL - 1] = 0x00,
[SPECIES_GEODUDE - 1] = 0x48,
[SPECIES_GRAVELER - 1] = 0x48,
[SPECIES_GOLEM - 1] = 0x2f,
[SPECIES_PONYTA - 1] = 0x20,
[SPECIES_RAPIDASH - 1] = 0x11,
[SPECIES_SLOWPOKE - 1] = 0x45,
[SPECIES_SLOWBRO - 1] = 0x0b,
[SPECIES_MAGNEMITE - 1] = 0x54,
[SPECIES_MAGNETON - 1] = 0x2c,
[SPECIES_FARFETCHD - 1] = 0x48,
[SPECIES_DODUO - 1] = 0x4c,
[SPECIES_DODRIO - 1] = 0x41,
[SPECIES_SEEL - 1] = 0x0b,
[SPECIES_DEWGONG - 1] = 0x45,
[SPECIES_GRIMER - 1] = 0x46,
[SPECIES_MUK - 1] = 0x30,
[SPECIES_SHELLDER - 1] = 0x12,
[SPECIES_CLOYSTER - 1] = 0x1d,
[SPECIES_GASTLY - 1] = 0x15,
[SPECIES_HAUNTER - 1] = 0x35,
[SPECIES_GENGAR - 1] = 0x3a,
[SPECIES_ONIX - 1] = 0x43,
[SPECIES_DROWZEE - 1] = 0x4f,
[SPECIES_HYPNO - 1] = 0x09,
[SPECIES_KRABBY - 1] = 0x03,
[SPECIES_KINGLER - 1] = 0x4b,
[SPECIES_VOLTORB - 1] = 0x00,
[SPECIES_ELECTRODE - 1] = 0x00,
[SPECIES_EXEGGCUTE - 1] = 0x46,
[SPECIES_EXEGGUTOR - 1] = 0x32,
[SPECIES_CUBONE - 1] = 0x48,
[SPECIES_MAROWAK - 1] = 0x05,
[SPECIES_HITMONLEE - 1] = 0x16,
[SPECIES_HITMONCHAN - 1] = 0x09,
[SPECIES_LICKITUNG - 1] = 0x45,
[SPECIES_KOFFING - 1] = 0x13,
[SPECIES_WEEZING - 1] = 0x04,
[SPECIES_RHYHORN - 1] = 0x10,
[SPECIES_RHYDON - 1] = 0x13,
[SPECIES_CHANSEY - 1] = 0x45,
[SPECIES_TANGELA - 1] = 0x48,
[SPECIES_KANGASKHAN - 1] = 0x17,
[SPECIES_HORSEA - 1] = 0x12,
[SPECIES_SEADRA - 1] = 0x04,
[SPECIES_GOLDEEN - 1] = 0x0d,
[SPECIES_SEAKING - 1] = 0x1c,
[SPECIES_STARYU - 1] = 0x4e,
[SPECIES_STARMIE - 1] = 0x12,
[SPECIES_MR_MIME - 1] = 0x46,
[SPECIES_SCYTHER - 1] = 0x02,
[SPECIES_JYNX - 1] = 0x17,
[SPECIES_ELECTABUZZ - 1] = 0x2c,
[SPECIES_MAGMAR - 1] = 0x0f,
[SPECIES_PINSIR - 1] = 0x09,
[SPECIES_TAUROS - 1] = 0x19,
[SPECIES_MAGIKARP - 1] = 0x05,
[SPECIES_GYARADOS - 1] = 0x48,
[SPECIES_LAPRAS - 1] = 0x17,
[SPECIES_DITTO - 1] = 0x01,
[SPECIES_EEVEE - 1] = 0x17,
[SPECIES_VAPOREON - 1] = 0x17,
[SPECIES_JOLTEON - 1] = 0x00,
[SPECIES_FLAREON - 1] = 0x17,
[SPECIES_PORYGON - 1] = 0x52,
[SPECIES_OMANYTE - 1] = 0x51,
[SPECIES_OMASTAR - 1] = 0x09,
[SPECIES_KABUTO - 1] = 0x1d,
[SPECIES_KABUTOPS - 1] = 0x0f,
[SPECIES_AERODACTYL - 1] = 0x47,
[SPECIES_SNORLAX - 1] = 0x0b,
[SPECIES_ARTICUNO - 1] = 0x09,
[SPECIES_ZAPDOS - 1] = 0x2c,
[SPECIES_MOLTRES - 1] = 0x45,
[SPECIES_DRATINI - 1] = 0x00,
[SPECIES_DRAGONAIR - 1] = 0x10,
[SPECIES_DRAGONITE - 1] = 0x47,
[SPECIES_MEWTWO - 1] = 0x09,
[SPECIES_MEW - 1] = 0x0d,
[SPECIES_CHIKORITA - 1] = 0x00,
[SPECIES_BAYLEEF - 1] = 0x00,
[SPECIES_MEGANIUM - 1] = 0x17,
[SPECIES_CYNDAQUIL - 1] = 0x52,
[SPECIES_QUILAVA - 1] = 0x17,
[SPECIES_TYPHLOSION - 1] = 0x10,
[SPECIES_TOTODILE - 1] = 0x31,
[SPECIES_CROCONAW - 1] = 0x0f,
[SPECIES_FERALIGATR - 1] = 0x0f,
[SPECIES_SENTRET - 1] = 0x00,
[SPECIES_FURRET - 1] = 0x32,
[SPECIES_HOOTHOOT - 1] = 0x47,
[SPECIES_NOCTOWL - 1] = 0x17,
[SPECIES_LEDYBA - 1] = 0x52,
[SPECIES_LEDIAN - 1] = 0x47,
[SPECIES_SPINARAK - 1] = 0x4f,
[SPECIES_ARIADOS - 1] = 0x0f,
[SPECIES_CROBAT - 1] = 0x00,
[SPECIES_CHINCHOU - 1] = 0x45,
[SPECIES_LANTURN - 1] = 0x51,
[SPECIES_PICHU - 1] = 0x1e,
[SPECIES_CLEFFA - 1] = 0x52,
[SPECIES_IGGLYBUFF - 1] = 0x0c,
[SPECIES_TOGEPI - 1] = 0x0b,
[SPECIES_TOGETIC - 1] = 0x00,
[SPECIES_NATU - 1] = 0x31,
[SPECIES_XATU - 1] = 0x09,
[SPECIES_MAREEP - 1] = 0x00,
[SPECIES_FLAAFFY - 1] = 0x1e,
[SPECIES_AMPHAROS - 1] = 0x2c,
[SPECIES_BELLOSSOM - 1] = 0x0b,
[SPECIES_MARILL - 1] = 0x00,
[SPECIES_AZUMARILL - 1] = 0x4a,
[SPECIES_SUDOWOODO - 1] = 0x46,
[SPECIES_POLITOED - 1] = 0x32,
[SPECIES_HOPPIP - 1] = 0x1c,
[SPECIES_SKIPLOOM - 1] = 0x18,
[SPECIES_JUMPLUFF - 1] = 0x51,
[SPECIES_AIPOM - 1] = 0x32,
[SPECIES_SUNKERN - 1] = 0x52,
[SPECIES_SUNFLORA - 1] = 0x00,
[SPECIES_YANMA - 1] = 0x2b,
[SPECIES_WOOPER - 1] = 0x00,
[SPECIES_QUAGSIRE - 1] = 0x16,
[SPECIES_ESPEON - 1] = 0x09,
[SPECIES_UMBREON - 1] = 0x10,
[SPECIES_MURKROW - 1] = 0x00,
[SPECIES_SLOWKING - 1] = 0x13,
[SPECIES_MISDREAVUS - 1] = 0x1c,
[SPECIES_UNOWN - 1] = 0x0a,
[SPECIES_WOBBUFFET - 1] = 0x30,
[SPECIES_GIRAFARIG - 1] = 0x1e,
[SPECIES_PINECO - 1] = 0x0b,
[SPECIES_FORRETRESS - 1] = 0x10,
[SPECIES_DUNSPARCE - 1] = 0x00,
[SPECIES_GLIGAR - 1] = 0x13,
[SPECIES_STEELIX - 1] = 0x0f,
[SPECIES_SNUBBULL - 1] = 0x17,
[SPECIES_GRANBULL - 1] = 0x10,
[SPECIES_QWILFISH - 1] = 0x3a,
[SPECIES_SCIZOR - 1] = 0x02,
[SPECIES_SHUCKLE - 1] = 0x0b,
[SPECIES_HERACROSS - 1] = 0x41,
[SPECIES_SNEASEL - 1] = 0x16,
[SPECIES_TEDDIURSA - 1] = 0x17,
[SPECIES_URSARING - 1] = 0x10,
[SPECIES_SLUGMA - 1] = 0x17,
[SPECIES_MAGCARGO - 1] = 0x17,
[SPECIES_SWINUB - 1] = 0x00,
[SPECIES_PILOSWINE - 1] = 0x0f,
[SPECIES_CORSOLA - 1] = 0x03,
[SPECIES_REMORAID - 1] = 0x52,
[SPECIES_OCTILLERY - 1] = 0x17,
[SPECIES_DELIBIRD - 1] = 0x52,
[SPECIES_MANTINE - 1] = 0x0d,
[SPECIES_SKARMORY - 1] = 0x17,
[SPECIES_HOUNDOUR - 1] = 0x17,
[SPECIES_HOUNDOOM - 1] = 0x10,
[SPECIES_KINGDRA - 1] = 0x42,
[SPECIES_PHANPY - 1] = 0x32,
[SPECIES_DONPHAN - 1] = 0x19,
[SPECIES_PORYGON2 - 1] = 0x00,
[SPECIES_STANTLER - 1] = 0x00,
[SPECIES_SMEARGLE - 1] = 0x31,
[SPECIES_TYROGUE - 1] = 0x16,
[SPECIES_HITMONTOP - 1] = 0x02,
[SPECIES_SMOOCHUM - 1] = 0x09,
[SPECIES_ELEKID - 1] = 0x2c,
[SPECIES_MAGBY - 1] = 0x00,
[SPECIES_MILTANK - 1] = 0x45,
[SPECIES_BLISSEY - 1] = 0x00,
[SPECIES_RAIKOU - 1] = 0x2c,
[SPECIES_ENTEI - 1] = 0x09,
[SPECIES_SUICUNE - 1] = 0x10,
[SPECIES_LARVITAR - 1] = 0x52,
[SPECIES_PUPITAR - 1] = 0x10,
[SPECIES_TYRANITAR - 1] = 0x0f,
[SPECIES_LUGIA - 1] = 0x3a,
[SPECIES_HO_OH - 1] = 0x09,
[SPECIES_CELEBI - 1] = 0x18,
[SPECIES_OLD_UNOWN_B - 1] = 0x00,
[SPECIES_OLD_UNOWN_C - 1] = 0x00,
[SPECIES_OLD_UNOWN_D - 1] = 0x00,
[SPECIES_OLD_UNOWN_E - 1] = 0x00,
[SPECIES_OLD_UNOWN_F - 1] = 0x00,
[SPECIES_OLD_UNOWN_G - 1] = 0x00,
[SPECIES_OLD_UNOWN_H - 1] = 0x00,
[SPECIES_OLD_UNOWN_I - 1] = 0x00,
[SPECIES_OLD_UNOWN_J - 1] = 0x00,
[SPECIES_OLD_UNOWN_K - 1] = 0x00,
[SPECIES_OLD_UNOWN_L - 1] = 0x00,
[SPECIES_OLD_UNOWN_M - 1] = 0x00,
[SPECIES_OLD_UNOWN_N - 1] = 0x00,
[SPECIES_OLD_UNOWN_O - 1] = 0x00,
[SPECIES_OLD_UNOWN_P - 1] = 0x00,
[SPECIES_OLD_UNOWN_Q - 1] = 0x00,
[SPECIES_OLD_UNOWN_R - 1] = 0x00,
[SPECIES_OLD_UNOWN_S - 1] = 0x00,
[SPECIES_OLD_UNOWN_T - 1] = 0x00,
[SPECIES_OLD_UNOWN_U - 1] = 0x00,
[SPECIES_OLD_UNOWN_V - 1] = 0x00,
[SPECIES_OLD_UNOWN_W - 1] = 0x00,
[SPECIES_OLD_UNOWN_X - 1] = 0x00,
[SPECIES_OLD_UNOWN_Y - 1] = 0x00,
[SPECIES_OLD_UNOWN_Z - 1] = 0x00,
[SPECIES_TREECKO - 1] = 0x00,
[SPECIES_GROVYLE - 1] = 0x17,
[SPECIES_SCEPTILE - 1] = 0x10,
[SPECIES_TORCHIC - 1] = 0x16,
[SPECIES_COMBUSKEN - 1] = 0x06,
[SPECIES_BLAZIKEN - 1] = 0x0f,
[SPECIES_MUDKIP - 1] = 0x01,
[SPECIES_MARSHTOMP - 1] = 0x04,
[SPECIES_SWAMPERT - 1] = 0x1e,
[SPECIES_POOCHYENA - 1] = 0x10,
[SPECIES_MIGHTYENA - 1] = 0x10,
[SPECIES_ZIGZAGOON - 1] = 0x03,
[SPECIES_LINOONE - 1] = 0x09,
[SPECIES_WURMPLE - 1] = 0x00,
[SPECIES_SILCOON - 1] = 0x00,
[SPECIES_BEAUTIFLY - 1] = 0x04,
[SPECIES_CASCOON - 1] = 0x04,
[SPECIES_DUSTOX - 1] = 0x06,
[SPECIES_LOTAD - 1] = 0x00,
[SPECIES_LOMBRE - 1] = 0x00,
[SPECIES_LUDICOLO - 1] = 0x49,
[SPECIES_SEEDOT - 1] = 0x05,
[SPECIES_NUZLEAF - 1] = 0x00,
[SPECIES_SHIFTRY - 1] = 0x02,
[SPECIES_NINCADA - 1] = 0x00,
[SPECIES_NINJASK - 1] = 0x46,
[SPECIES_SHEDINJA - 1] = 0x1c,
[SPECIES_TAILLOW - 1] = 0x1e,
[SPECIES_SWELLOW - 1] = 0x01,
[SPECIES_SHROOMISH - 1] = 0x00,
[SPECIES_BRELOOM - 1] = 0x00,
[SPECIES_SPINDA - 1] = 0x31,
[SPECIES_WINGULL - 1] = 0x1b,
[SPECIES_PELIPPER - 1] = 0x1c,
[SPECIES_SURSKIT - 1] = 0x00,
[SPECIES_MASQUERAIN - 1] = 0x00,
[SPECIES_WAILMER - 1] = 0x01,
[SPECIES_WAILORD - 1] = 0x1c,
[SPECIES_SKITTY - 1] = 0x00,
[SPECIES_DELCATTY - 1] = 0x17,
[SPECIES_KECLEON - 1] = 0x35,
[SPECIES_BALTOY - 1] = 0x1d,
[SPECIES_CLAYDOL - 1] = 0x51,
[SPECIES_NOSEPASS - 1] = 0x49,
[SPECIES_TORKOAL - 1] = 0x17,
[SPECIES_SABLEYE - 1] = 0x15,
[SPECIES_BARBOACH - 1] = 0x49,
[SPECIES_WHISCASH - 1] = 0x49,
[SPECIES_LUVDISC - 1] = 0x1d,
[SPECIES_CORPHISH - 1] = 0x10,
[SPECIES_CRAWDAUNT - 1] = 0x09,
[SPECIES_FEEBAS - 1] = 0x49,
[SPECIES_MILOTIC - 1] = 0x22,
[SPECIES_CARVANHA - 1] = 0x49,
[SPECIES_SHARPEDO - 1] = 0x56,
[SPECIES_TRAPINCH - 1] = 0x10,
[SPECIES_VIBRAVA - 1] = 0x0f,
[SPECIES_FLYGON - 1] = 0x4b,
[SPECIES_MAKUHITA - 1] = 0x0b,
[SPECIES_HARIYAMA - 1] = 0x34,
[SPECIES_ELECTRIKE - 1] = 0x00,
[SPECIES_MANECTRIC - 1] = 0x00,
[SPECIES_NUMEL - 1] = 0x04,
[SPECIES_CAMERUPT - 1] = 0x10,
[SPECIES_SPHEAL - 1] = 0x53,
[SPECIES_SEALEO - 1] = 0x17,
[SPECIES_WALREIN - 1] = 0x0f,
[SPECIES_CACNEA - 1] = 0x49,
[SPECIES_CACTURNE - 1] = 0x04,
[SPECIES_SNORUNT - 1] = 0x45,
[SPECIES_GLALIE - 1] = 0x0a,
[SPECIES_LUNATONE - 1] = 0x0e,
[SPECIES_SOLROCK - 1] = 0x08,
[SPECIES_AZURILL - 1] = 0x00,
[SPECIES_SPOINK - 1] = 0x56,
[SPECIES_GRUMPIG - 1] = 0x32,
[SPECIES_PLUSLE - 1] = 0x00,
[SPECIES_MINUN - 1] = 0x01,
[SPECIES_MAWILE - 1] = 0x00,
[SPECIES_MEDITITE - 1] = 0x05,
[SPECIES_MEDICHAM - 1] = 0x45,
[SPECIES_SWABLU - 1] = 0x04,
[SPECIES_ALTARIA - 1] = 0x16,
[SPECIES_WYNAUT - 1] = 0x32,
[SPECIES_DUSKULL - 1] = 0x0a,
[SPECIES_DUSCLOPS - 1] = 0x02,
[SPECIES_ROSELIA - 1] = 0x45,
[SPECIES_SLAKOTH - 1] = 0x45,
[SPECIES_VIGOROTH - 1] = 0x31,
[SPECIES_SLAKING - 1] = 0x45,
[SPECIES_GULPIN - 1] = 0x00,
[SPECIES_SWALOT - 1] = 0x45,
[SPECIES_TROPIUS - 1] = 0x10,
[SPECIES_WHISMUR - 1] = 0x03,
[SPECIES_LOUDRED - 1] = 0x49,
[SPECIES_EXPLOUD - 1] = 0x19,
[SPECIES_CLAMPERL - 1] = 0x12,
[SPECIES_HUNTAIL - 1] = 0x09,
[SPECIES_GOREBYSS - 1] = 0x1c,
[SPECIES_ABSOL - 1] = 0x11,
[SPECIES_SHUPPET - 1] = 0x1c,
[SPECIES_BANETTE - 1] = 0x0d,
[SPECIES_SEVIPER - 1] = 0x17,
[SPECIES_ZANGOOSE - 1] = 0x09,
[SPECIES_RELICANTH - 1] = 0x1a,
[SPECIES_ARON - 1] = 0x45,
[SPECIES_LAIRON - 1] = 0x00,
[SPECIES_AGGRON - 1] = 0x19,
[SPECIES_CASTFORM - 1] = 0x1d,
[SPECIES_VOLBEAT - 1] = 0x00,
[SPECIES_ILLUMISE - 1] = 0x05,
[SPECIES_LILEEP - 1] = 0x17,
[SPECIES_CRADILY - 1] = 0x19,
[SPECIES_ANORITH - 1] = 0x12,
[SPECIES_ARMALDO - 1] = 0x10,
[SPECIES_RALTS - 1] = 0x45,
[SPECIES_KIRLIA - 1] = 0x00,
[SPECIES_GARDEVOIR - 1] = 0x00,
[SPECIES_BAGON - 1] = 0x19,
[SPECIES_SHELGON - 1] = 0x04,
[SPECIES_SALAMENCE - 1] = 0x0f,
[SPECIES_BELDUM - 1] = 0x0f,
[SPECIES_METANG - 1] = 0x04,
[SPECIES_METAGROSS - 1] = 0x10,
[SPECIES_REGIROCK - 1] = 0x01,
[SPECIES_REGICE - 1] = 0x44,
[SPECIES_REGISTEEL - 1] = 0x09,
[SPECIES_KYOGRE - 1] = 0x2d,
[SPECIES_GROUDON - 1] = 0x10,
[SPECIES_RAYQUAZA - 1] = 0x0f,
[SPECIES_LATIAS - 1] = 0x2d,
[SPECIES_LATIOS - 1] = 0x10,
[SPECIES_JIRACHI - 1] = 0x0d,
[SPECIES_DEOXYS - 1] = 0x1b,
[SPECIES_CHIMECHO - 1] = 0x1d,
[SPECIES_BULBASAUR - 1] = ANIM_V_JUMPS_H_JUMPS,
[SPECIES_IVYSAUR - 1] = ANIM_V_STRETCH,
[SPECIES_VENUSAUR - 1] = ANIM_ROTATE_UP_SLAM_DOWN,
[SPECIES_CHARMANDER - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_CHARMELEON - 1] = ANIM_BACK_AND_LUNGE,
[SPECIES_CHARIZARD - 1] = ANIM_V_SHAKE,
[SPECIES_SQUIRTLE - 1] = ANIM_SWING_CONCAVE,
[SPECIES_WARTORTLE - 1] = ANIM_SHRINK_GROW,
[SPECIES_BLASTOISE - 1] = ANIM_V_SHAKE_TWICE,
[SPECIES_CATERPIE - 1] = ANIM_SWING_CONCAVE,
[SPECIES_METAPOD - 1] = ANIM_SWING_CONCAVE,
[SPECIES_BUTTERFREE - 1] = ANIM_H_SLIDE_WOBBLE,
[SPECIES_WEEDLE - 1] = ANIM_H_SLIDE_SLOW,
[SPECIES_KAKUNA - 1] = ANIM_GLOW_ORANGE,
[SPECIES_BEEDRILL - 1] = ANIM_H_VIBRATE,
[SPECIES_PIDGEY - 1] = ANIM_V_SLIDE_SLOW,
[SPECIES_PIDGEOTTO - 1] = ANIM_V_STRETCH,
[SPECIES_PIDGEOT - 1] = ANIM_FRONT_FLIP,
[SPECIES_RATTATA - 1] = ANIM_RAPID_H_HOPS,
[SPECIES_RATICATE - 1] = ANIM_FIGURE_8,
[SPECIES_SPEAROW - 1] = ANIM_RISING_WOBBLE,
[SPECIES_FEAROW - 1] = ANIM_FIGURE_8,
[SPECIES_EKANS - 1] = ANIM_H_STRETCH,
[SPECIES_ARBOK - 1] = ANIM_V_STRETCH,
[SPECIES_PIKACHU - 1] = ANIM_FLASH_YELLOW,
[SPECIES_RAICHU - 1] = ANIM_V_STRETCH,
[SPECIES_SANDSHREW - 1] = ANIM_SWING_CONCAVE_FAST_SHORT,
[SPECIES_SANDSLASH - 1] = ANIM_V_STRETCH,
[SPECIES_NIDORAN_F - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_NIDORINA - 1] = ANIM_V_STRETCH,
[SPECIES_NIDOQUEEN - 1] = ANIM_H_SHAKE,
[SPECIES_NIDORAN_M - 1] = ANIM_GROW_VIBRATE,
[SPECIES_NIDORINO - 1] = ANIM_SHRINK_GROW,
[SPECIES_NIDOKING - 1] = ANIM_H_SHAKE,
[SPECIES_CLEFAIRY - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_CLEFABLE - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL_SLOW,
[SPECIES_VULPIX - 1] = ANIM_V_STRETCH,
[SPECIES_NINETALES - 1] = ANIM_V_SHAKE,
[SPECIES_JIGGLYPUFF - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL,
[SPECIES_WIGGLYTUFF - 1] = ANIM_H_JUMPS,
[SPECIES_ZUBAT - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_GOLBAT - 1] = ANIM_H_SLIDE_WOBBLE,
[SPECIES_ODDISH - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_GLOOM - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_VILEPLUME - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_PARAS - 1] = ANIM_H_SLIDE_SLOW,
[SPECIES_PARASECT - 1] = ANIM_H_SHAKE,
[SPECIES_VENONAT - 1] = ANIM_V_JUMPS_H_JUMPS,
[SPECIES_VENOMOTH - 1] = ANIM_ZIGZAG_SLOW,
[SPECIES_DIGLETT - 1] = ANIM_V_SHAKE,
[SPECIES_DUGTRIO - 1] = ANIM_H_SHAKE_SLOW,
[SPECIES_MEOWTH - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_PERSIAN - 1] = ANIM_V_STRETCH,
[SPECIES_PSYDUCK - 1] = ANIM_V_JUMPS_H_JUMPS,
[SPECIES_GOLDUCK - 1] = ANIM_H_SHAKE_SLOW,
[SPECIES_MANKEY - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_PRIMEAPE - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL,
[SPECIES_GROWLITHE - 1] = ANIM_BACK_AND_LUNGE,
[SPECIES_ARCANINE - 1] = ANIM_H_VIBRATE,
[SPECIES_POLIWAG - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_POLIWHIRL - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_POLIWRATH - 1] = ANIM_V_SHAKE_TWICE,
[SPECIES_ABRA - 1] = ANIM_H_JUMPS,
[SPECIES_KADABRA - 1] = ANIM_GROW_VIBRATE,
[SPECIES_ALAKAZAM - 1] = ANIM_V_STRETCH,
[SPECIES_MACHOP - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_MACHOKE - 1] = ANIM_V_SHAKE,
[SPECIES_MACHAMP - 1] = ANIM_H_JUMPS,
[SPECIES_BELLSPROUT - 1] = ANIM_V_STRETCH,
[SPECIES_WEEPINBELL - 1] = ANIM_SWING_CONVEX,
[SPECIES_VICTREEBEL - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_TENTACOOL - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_TENTACRUEL - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_GEODUDE - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL,
[SPECIES_GRAVELER - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL,
[SPECIES_GOLEM - 1] = ANIM_ROTATE_UP_SLAM_DOWN,
[SPECIES_PONYTA - 1] = ANIM_GLOW_ORANGE,
[SPECIES_RAPIDASH - 1] = ANIM_CIRCULAR_VIBRATE,
[SPECIES_SLOWPOKE - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_SLOWBRO - 1] = ANIM_SWING_CONCAVE,
[SPECIES_MAGNEMITE - 1] = ANIM_TUMBLING_FRONT_FLIP_TWICE,
[SPECIES_MAGNETON - 1] = ANIM_FLASH_YELLOW,
[SPECIES_FARFETCHD - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL,
[SPECIES_DODUO - 1] = ANIM_H_SHAKE_SLOW,
[SPECIES_DODRIO - 1] = ANIM_LUNGE_GROW,
[SPECIES_SEEL - 1] = ANIM_SWING_CONCAVE,
[SPECIES_DEWGONG - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_GRIMER - 1] = ANIM_H_SLIDE_SLOW,
[SPECIES_MUK - 1] = ANIM_DEEP_V_SQUISH_AND_BOUNCE,
[SPECIES_SHELLDER - 1] = ANIM_TWIST,
[SPECIES_CLOYSTER - 1] = ANIM_H_SLIDE_WOBBLE,
[SPECIES_GASTLY - 1] = ANIM_GLOW_BLACK,
[SPECIES_HAUNTER - 1] = ANIM_FLICKER_INCREASING,
[SPECIES_GENGAR - 1] = ANIM_GROW_IN_STAGES,
[SPECIES_ONIX - 1] = ANIM_RAPID_H_HOPS,
[SPECIES_DROWZEE - 1] = ANIM_CIRCLE_C_CLOCKWISE_SLOW,
[SPECIES_HYPNO - 1] = ANIM_GROW_VIBRATE,
[SPECIES_KRABBY - 1] = ANIM_H_SLIDE,
[SPECIES_KINGLER - 1] = ANIM_ZIGZAG_SLOW,
[SPECIES_VOLTORB - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_ELECTRODE - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_EXEGGCUTE - 1] = ANIM_H_SLIDE_SLOW,
[SPECIES_EXEGGUTOR - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_CUBONE - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL,
[SPECIES_MAROWAK - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES,
[SPECIES_HITMONLEE - 1] = ANIM_H_STRETCH,
[SPECIES_HITMONCHAN - 1] = ANIM_GROW_VIBRATE,
[SPECIES_LICKITUNG - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_KOFFING - 1] = ANIM_SHRINK_GROW,
[SPECIES_WEEZING - 1] = ANIM_V_SLIDE,
[SPECIES_RHYHORN - 1] = ANIM_V_SHAKE,
[SPECIES_RHYDON - 1] = ANIM_SHRINK_GROW,
[SPECIES_CHANSEY - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_TANGELA - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL,
[SPECIES_KANGASKHAN - 1] = ANIM_V_STRETCH,
[SPECIES_HORSEA - 1] = ANIM_TWIST,
[SPECIES_SEADRA - 1] = ANIM_V_SLIDE,
[SPECIES_GOLDEEN - 1] = ANIM_SWING_CONVEX,
[SPECIES_SEAKING - 1] = ANIM_V_SLIDE_WOBBLE,
[SPECIES_STARYU - 1] = ANIM_TWIST_TWICE,
[SPECIES_STARMIE - 1] = ANIM_TWIST,
[SPECIES_MR_MIME - 1] = ANIM_H_SLIDE_SLOW,
[SPECIES_SCYTHER - 1] = ANIM_H_VIBRATE,
[SPECIES_JYNX - 1] = ANIM_V_STRETCH,
[SPECIES_ELECTABUZZ - 1] = ANIM_FLASH_YELLOW,
[SPECIES_MAGMAR - 1] = ANIM_H_SHAKE,
[SPECIES_PINSIR - 1] = ANIM_GROW_VIBRATE,
[SPECIES_TAUROS - 1] = ANIM_V_SHAKE_TWICE,
[SPECIES_MAGIKARP - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES,
[SPECIES_GYARADOS - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL,
[SPECIES_LAPRAS - 1] = ANIM_V_STRETCH,
[SPECIES_DITTO - 1] = ANIM_CIRCULAR_STRETCH_TWICE,
[SPECIES_EEVEE - 1] = ANIM_V_STRETCH,
[SPECIES_VAPOREON - 1] = ANIM_V_STRETCH,
[SPECIES_JOLTEON - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_FLAREON - 1] = ANIM_V_STRETCH,
[SPECIES_PORYGON - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_OMANYTE - 1] = ANIM_V_SLIDE_WOBBLE_SMALL,
[SPECIES_OMASTAR - 1] = ANIM_GROW_VIBRATE,
[SPECIES_KABUTO - 1] = ANIM_H_SLIDE_WOBBLE,
[SPECIES_KABUTOPS - 1] = ANIM_H_SHAKE,
[SPECIES_AERODACTYL - 1] = ANIM_V_SLIDE_SLOW,
[SPECIES_SNORLAX - 1] = ANIM_SWING_CONCAVE,
[SPECIES_ARTICUNO - 1] = ANIM_GROW_VIBRATE,
[SPECIES_ZAPDOS - 1] = ANIM_FLASH_YELLOW,
[SPECIES_MOLTRES - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_DRATINI - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_DRAGONAIR - 1] = ANIM_V_SHAKE,
[SPECIES_DRAGONITE - 1] = ANIM_V_SLIDE_SLOW,
[SPECIES_MEWTWO - 1] = ANIM_GROW_VIBRATE,
[SPECIES_MEW - 1] = ANIM_SWING_CONVEX,
[SPECIES_CHIKORITA - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_BAYLEEF - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_MEGANIUM - 1] = ANIM_V_STRETCH,
[SPECIES_CYNDAQUIL - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_QUILAVA - 1] = ANIM_V_STRETCH,
[SPECIES_TYPHLOSION - 1] = ANIM_V_SHAKE,
[SPECIES_TOTODILE - 1] = ANIM_H_JUMPS,
[SPECIES_CROCONAW - 1] = ANIM_H_SHAKE,
[SPECIES_FERALIGATR - 1] = ANIM_H_SHAKE,
[SPECIES_SENTRET - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_FURRET - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_HOOTHOOT - 1] = ANIM_V_SLIDE_SLOW,
[SPECIES_NOCTOWL - 1] = ANIM_V_STRETCH,
[SPECIES_LEDYBA - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_LEDIAN - 1] = ANIM_V_SLIDE_SLOW,
[SPECIES_SPINARAK - 1] = ANIM_CIRCLE_C_CLOCKWISE_SLOW,
[SPECIES_ARIADOS - 1] = ANIM_H_SHAKE,
[SPECIES_CROBAT - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_CHINCHOU - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_LANTURN - 1] = ANIM_V_SLIDE_WOBBLE_SMALL,
[SPECIES_PICHU - 1] = ANIM_V_JUMPS_BIG,
[SPECIES_CLEFFA - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_IGGLYBUFF - 1] = ANIM_SWING_CONCAVE_FAST,
[SPECIES_TOGEPI - 1] = ANIM_SWING_CONCAVE,
[SPECIES_TOGETIC - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_NATU - 1] = ANIM_H_JUMPS,
[SPECIES_XATU - 1] = ANIM_GROW_VIBRATE,
[SPECIES_MAREEP - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_FLAAFFY - 1] = ANIM_V_JUMPS_BIG,
[SPECIES_AMPHAROS - 1] = ANIM_FLASH_YELLOW,
[SPECIES_BELLOSSOM - 1] = ANIM_SWING_CONCAVE,
[SPECIES_MARILL - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_AZUMARILL - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SMALL_SLOW,
[SPECIES_SUDOWOODO - 1] = ANIM_H_SLIDE_SLOW,
[SPECIES_POLITOED - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_HOPPIP - 1] = ANIM_V_SLIDE_WOBBLE,
[SPECIES_SKIPLOOM - 1] = ANIM_RISING_WOBBLE,
[SPECIES_JUMPLUFF - 1] = ANIM_V_SLIDE_WOBBLE_SMALL,
[SPECIES_AIPOM - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_SUNKERN - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_SUNFLORA - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_YANMA - 1] = ANIM_FIGURE_8,
[SPECIES_WOOPER - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_QUAGSIRE - 1] = ANIM_H_STRETCH,
[SPECIES_ESPEON - 1] = ANIM_GROW_VIBRATE,
[SPECIES_UMBREON - 1] = ANIM_V_SHAKE,
[SPECIES_MURKROW - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_SLOWKING - 1] = ANIM_SHRINK_GROW,
[SPECIES_MISDREAVUS - 1] = ANIM_V_SLIDE_WOBBLE,
[SPECIES_UNOWN - 1] = ANIM_ZIGZAG_FAST,
[SPECIES_WOBBUFFET - 1] = ANIM_DEEP_V_SQUISH_AND_BOUNCE,
[SPECIES_GIRAFARIG - 1] = ANIM_V_JUMPS_BIG,
[SPECIES_PINECO - 1] = ANIM_SWING_CONCAVE,
[SPECIES_FORRETRESS - 1] = ANIM_V_SHAKE,
[SPECIES_DUNSPARCE - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_GLIGAR - 1] = ANIM_SHRINK_GROW,
[SPECIES_STEELIX - 1] = ANIM_H_SHAKE,
[SPECIES_SNUBBULL - 1] = ANIM_V_STRETCH,
[SPECIES_GRANBULL - 1] = ANIM_V_SHAKE,
[SPECIES_QWILFISH - 1] = ANIM_GROW_IN_STAGES,
[SPECIES_SCIZOR - 1] = ANIM_H_VIBRATE,
[SPECIES_SHUCKLE - 1] = ANIM_SWING_CONCAVE,
[SPECIES_HERACROSS - 1] = ANIM_LUNGE_GROW,
[SPECIES_SNEASEL - 1] = ANIM_H_STRETCH,
[SPECIES_TEDDIURSA - 1] = ANIM_V_STRETCH,
[SPECIES_URSARING - 1] = ANIM_V_SHAKE,
[SPECIES_SLUGMA - 1] = ANIM_V_STRETCH,
[SPECIES_MAGCARGO - 1] = ANIM_V_STRETCH,
[SPECIES_SWINUB - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_PILOSWINE - 1] = ANIM_H_SHAKE,
[SPECIES_CORSOLA - 1] = ANIM_H_SLIDE,
[SPECIES_REMORAID - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_OCTILLERY - 1] = ANIM_V_STRETCH,
[SPECIES_DELIBIRD - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_MANTINE - 1] = ANIM_SWING_CONVEX,
[SPECIES_SKARMORY - 1] = ANIM_V_STRETCH,
[SPECIES_HOUNDOUR - 1] = ANIM_V_STRETCH,
[SPECIES_HOUNDOOM - 1] = ANIM_V_SHAKE,
[SPECIES_KINGDRA - 1] = ANIM_CIRCLE_INTO_BG,
[SPECIES_PHANPY - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_DONPHAN - 1] = ANIM_V_SHAKE_TWICE,
[SPECIES_PORYGON2 - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_STANTLER - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_SMEARGLE - 1] = ANIM_H_JUMPS,
[SPECIES_TYROGUE - 1] = ANIM_H_STRETCH,
[SPECIES_HITMONTOP - 1] = ANIM_H_VIBRATE,
[SPECIES_SMOOCHUM - 1] = ANIM_GROW_VIBRATE,
[SPECIES_ELEKID - 1] = ANIM_FLASH_YELLOW,
[SPECIES_MAGBY - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_MILTANK - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_BLISSEY - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_RAIKOU - 1] = ANIM_FLASH_YELLOW,
[SPECIES_ENTEI - 1] = ANIM_GROW_VIBRATE,
[SPECIES_SUICUNE - 1] = ANIM_V_SHAKE,
[SPECIES_LARVITAR - 1] = ANIM_V_JUMPS_SMALL,
[SPECIES_PUPITAR - 1] = ANIM_V_SHAKE,
[SPECIES_TYRANITAR - 1] = ANIM_H_SHAKE,
[SPECIES_LUGIA - 1] = ANIM_GROW_IN_STAGES,
[SPECIES_HO_OH - 1] = ANIM_GROW_VIBRATE,
[SPECIES_CELEBI - 1] = ANIM_RISING_WOBBLE,
[SPECIES_GROVYLE - 1] = ANIM_V_STRETCH,
[SPECIES_SCEPTILE - 1] = ANIM_V_SHAKE,
[SPECIES_TORCHIC - 1] = ANIM_H_STRETCH,
[SPECIES_COMBUSKEN - 1] = ANIM_V_JUMPS_H_JUMPS,
[SPECIES_BLAZIKEN - 1] = ANIM_H_SHAKE,
[SPECIES_MUDKIP - 1] = ANIM_CIRCULAR_STRETCH_TWICE,
[SPECIES_MARSHTOMP - 1] = ANIM_V_SLIDE,
[SPECIES_SWAMPERT - 1] = ANIM_V_JUMPS_BIG,
[SPECIES_POOCHYENA - 1] = ANIM_V_SHAKE,
[SPECIES_MIGHTYENA - 1] = ANIM_V_SHAKE,
[SPECIES_ZIGZAGOON - 1] = ANIM_H_SLIDE,
[SPECIES_LINOONE - 1] = ANIM_GROW_VIBRATE,
[SPECIES_WURMPLE - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_SILCOON - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_BEAUTIFLY - 1] = ANIM_V_SLIDE,
[SPECIES_CASCOON - 1] = ANIM_V_SLIDE,
[SPECIES_DUSTOX - 1] = ANIM_V_JUMPS_H_JUMPS,
[SPECIES_LOTAD - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_LOMBRE - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_LUDICOLO - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_SEEDOT - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES,
[SPECIES_NUZLEAF - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_SHIFTRY - 1] = ANIM_H_VIBRATE,
[SPECIES_NINCADA - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_NINJASK - 1] = ANIM_H_SLIDE_SLOW,
[SPECIES_SHEDINJA - 1] = ANIM_V_SLIDE_WOBBLE,
[SPECIES_TAILLOW - 1] = ANIM_V_JUMPS_BIG,
[SPECIES_SWELLOW - 1] = ANIM_CIRCULAR_STRETCH_TWICE,
[SPECIES_SHROOMISH - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_BRELOOM - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_SPINDA - 1] = ANIM_H_JUMPS,
[SPECIES_WINGULL - 1] = ANIM_H_PIVOT,
[SPECIES_PELIPPER - 1] = ANIM_V_SLIDE_WOBBLE,
[SPECIES_SURSKIT - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_MASQUERAIN - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_WAILMER - 1] = ANIM_CIRCULAR_STRETCH_TWICE,
[SPECIES_WAILORD - 1] = ANIM_V_SLIDE_WOBBLE,
[SPECIES_SKITTY - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_DELCATTY - 1] = ANIM_V_STRETCH,
[SPECIES_KECLEON - 1] = ANIM_FLICKER_INCREASING,
[SPECIES_BALTOY - 1] = ANIM_H_SLIDE_WOBBLE,
[SPECIES_CLAYDOL - 1] = ANIM_V_SLIDE_WOBBLE_SMALL,
[SPECIES_NOSEPASS - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_TORKOAL - 1] = ANIM_V_STRETCH,
[SPECIES_SABLEYE - 1] = ANIM_GLOW_BLACK,
[SPECIES_BARBOACH - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_WHISCASH - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_LUVDISC - 1] = ANIM_H_SLIDE_WOBBLE,
[SPECIES_CORPHISH - 1] = ANIM_V_SHAKE,
[SPECIES_CRAWDAUNT - 1] = ANIM_GROW_VIBRATE,
[SPECIES_FEEBAS - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_MILOTIC - 1] = ANIM_GLOW_BLUE,
[SPECIES_CARVANHA - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_SHARPEDO - 1] = ANIM_H_JUMPS_V_STRETCH_TWICE,
[SPECIES_TRAPINCH - 1] = ANIM_V_SHAKE,
[SPECIES_VIBRAVA - 1] = ANIM_H_SHAKE,
[SPECIES_FLYGON - 1] = ANIM_ZIGZAG_SLOW,
[SPECIES_MAKUHITA - 1] = ANIM_SWING_CONCAVE,
[SPECIES_HARIYAMA - 1] = ANIM_ROTATE_UP_TO_SIDES,
[SPECIES_ELECTRIKE - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_MANECTRIC - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_NUMEL - 1] = ANIM_V_SLIDE,
[SPECIES_CAMERUPT - 1] = ANIM_V_SHAKE,
[SPECIES_SPHEAL - 1] = ANIM_SPIN,
[SPECIES_SEALEO - 1] = ANIM_V_STRETCH,
[SPECIES_WALREIN - 1] = ANIM_H_SHAKE,
[SPECIES_CACNEA - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_CACTURNE - 1] = ANIM_V_SLIDE,
[SPECIES_SNORUNT - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_GLALIE - 1] = ANIM_ZIGZAG_FAST,
[SPECIES_LUNATONE - 1] = ANIM_SWING_CONVEX_FAST,
[SPECIES_SOLROCK - 1] = ANIM_ROTATE_TO_SIDES_TWICE,
[SPECIES_AZURILL - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_SPOINK - 1] = ANIM_H_JUMPS_V_STRETCH_TWICE,
[SPECIES_GRUMPIG - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_PLUSLE - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_MINUN - 1] = ANIM_CIRCULAR_STRETCH_TWICE,
[SPECIES_MAWILE - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_MEDITITE - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES,
[SPECIES_MEDICHAM - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_SWABLU - 1] = ANIM_V_SLIDE,
[SPECIES_ALTARIA - 1] = ANIM_H_STRETCH,
[SPECIES_WYNAUT - 1] = ANIM_H_JUMPS_V_STRETCH,
[SPECIES_DUSKULL - 1] = ANIM_ZIGZAG_FAST,
[SPECIES_DUSCLOPS - 1] = ANIM_H_VIBRATE,
[SPECIES_ROSELIA - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_SLAKOTH - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_VIGOROTH - 1] = ANIM_H_JUMPS,
[SPECIES_SLAKING - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_GULPIN - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_SWALOT - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_TROPIUS - 1] = ANIM_V_SHAKE,
[SPECIES_WHISMUR - 1] = ANIM_H_SLIDE,
[SPECIES_LOUDRED - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES_SLOW,
[SPECIES_EXPLOUD - 1] = ANIM_V_SHAKE_TWICE,
[SPECIES_CLAMPERL - 1] = ANIM_TWIST,
[SPECIES_HUNTAIL - 1] = ANIM_GROW_VIBRATE,
[SPECIES_GOREBYSS - 1] = ANIM_V_SLIDE_WOBBLE,
[SPECIES_ABSOL - 1] = ANIM_CIRCULAR_VIBRATE,
[SPECIES_SHUPPET - 1] = ANIM_V_SLIDE_WOBBLE,
[SPECIES_BANETTE - 1] = ANIM_SWING_CONVEX,
[SPECIES_SEVIPER - 1] = ANIM_V_STRETCH,
[SPECIES_ZANGOOSE - 1] = ANIM_GROW_VIBRATE,
[SPECIES_RELICANTH - 1] = ANIM_TIP_MOVE_FORWARD,
[SPECIES_ARON - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_LAIRON - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_AGGRON - 1] = ANIM_V_SHAKE_TWICE,
[SPECIES_CASTFORM - 1] = ANIM_H_SLIDE_WOBBLE,
[SPECIES_VOLBEAT - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_ILLUMISE - 1] = ANIM_BOUNCE_ROTATE_TO_SIDES,
[SPECIES_LILEEP - 1] = ANIM_V_STRETCH,
[SPECIES_CRADILY - 1] = ANIM_V_SHAKE_TWICE,
[SPECIES_ANORITH - 1] = ANIM_TWIST,
[SPECIES_ARMALDO - 1] = ANIM_V_SHAKE,
[SPECIES_RALTS - 1] = ANIM_V_SQUISH_AND_BOUNCE_SLOW,
[SPECIES_KIRLIA - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_GARDEVOIR - 1] = ANIM_V_SQUISH_AND_BOUNCE,
[SPECIES_BAGON - 1] = ANIM_V_SHAKE_TWICE,
[SPECIES_SHELGON - 1] = ANIM_V_SLIDE,
[SPECIES_SALAMENCE - 1] = ANIM_H_SHAKE,
[SPECIES_BELDUM - 1] = ANIM_H_SHAKE,
[SPECIES_METANG - 1] = ANIM_V_SLIDE,
[SPECIES_METAGROSS - 1] = ANIM_V_SHAKE,
[SPECIES_REGIROCK - 1] = ANIM_CIRCULAR_STRETCH_TWICE,
[SPECIES_REGICE - 1] = ANIM_FOUR_PETAL,
[SPECIES_REGISTEEL - 1] = ANIM_GROW_VIBRATE,
[SPECIES_KYOGRE - 1] = ANIM_SWING_CONCAVE_FAST_SHORT,
[SPECIES_GROUDON - 1] = ANIM_V_SHAKE,
[SPECIES_RAYQUAZA - 1] = ANIM_H_SHAKE,
[SPECIES_LATIAS - 1] = ANIM_SWING_CONCAVE_FAST_SHORT,
[SPECIES_LATIOS - 1] = ANIM_V_SHAKE,
[SPECIES_JIRACHI - 1] = ANIM_SWING_CONVEX,
[SPECIES_DEOXYS - 1] = ANIM_H_PIVOT,
[SPECIES_CHIMECHO - 1] = ANIM_H_SLIDE_WOBBLE,
};
static const u8 sMonAnimationDelayTable[NUM_SPECIES - 1] =
{
[SPECIES_BLASTOISE - 1] = 0x32,
[SPECIES_WEEDLE - 1] = 0x0a,
[SPECIES_KAKUNA - 1] = 0x14,
[SPECIES_BEEDRILL - 1] = 0x23,
[SPECIES_PIDGEOTTO - 1] = 0x19,
[SPECIES_FEAROW - 1] = 0x02,
[SPECIES_EKANS - 1] = 0x1e,
[SPECIES_NIDORAN_F - 1] = 0x1c,
[SPECIES_NIDOKING - 1] = 0x19,
[SPECIES_PARAS - 1] = 0x0a,
[SPECIES_PARASECT - 1] = 0x2d,
[SPECIES_VENONAT - 1] = 0x14,
[SPECIES_DIGLETT - 1] = 0x19,
[SPECIES_DUGTRIO - 1] = 0x23,
[SPECIES_MEOWTH - 1] = 0x28,
[SPECIES_PERSIAN - 1] = 0x14,
[SPECIES_MANKEY - 1] = 0x14,
[SPECIES_GROWLITHE - 1] = 0x1e,
[SPECIES_ARCANINE - 1] = 0x28,
[SPECIES_POLIWHIRL - 1] = 0x05,
[SPECIES_WEEPINBELL - 1] = 0x03,
[SPECIES_MUK - 1] = 0x2d,
[SPECIES_SHELLDER - 1] = 0x14,
[SPECIES_HAUNTER - 1] = 0x17,
[SPECIES_DROWZEE - 1] = 0x30,
[SPECIES_HYPNO - 1] = 0x28,
[SPECIES_HITMONCHAN - 1] = 0x19,
[SPECIES_SCYTHER - 1] = 0x0a,
[SPECIES_TAUROS - 1] = 0x0a,
[SPECIES_TYPHLOSION - 1] = 0x14,
[SPECIES_FERALIGATR - 1] = 0x05,
[SPECIES_NATU - 1] = 0x1e,
[SPECIES_MAREEP - 1] = 0x32,
[SPECIES_AMPHAROS - 1] = 0x0a,
[SPECIES_POLITOED - 1] = 0x28,
[SPECIES_DUNSPARCE - 1] = 0x0a,
[SPECIES_STEELIX - 1] = 0x2d,
[SPECIES_QWILFISH - 1] = 0x27,
[SPECIES_SCIZOR - 1] = 0x13,
[SPECIES_OCTILLERY - 1] = 0x14,
[SPECIES_SMOOCHUM - 1] = 0x28,
[SPECIES_TYRANITAR - 1] = 0x0a,
[SPECIES_LUGIA - 1] = 0x14,
[SPECIES_WAILORD - 1] = 0x0a,
[SPECIES_KECLEON - 1] = 0x1e,
[SPECIES_MILOTIC - 1] = 0x2d,
[SPECIES_SPHEAL - 1] = 0x0f,
[SPECIES_SNORUNT - 1] = 0x14,
[SPECIES_GRUMPIG - 1] = 0x0f,
[SPECIES_WYNAUT - 1] = 0x0f,
[SPECIES_DUSCLOPS - 1] = 0x1e,
[SPECIES_ABSOL - 1] = 0x2d,
[SPECIES_SALAMENCE - 1] = 0x46,
[SPECIES_KYOGRE - 1] = 0x3c,
[SPECIES_RAYQUAZA - 1] = 0x3c,
[SPECIES_BLASTOISE - 1] = 50,
[SPECIES_WEEDLE - 1] = 10,
[SPECIES_KAKUNA - 1] = 20,
[SPECIES_BEEDRILL - 1] = 35,
[SPECIES_PIDGEOTTO - 1] = 25,
[SPECIES_FEAROW - 1] = 2,
[SPECIES_EKANS - 1] = 30,
[SPECIES_NIDORAN_F - 1] = 28,
[SPECIES_NIDOKING - 1] = 25,
[SPECIES_PARAS - 1] = 10,
[SPECIES_PARASECT - 1] = 45,
[SPECIES_VENONAT - 1] = 20,
[SPECIES_DIGLETT - 1] = 25,
[SPECIES_DUGTRIO - 1] = 35,
[SPECIES_MEOWTH - 1] = 40,
[SPECIES_PERSIAN - 1] = 20,
[SPECIES_MANKEY - 1] = 20,
[SPECIES_GROWLITHE - 1] = 30,
[SPECIES_ARCANINE - 1] = 40,
[SPECIES_POLIWHIRL - 1] = 5,
[SPECIES_WEEPINBELL - 1] = 3,
[SPECIES_MUK - 1] = 45,
[SPECIES_SHELLDER - 1] = 20,
[SPECIES_HAUNTER - 1] = 23,
[SPECIES_DROWZEE - 1] = 48,
[SPECIES_HYPNO - 1] = 40,
[SPECIES_HITMONCHAN - 1] = 25,
[SPECIES_SCYTHER - 1] = 10,
[SPECIES_TAUROS - 1] = 10,
[SPECIES_TYPHLOSION - 1] = 20,
[SPECIES_FERALIGATR - 1] = 5,
[SPECIES_NATU - 1] = 30,
[SPECIES_MAREEP - 1] = 50,
[SPECIES_AMPHAROS - 1] = 10,
[SPECIES_POLITOED - 1] = 40,
[SPECIES_DUNSPARCE - 1] = 10,
[SPECIES_STEELIX - 1] = 45,
[SPECIES_QWILFISH - 1] = 39,
[SPECIES_SCIZOR - 1] = 19,
[SPECIES_OCTILLERY - 1] = 20,
[SPECIES_SMOOCHUM - 1] = 40,
[SPECIES_TYRANITAR - 1] = 10,
[SPECIES_LUGIA - 1] = 20,
[SPECIES_WAILORD - 1] = 10,
[SPECIES_KECLEON - 1] = 30,
[SPECIES_MILOTIC - 1] = 45,
[SPECIES_SPHEAL - 1] = 15,
[SPECIES_SNORUNT - 1] = 20,
[SPECIES_GRUMPIG - 1] = 15,
[SPECIES_WYNAUT - 1] = 15,
[SPECIES_DUSCLOPS - 1] = 30,
[SPECIES_ABSOL - 1] = 45,
[SPECIES_SALAMENCE - 1] = 70,
[SPECIES_KYOGRE - 1] = 60,
[SPECIES_RAYQUAZA - 1] = 60,
};
const u8 gPPUpGetMask[] = {0x03, 0x0c, 0x30, 0xc0}; // Masks for getting PP Up count, also PP Max values
@ -6627,7 +6601,7 @@ static void Task_PokemonSummaryAnimateAfterDelay(u8 taskId)
if (--gTasks[taskId].data[3] == 0)
{
StartMonSummaryAnimation(READ_PTR_FROM_TASK(taskId, 0), gTasks[taskId].data[2]);
SummaryScreen_SetUnknownTaskId(0xFF);
SummaryScreen_SetAnimDelayTaskId(TASK_NONE);
DestroyTask(taskId);
}
}
@ -6694,7 +6668,7 @@ void PokemonSummaryDoMonAnimation(struct Sprite* sprite, u16 species, bool8 oneF
STORE_PTR_IN_TASK(sprite, taskId, 0);
gTasks[taskId].data[2] = sMonFrontAnimIdsTable[species - 1];
gTasks[taskId].data[3] = sMonAnimationDelayTable[species - 1];
SummaryScreen_SetUnknownTaskId(taskId);
SummaryScreen_SetAnimDelayTaskId(taskId);
SetSpriteCB_MonAnimDummy(sprite);
}
else

File diff suppressed because it is too large Load Diff

View File

@ -175,7 +175,7 @@ static EWRAM_DATA struct PokemonSummaryScreenData
} *sMonSummaryScreen = NULL;
EWRAM_DATA u8 gLastViewedMonIndex = 0;
static EWRAM_DATA u8 sMoveSlotToReplace = 0;
ALIGNED(4) static EWRAM_DATA u8 sUnknownTaskId = 0;
ALIGNED(4) static EWRAM_DATA u8 sAnimDelayTaskId = 0;
// forward declarations
static bool8 LoadGraphics(void);
@ -296,6 +296,7 @@ static void SpriteCb_MoveSelector(struct Sprite *sprite);
static void DestroyMoveSelectorSprites(u8 firstArrayId);
static void SetMainMoveSelectorColor(u8 whichColor);
static void KeepMoveSelectorVisible(u8 firstSpriteId);
static void SummaryScreen_DestroyAnimDelayTask(void);
// const rom data
#include "data/text/move_descriptions.h"
@ -1094,7 +1095,7 @@ void ShowPokemonSummaryScreen(u8 mode, void *mons, u8 monIndex, u8 maxMonIndex,
}
sMonSummaryScreen->currPageIndex = sMonSummaryScreen->minPageIndex;
SummaryScreen_SetUnknownTaskId(0xFF);
SummaryScreen_SetAnimDelayTaskId(TASK_NONE);
if (gMonSpritesGfxPtr == NULL)
sub_806F2AC(0, 0);
@ -1480,7 +1481,7 @@ static void CloseSummaryScreen(u8 taskId)
{
SetMainCallback2(sMonSummaryScreen->callback);
gLastViewedMonIndex = sMonSummaryScreen->curMonIndex;
SummaryScreen_DestroyUnknownTask();
SummaryScreen_DestroyAnimDelayTask();
ResetSpriteData();
FreeAllSpritePalettes();
StopCryAndClearCrySongs();
@ -1598,7 +1599,7 @@ static void Task_ChangeSummaryMon(u8 taskId)
StopCryAndClearCrySongs();
break;
case 1:
SummaryScreen_DestroyUnknownTask();
SummaryScreen_DestroyAnimDelayTask();
DestroySpriteAndFreeResources(&gSprites[sMonSummaryScreen->spriteIds[SPRITE_ARR_ID_MON]]);
break;
case 2:
@ -3933,17 +3934,19 @@ static void SpriteCB_Pokemon(struct Sprite *sprite)
}
}
void SummaryScreen_SetUnknownTaskId(u8 taskId)
// Track and then destroy Task_PokemonSummaryAnimateAfterDelay
// Normally destroys itself but it can be interrupted before the animation starts
void SummaryScreen_SetAnimDelayTaskId(u8 taskId)
{
sUnknownTaskId = taskId;
sAnimDelayTaskId = taskId;
}
void SummaryScreen_DestroyUnknownTask(void)
static void SummaryScreen_DestroyAnimDelayTask(void)
{
if (sUnknownTaskId != TASK_NONE)
if (sAnimDelayTaskId != TASK_NONE)
{
DestroyTask(sUnknownTaskId);
sUnknownTaskId = TASK_NONE;
DestroyTask(sAnimDelayTaskId);
sAnimDelayTaskId = TASK_NONE;
}
}