summaryrefslogtreecommitdiff
path: root/data/maps/Route115/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route115/scripts.inc')
-rw-r--r--data/maps/Route115/scripts.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/data/maps/Route115/scripts.inc b/data/maps/Route115/scripts.inc
index 6c74a0d5a..560c360af 100644
--- a/data/maps/Route115/scripts.inc
+++ b/data/maps/Route115/scripts.inc
@@ -6,18 +6,18 @@ Route115_MapScripts:: @ 81F2920
Route115_MapScript1_1F2930: @ 81F2930
compare VAR_0x4037, 3
- call_if 1, Route115_EventScript_273939
+ call_if_eq Route115_EventScript_273939
compare VAR_0x4037, 4
- call_if 1, Route115_EventScript_27394C
+ call_if_eq Route115_EventScript_27394C
end
Route115_MapScript1_1F2947: @ 81F2947
compare VAR_0x4039, 1
- call_if 1, Route115_EventScript_273D13
+ call_if_eq Route115_EventScript_273D13
compare VAR_0x4037, 3
- call_if 1, Route115_EventScript_273D1B
+ call_if_eq Route115_EventScript_273D1B
compare VAR_0x4037, 4
- call_if 1, Route115_EventScript_273D1B
+ call_if_eq Route115_EventScript_273D1B
end
Route115_MapScript2_1F2969: @ 81F2969
@@ -40,7 +40,7 @@ Route115_EventScript_1F298E:: @ 81F298E
trainerbattle_single TRAINER_TIMOTHY_1, Route115_Text_29B1FA, Route115_Text_29B230, Route115_EventScript_1F29BA
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route115_EventScript_1F29D9
+ goto_if_eq Route115_EventScript_1F29D9
msgbox Route115_Text_29B258, MSGBOX_DEFAULT
release
end
@@ -67,7 +67,7 @@ Route115_EventScript_1F2A07:: @ 81F2A07
trainerbattle_single TRAINER_NOB_1, Route115_Text_29B449, Route115_Text_29B480, Route115_EventScript_1F2A33
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route115_EventScript_1F2A52
+ goto_if_eq Route115_EventScript_1F2A52
msgbox Route115_Text_29B49D, MSGBOX_DEFAULT
release
end
@@ -89,7 +89,7 @@ Route115_EventScript_1F2A69:: @ 81F2A69
trainerbattle_single TRAINER_CYNDY_1, Route115_Text_29B5EF, Route115_Text_29B62D, Route115_EventScript_1F2A95
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
- goto_eq Route115_EventScript_1F2AB4
+ goto_if_eq Route115_EventScript_1F2AB4
msgbox Route115_Text_29B647, MSGBOX_DEFAULT
release
end