summaryrefslogtreecommitdiff
path: root/data/maps/Route121/scripts.inc
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-21 20:28:24 -0500
committerMelody <melody@pallet.town>2018-12-21 20:28:24 -0500
commitac2e4adf2da2f30a741556e20e5bc9a494997581 (patch)
tree1a05a202cfece044d546094581d8463a9b6e452c /data/maps/Route121/scripts.inc
parent87fd6b8dc21b37b656f16e3f11832c6951328750 (diff)
improve goto_if macros
Diffstat (limited to 'data/maps/Route121/scripts.inc')
-rw-r--r--data/maps/Route121/scripts.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/Route121/scripts.inc b/data/maps/Route121/scripts.inc
index 2d65779e7..ee361d30c 100644
--- a/data/maps/Route121/scripts.inc
+++ b/data/maps/Route121/scripts.inc
@@ -74,7 +74,7 @@ Route121_EventScript_1F5E8B:: @ 81F5E8B
trainerbattle_single TRAINER_WALTER_1, Route121_Text_29F199, Route121_Text_29F20D, Route121_EventScript_1F5EB7
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route121_EventScript_1F5ED6
+ goto_if_eq Route121_EventScript_1F5ED6
msgbox Route121_Text_29F21E, MSGBOX_DEFAULT
release
end
@@ -111,7 +111,7 @@ Route121_EventScript_1F5F3A:: @ 81F5F3A
trainerbattle_single TRAINER_JESSICA_1, Route121_Text_29F612, Route121_Text_29F641, Route121_EventScript_1F5F66
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route121_EventScript_1F5F85
+ goto_if_eq Route121_EventScript_1F5F85
msgbox Route121_Text_29F66F, MSGBOX_DEFAULT
release
end
@@ -153,7 +153,7 @@ Route121_EventScript_1F5FF8:: @ 81F5FF8
trainerbattle_single TRAINER_CRISTIN_1, Route121_Text_29F770, Route121_Text_29F7C1, Route121_EventScript_1F6024
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route121_EventScript_1F6043
+ goto_if_eq Route121_EventScript_1F6043
msgbox Route121_Text_29F7D4, MSGBOX_DEFAULT
release
end