Transformed Aegi cannot change forms

This commit is contained in:
DizzyEggg 2020-02-08 12:09:38 +01:00
parent e7d5ebb3b6
commit c9774f6e25

View File

@ -972,7 +972,9 @@ static bool32 NoTargetPresent(u32 move)
static bool32 TryAegiFormChange(void)
{
if (GetBattlerAbility(gBattlerAttacker) != ABILITY_STANCE_CHANGE)
// Only Aegislash with Stance Change can transform, transformed mons cannot.
if (GetBattlerAbility(gBattlerAttacker) != ABILITY_STANCE_CHANGE
|| gBattleMons[gBattlerAttacker].status2 & STATUS2_TRANSFORMED)
return FALSE;
switch (gBattleMons[gBattlerAttacker].species)