From 847700fbb67c3ba1e0429ebef1faff2358a837df Mon Sep 17 00:00:00 2001 From: Evan Date: Mon, 1 Mar 2021 17:14:56 -0700 Subject: [PATCH] fix GetIllusionMonPtr --- src/battle_anim_new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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