specific Nuzlocke flag check removed

voloved 2023-04-06 20:57:33 -04:00
parent a80b3c400e
commit 08585ef776
1 changed files with 0 additions and 2 deletions

@ -177,8 +177,6 @@ EWRAM_DATA u16 gBattle_BG0_X = 0;
+static u8 IsTrainerCantRunFrom(void){ +static u8 IsTrainerCantRunFrom(void){
+ u8 trainerClass; + u8 trainerClass;
+ if (FlagGet(FLAG_NUZLOCKE))
+ return BATTLE_RUN_FORBIDDEN;
+ if (gBattleTypeFlags & (BATTLE_TYPE_FRONTIER | BATTLE_TYPE_TRAINER_HILL)) + if (gBattleTypeFlags & (BATTLE_TYPE_FRONTIER | BATTLE_TYPE_TRAINER_HILL))
+ return BATTLE_RUN_FORBIDDEN; + return BATTLE_RUN_FORBIDDEN;
+ trainerClass = gTrainers[gTrainerBattleOpponent_A].trainerClass; + trainerClass = gTrainers[gTrainerBattleOpponent_A].trainerClass;