Fixed Run Away.

This commit is contained in:
Eduardo Quezada D'Ottone 2021-10-02 15:52:55 -03:00
parent 9aee8cbea5
commit 6208995606

View File

@ -3685,7 +3685,7 @@ u8 IsRunningFromBattleImpossible(void)
return 0;
if (gBattleTypeFlags & BATTLE_TYPE_LINK)
return 0;
if (gBattleMons[gActiveBattler].ability == ABILITY_RUN_AWAY)
if (GetBattlerAbility(gActiveBattler) == ABILITY_RUN_AWAY)
return 0;
if ((i = IsAbilityPreventingEscape(gActiveBattler)))