mirror of https://github.com/pret/pokeemerald.git
Added a return;
parent
043c0a49b3
commit
f63a9492ff
|
@ -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
|
||||||
+ {
|
+ {
|
||||||
|
|
Loading…
Reference in New Issue