summaryrefslogtreecommitdiff
path: root/data/maps/Route18_EastEntrance_1F/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route18_EastEntrance_1F/scripts.inc')
-rw-r--r--data/maps/Route18_EastEntrance_1F/scripts.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/maps/Route18_EastEntrance_1F/scripts.inc b/data/maps/Route18_EastEntrance_1F/scripts.inc
index 70a8d196b..784d1d37f 100644
--- a/data/maps/Route18_EastEntrance_1F/scripts.inc
+++ b/data/maps/Route18_EastEntrance_1F/scripts.inc
@@ -3,9 +3,9 @@ Route18_EastEntrance_1F_MapScripts:: @ 8170378
.byte 0
Route18_EastEntrance_1F_MapScript1_17037E:: @ 817037E
- clearflag FLAG_0x830
- checkflag FLAG_0x271
- call_if 1, EventScript_17038B
+ clearflag FLAG_SYS_ON_CYCLING_ROAD
+ checkflag FLAG_GOT_BICYCLE
+ call_if TRUE, EventScript_17038B
end
EventScript_17038B:: @ 817038B
@@ -54,13 +54,13 @@ EventScript_1703D6:: @ 81703D6
waitmovement 0
delay 20
compare_var_to_value VAR_0x8008, 1
- call_if 1, EventScript_17042F
+ call_if eq, EventScript_17042F
compare_var_to_value VAR_0x8008, 2
- call_if 1, EventScript_17043A
+ call_if eq, EventScript_17043A
compare_var_to_value VAR_0x8008, 3
- call_if 1, EventScript_170445
+ call_if eq, EventScript_170445
compare_var_to_value VAR_0x8008, 4
- call_if 1, EventScript_170450
+ call_if eq, EventScript_170450
msgbox gUnknown_819FD0C
closemessage
applymovement 255, Movement_170469