summaryrefslogtreecommitdiff
path: root/data/maps/Route130
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-03-02 08:24:46 -0600
committerGitHub <noreply@github.com>2019-03-02 08:24:46 -0600
commitee9694d9ba4b4a16048cd8abf7401075c06c880c (patch)
tree8e02045dea75a5da9a75439797b34938187bc0c4 /data/maps/Route130
parent3b04cfa437b093a21cdc5021843b5f52a124861e (diff)
parent25050b99444538535a67ba51b7aaf3d0bf90c50e (diff)
Merge pull request #587 from Phlosioneer/document-all-event-vars
Document all event vars
Diffstat (limited to 'data/maps/Route130')
-rw-r--r--data/maps/Route130/map.json2
-rw-r--r--data/maps/Route130/scripts.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/Route130/map.json b/data/maps/Route130/map.json
index 0a68d442c..18d168b17 100644
--- a/data/maps/Route130/map.json
+++ b/data/maps/Route130/map.json
@@ -6,7 +6,7 @@
"region_map_section": "MAPSEC_ROUTE_130",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
- "map_type": "MAP_TYPE_6",
+ "map_type": "MAP_TYPE_OCEAN_ROUTE",
"allow_bike": true,
"allow_escape_rope": false,
"allow_running": true,
diff --git a/data/maps/Route130/scripts.inc b/data/maps/Route130/scripts.inc
index 18dce324d..cdcc61550 100644
--- a/data/maps/Route130/scripts.inc
+++ b/data/maps/Route130/scripts.inc
@@ -3,7 +3,7 @@ Route130_MapScripts:: @ 81F735F
.byte 0
Route130_MapScript1_1F7365: @ 81F7365
- compare VAR_0x405E, 4
+ compare VAR_RAYQUAZA_STATE, 4
call_if_ge Route130_EventScript_1F73B5
specialvar VAR_RESULT, IsMirageIslandPresent
compare VAR_RESULT, 1