From f63a9492ffc3751d951b2ce8f36f9351a428cb88 Mon Sep 17 00:00:00 2001 From: voloved <36523934+voloved@users.noreply.github.com> Date: Sun, 9 Apr 2023 14:19:28 -0400 Subject: [PATCH] Added a return; --- Allow-Running-From-Trainer-Battles.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Allow-Running-From-Trainer-Battles.md b/Allow-Running-From-Trainer-Battles.md index a49b872..8b06e66 100644 --- a/Allow-Running-From-Trainer-Battles.md +++ b/Allow-Running-From-Trainer-Battles.md @@ -220,6 +220,7 @@ void SwitchPartyOrder(u8 battler) + { + BattleScriptExecute(BattleScript_PrintCantRunFromTrainer); + gBattleCommunication[gActiveBattler] = STATE_BEFORE_ACTION_CHOSEN; ++ return; + } + else + {