Added a return;

voloved 2023-04-09 14:19:28 -04:00
parent 043c0a49b3
commit f63a9492ff
1 changed files with 1 additions and 0 deletions

@ -220,6 +220,7 @@ void SwitchPartyOrder(u8 battler)
+ { + {
+ BattleScriptExecute(BattleScript_PrintCantRunFromTrainer); + BattleScriptExecute(BattleScript_PrintCantRunFromTrainer);
+ gBattleCommunication[gActiveBattler] = STATE_BEFORE_ACTION_CHOSEN; + gBattleCommunication[gActiveBattler] = STATE_BEFORE_ACTION_CHOSEN;
+ return;
+ } + }
+ else + else
+ { + {