mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Transformed Aegi cannot change forms
This commit is contained in:
parent
e7d5ebb3b6
commit
c9774f6e25
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user