diff --git a/Allow-Running-From-Trainer-Battles.md b/Allow-Running-From-Trainer-Battles.md index bb4787d..91d318c 100644 --- a/Allow-Running-From-Trainer-Battles.md +++ b/Allow-Running-From-Trainer-Battles.md @@ -177,8 +177,6 @@ EWRAM_DATA u16 gBattle_BG0_X = 0; +static u8 IsTrainerCantRunFrom(void){ + u8 trainerClass; -+ if (FlagGet(FLAG_NUZLOCKE)) -+ return BATTLE_RUN_FORBIDDEN; + if (gBattleTypeFlags & (BATTLE_TYPE_FRONTIER | BATTLE_TYPE_TRAINER_HILL)) + return BATTLE_RUN_FORBIDDEN; + trainerClass = gTrainers[gTrainerBattleOpponent_A].trainerClass;