summaryrefslogtreecommitdiff
path: root/data/maps/Route124/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route124/scripts.inc')
-rw-r--r--data/maps/Route124/scripts.inc9
1 files changed, 3 insertions, 6 deletions
diff --git a/data/maps/Route124/scripts.inc b/data/maps/Route124/scripts.inc
index d1cd8ef8c..108b915da 100644
--- a/data/maps/Route124/scripts.inc
+++ b/data/maps/Route124/scripts.inc
@@ -23,8 +23,7 @@ Route124_EventScript_Roland::
Route124_EventScript_Jenny::
trainerbattle_single TRAINER_JENNY_1, Route124_Text_JennyIntro, Route124_Text_JennyDefeat, Route124_EventScript_RegisterJenny
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, TRUE
- goto_if_eq Route124_EventScript_RematchJenny
+ goto_if_eq VAR_RESULT, TRUE, Route124_EventScript_RematchJenny
msgbox Route124_Text_JennyPostBattle, MSGBOX_DEFAULT
release
end
@@ -55,8 +54,7 @@ Route124_EventScript_Chad::
Route124_EventScript_Lila::
trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_LilaIntro, Route124_Text_LilaDefeat, Route124_Text_LilaNotEnoughMons, Route124_EventScript_RegisterLila
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, TRUE
- goto_if_eq Route124_EventScript_RematchLila
+ goto_if_eq VAR_RESULT, TRUE, Route124_EventScript_RematchLila
msgbox Route124_Text_LilaPostBattle, MSGBOX_DEFAULT
release
end
@@ -75,8 +73,7 @@ Route124_EventScript_RematchLila::
Route124_EventScript_Roy::
trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_RoyIntro, Route124_Text_RoyDefeat, Route124_Text_RoyNotEnoughMons, Route124_EventScript_RegisterRoy
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, TRUE
- goto_if_eq Route124_EventScript_RematchRoy
+ goto_if_eq VAR_RESULT, TRUE, Route124_EventScript_RematchRoy
msgbox Route124_Text_RoyPostBattle, MSGBOX_DEFAULT
release
end