mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-26 14:15:31 +01:00
fix run away check in TryRunFromBattle
This commit is contained in:
parent
bcf272353c
commit
ae0260fa62
@ -627,7 +627,7 @@ bool8 TryRunFromBattle(u8 battler)
|
||||
effect++;
|
||||
}
|
||||
#endif
|
||||
else if (gBattleMons[battler].ability == ABILITY_RUN_AWAY)
|
||||
else if (GetBattlerAbility(battler) == ABILITY_RUN_AWAY)
|
||||
{
|
||||
if (InBattlePyramid())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user