Ghosts can now escape any wild battle
This commit is contained in:
parent
3b746de1d4
commit
8bdcbb856d
1 changed files with 6 additions and 0 deletions
|
@ -621,6 +621,12 @@ bool8 TryRunFromBattle(u8 battler)
|
|||
gProtectStructs[battler].fleeFlag = 1;
|
||||
effect++;
|
||||
}
|
||||
#if B_GHOSTS_ESCAPE >= GEN_6
|
||||
else if (IS_BATTLER_OF_TYPE(battler, TYPE_GHOST))
|
||||
{
|
||||
effect++;
|
||||
}
|
||||
#endif
|
||||
else if (gBattleMons[battler].ability == ABILITY_RUN_AWAY)
|
||||
{
|
||||
if (InBattlePyramid())
|
||||
|
|
Loading…
Reference in a new issue