fix AnimTask_GetLycanrocForm

This commit is contained in:
Evan 2021-03-01 17:37:05 -07:00
parent 847700fbb6
commit fe6ce33718

View File

@ -7680,7 +7680,7 @@ void AnimTask_GetLycanrocForm(u8 taskId)
{
#ifdef POKEMON_EXPANSION
if (GetIllusionMonPtr(gBattleAnimAttacker)->species == SPECIES_LYCANROC_MIDNIGHT)
if (GetMonData(GetIllusionMonPtr(gBattleAnimAttacker), MON_DATA_SPECIES) == SPECIES_LYCANROC_MIDNIGHT)
gBattleAnimArgs[0] = 1;
else
#endif