summaryrefslogtreecommitdiff
path: root/data/maps/Route103/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/Route103/scripts.inc
parent87fd6b8dc21b37b656f16e3f11832c6951328750 (diff)
improve goto_if macros
Diffstat (limited to 'data/maps/Route103/scripts.inc')
-rw-r--r--data/maps/Route103/scripts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/Route103/scripts.inc b/data/maps/Route103/scripts.inc
index e2b60e800..bcc1b5a91 100644
--- a/data/maps/Route103/scripts.inc
+++ b/data/maps/Route103/scripts.inc
@@ -22,9 +22,9 @@ Route103_EventScript_1EC3C1:: @ 81EC3C1
lockall
checkplayergender
compare VAR_RESULT, 0
- goto_eq Route103_EventScript_1EC3DA
+ goto_if_eq Route103_EventScript_1EC3DA
compare VAR_RESULT, 1
- goto_eq Route103_EventScript_1EC434
+ goto_if_eq Route103_EventScript_1EC434
end
Route103_EventScript_1EC3DA:: @ 81EC3DA
@@ -211,7 +211,7 @@ Route103_EventScript_1EC60B:: @ 81EC60B
trainerbattle_double TRAINER_AMY_AND_LIV_1, Route103_Text_2949F9, Route103_Text_294A3D, Route103_Text_294AAE, Route103_EventScript_1EC63A
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route103_EventScript_1EC653
+ goto_if_eq Route103_EventScript_1EC653
msgbox Route103_Text_294A52, MSGBOX_AUTOCLOSE
end
@@ -230,7 +230,7 @@ Route103_EventScript_1EC66E:: @ 81EC66E
trainerbattle_double TRAINER_AMY_AND_LIV_1, Route103_Text_294AFD, Route103_Text_294B22, Route103_Text_294BD0, Route103_EventScript_1EC69D
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route103_EventScript_1EC6B6
+ goto_if_eq Route103_EventScript_1EC6B6
msgbox Route103_Text_294B40, MSGBOX_AUTOCLOSE
end
@@ -254,7 +254,7 @@ Route103_EventScript_1EC6E8:: @ 81EC6E8
trainerbattle_single TRAINER_MIGUEL_1, Route103_Text_294EDF, Route103_Text_294F21, Route103_EventScript_1EC714
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route103_EventScript_1EC733
+ goto_if_eq Route103_EventScript_1EC733
msgbox Route103_Text_294F42, MSGBOX_DEFAULT
release
end