fix GetIllusionMonPtr

This commit is contained in:
Evan 2021-03-01 17:14:56 -07:00
parent b130396c0e
commit 847700fbb6

View File

@ -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