diff --git a/Allow-Running-From-Trainer-Battles.md b/Allow-Running-From-Trainer-Battles.md index e4f574d..60ffda5 100644 --- a/Allow-Running-From-Trainer-Battles.md +++ b/Allow-Running-From-Trainer-Battles.md @@ -117,11 +117,15 @@ index 7f36cacc8f..2a25e074f6 100644 { - BattleScriptExecute(BattleScript_PrintCantRunFromTrainer); - gBattleCommunication[gActiveBattler] = STATE_BEFORE_ACTION_CHOSEN; -+ gBattleCommunication[gActiveBattler]++; ++ ; // Allow to passthrough to the below logic of IsRunningFromBattleImpossible } - else if (IsRunningFromBattleImpossible() != BATTLE_RUN_SUCCESS +- else if (IsRunningFromBattleImpossible() != BATTLE_RUN_SUCCESS ++ if (IsRunningFromBattleImpossible() != BATTLE_RUN_SUCCESS && gBattleBufferB[gActiveBattler][1] == B_ACTION_RUN) { + gSelectionBattleScripts[gActiveBattler] = BattleScript_PrintCantEscapeFromBattle; + gBattleCommunication[gActiveBattler] = STATE_SELECTION_SCRIPT; + *(gBattleStruct->selectionScriptFinished + gActiveBattler) = FALSE; ``` ```diff