summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route111.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/Route111.inc')
-rw-r--r--data/scripts/maps/Route111.inc40
1 files changed, 20 insertions, 20 deletions
diff --git a/data/scripts/maps/Route111.inc b/data/scripts/maps/Route111.inc
index 68be7e7d2..2a69df98a 100644
--- a/data/scripts/maps/Route111.inc
+++ b/data/scripts/maps/Route111.inc
@@ -5,7 +5,7 @@ Route111_MapScripts:: @ 814FF91
Route111_MapScript1_14FF9C:: @ 814FF9C
checkflag 228
- callif 0, Route111_EventScript_14FFA6
+ call_if 0, Route111_EventScript_14FFA6
end
Route111_EventScript_14FFA6:: @ 814FFA6
@@ -17,21 +17,21 @@ Route111_MapScript1_14FFB9:: @ 814FFB9
call Route111_EventScript_14FFCD
call Route111_EventScript_1AE313
checktrainerflag OPPONENT_VICKY
- jumpif 0, Route111_EventScript_15000D
+ goto_if 0, Route111_EventScript_15000D
end
Route111_EventScript_14FFCD:: @ 814FFCD
getplayerxy 0x4000, 0x4001
compare 0x4001, 34
- jumpif 0, Route111_EventScript_15000C
+ goto_if 0, Route111_EventScript_15000C
compare 0x4001, 107
- jumpif 2, Route111_EventScript_15000C
+ goto_if 2, Route111_EventScript_15000C
compare 0x4001, 72
- jumpif 2, Route111_EventScript_150009
+ goto_if 2, Route111_EventScript_150009
compare 0x4000, 2000
- jumpif 2, Route111_EventScript_15000C
+ goto_if 2, Route111_EventScript_15000C
compare 0x4000, 8
- jumpif 0, Route111_EventScript_15000C
+ goto_if 0, Route111_EventScript_15000C
Route111_EventScript_150009:: @ 8150009
setweather 8
@@ -53,7 +53,7 @@ Route111_EventScript_150023:: @ 8150023
lockall
msgbox Route111_Text_16FA54, 5
compare RESULT, 0
- jumpeq Route111_EventScript_15005F
+ goto_if_eq Route111_EventScript_15005F
giveitem ITEM_ROOT_FOSSIL
closebutton
setflag 963
@@ -75,7 +75,7 @@ Route111_EventScript_150069:: @ 8150069
lockall
msgbox Route111_Text_16FAED, 5
compare RESULT, 0
- jumpeq Route111_EventScript_1500A5
+ goto_if_eq Route111_EventScript_1500A5
giveitem ITEM_CLAW_FOSSIL
closebutton
setflag 964
@@ -122,11 +122,11 @@ Route111_EventScript_1500C5:: @ 81500C5
faceplayer
checkdailyflags
checkflag 2252
- jumpeq Route111_EventScript_150100
+ goto_if_eq Route111_EventScript_150100
msgbox Route111_Text_1C56F0, 4
giveitem ITEM_RAZZ_BERRY
compare RESULT, 0
- jumpeq Route111_EventScript_1A029B
+ goto_if_eq Route111_EventScript_1A029B
setflag 2252
special GetPlayerBigGuyGirlString
msgbox Route111_Text_1C5781, 4
@@ -165,7 +165,7 @@ Route111_EventScript_150122:: @ 8150122
Route111_EventScript_15013A:: @ 815013A
checkitem ITEM_GO_GOGGLES, 1
compare RESULT, 0
- jumpeq Route111_EventScript_150151
+ goto_if_eq Route111_EventScript_150151
setvar 0x4003, 1
releaseall
end
@@ -174,13 +174,13 @@ Route111_EventScript_150151:: @ 8150151
msgbox Route111_Text_1A0F93, 4
closebutton
compare 0x8004, 0
- callif 1, Route111_EventScript_150188
+ call_if 1, Route111_EventScript_150188
compare 0x8004, 1
- callif 1, Route111_EventScript_150193
+ call_if 1, Route111_EventScript_150193
compare 0x8004, 2
- callif 1, Route111_EventScript_15019E
+ call_if 1, Route111_EventScript_15019E
compare 0x8004, 3
- callif 1, Route111_EventScript_1501A9
+ call_if 1, Route111_EventScript_1501A9
releaseall
end
@@ -239,7 +239,7 @@ Route111_EventScript_1501D1:: @ 81501D1
setflag 2115
msgbox Route111_Text_16F705, 5
compare RESULT, 1
- jumpeq Route111_EventScript_1501F3
+ goto_if_eq Route111_EventScript_1501F3
msgbox Route111_Text_16F785, 4
release
end
@@ -394,7 +394,7 @@ Route111_EventScript_150403:: @ 8150403
trainerbattle 0, OPPONENT_DUSTY_1, 0, Route111_Text_1BAEC9, Route111_Text_1BAF14
specialval RESULT, sub_8082C68
compare RESULT, 1
- jumpeq Route111_EventScript_15042A
+ goto_if_eq Route111_EventScript_15042A
msgbox Route111_Text_1BAF5B, 6
end
@@ -422,7 +422,7 @@ Route111_EventScript_150486:: @ 8150486
trainerbattle 0, OPPONENT_WILTON_1, 0, Route111_Text_1BB2E3, Route111_Text_1BB313
specialval RESULT, sub_8082C68
compare RESULT, 1
- jumpeq Route111_EventScript_1504AD
+ goto_if_eq Route111_EventScript_1504AD
msgbox Route111_Text_1BB33E, 6
end
@@ -435,7 +435,7 @@ Route111_EventScript_1504C4:: @ 81504C4
trainerbattle 0, OPPONENT_BROOKE_1, 0, Route111_Text_1BB44F, Route111_Text_1BB49F
specialval RESULT, sub_8082C68
compare RESULT, 1
- jumpeq Route111_EventScript_1504EB
+ goto_if_eq Route111_EventScript_1504EB
msgbox Route111_Text_1BB4CE, 6
end