From 11a8517320718343414c4f0b2c123cc972c99512 Mon Sep 17 00:00:00 2001 From: ultima-soul Date: Mon, 7 Jun 2021 15:04:41 -0700 Subject: [PATCH] Add back NUM_SPECIES to sSpeciesToBackAnimSet definition. --- src/pokemon_animation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokemon_animation.c b/src/pokemon_animation.c index c67fd1327c..0a617b5464 100644 --- a/src/pokemon_animation.c +++ b/src/pokemon_animation.c @@ -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,