summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route130.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/Route130.inc')
-rw-r--r--data/scripts/maps/Route130.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/scripts/maps/Route130.inc b/data/scripts/maps/Route130.inc
index b76d77759..26278cf50 100644
--- a/data/scripts/maps/Route130.inc
+++ b/data/scripts/maps/Route130.inc
@@ -3,10 +3,10 @@ Route130_MapScripts:: @ 81F735F
.byte 0
Route130_MapScript1_1F7365: @ 81F7365
- compare_var_to_value VAR_0x405E, 4
+ compare VAR_0x405E, 4
call_if 4, Route130_EventScript_1F73B5
- specialvar VAR_RESULT, sub_813793C
- compare_var_to_value VAR_RESULT, 1
+ specialvar VAR_RESULT, IsMirageIslandPresent
+ compare VAR_RESULT, 1
goto_eq Route130_EventScript_1F73B1
setflag FLAG_0x011
setflag FLAG_0x012