diff --git a/src/battle_anim_new.c b/src/battle_anim_new.c index c97013f30..0449ab1fc 100644 --- a/src/battle_anim_new.c +++ b/src/battle_anim_new.c @@ -7680,7 +7680,7 @@ void AnimTask_GetLycanrocForm(u8 taskId) { #ifdef POKEMON_EXPANSION - if (GetIllusionPartyData(gBattleAnimAttacker)->species == SPECIES_LYCANROC_MIDNIGHT) + if (GetIllusionMonPtr(gBattleAnimAttacker)->species == SPECIES_LYCANROC_MIDNIGHT) gBattleAnimArgs[0] = 1; else #endif