summaryrefslogtreecommitdiff
path: root/data/maps/Route112/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route112/scripts.inc')
-rw-r--r--data/maps/Route112/scripts.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/maps/Route112/scripts.inc b/data/maps/Route112/scripts.inc
index abea230be..a6c248e1f 100644
--- a/data/maps/Route112/scripts.inc
+++ b/data/maps/Route112/scripts.inc
@@ -71,8 +71,7 @@ Route112_EventScript_Brice::
Route112_EventScript_Trent::
trainerbattle_single TRAINER_TRENT_1, Route112_Text_TrentIntro, Route112_Text_TrentDefeat, Route112_EventScript_RegisterTrent
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, TRUE
- goto_if_eq Route112_EventScript_RematchTrent
+ goto_if_eq VAR_RESULT, TRUE, Route112_EventScript_RematchTrent
msgbox Route112_Text_TrentPostBattle, MSGBOX_DEFAULT
release
end