Merge pull request #1528 from ultima-soul/num_species_back_animation_fix

Add back NUM_SPECIES to sSpeciesToBackAnimSet definition.
This commit is contained in:
ExpoSeed 2021-06-07 17:16:10 -05:00 committed by GitHub
commit 6f25c47d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ static struct PokemonAnimData sAnims[MAX_BATTLERS_COUNT];
static u8 sAnimIdx;
static bool32 sIsSummaryAnim;
static const u8 sSpeciesToBackAnimSet[] =
static const u8 sSpeciesToBackAnimSet[NUM_SPECIES] =
{
[SPECIES_BULBASAUR] = BACK_ANIM_DIP_RIGHT_SIDE,
[SPECIES_IVYSAUR] = BACK_ANIM_H_SLIDE,