summaryrefslogtreecommitdiff
path: root/data/maps/Underwater_Route129
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-09-01 03:03:14 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-09-01 03:03:14 -0400
commitf5495d12200adf2e1ec2b5d7979997f0aa1ec893 (patch)
treeef268adecb7bee17e93b95ec91383c4999e7cd06 /data/maps/Underwater_Route129
parent5773bb864344c2f365dc14ddb64a1d1fbb114b32 (diff)
Give proper names to underwater maps
Diffstat (limited to 'data/maps/Underwater_Route129')
-rw-r--r--data/maps/Underwater_Route129/map.json41
-rw-r--r--data/maps/Underwater_Route129/scripts.inc8
2 files changed, 49 insertions, 0 deletions
diff --git a/data/maps/Underwater_Route129/map.json b/data/maps/Underwater_Route129/map.json
new file mode 100644
index 000000000..45775bd6b
--- /dev/null
+++ b/data/maps/Underwater_Route129/map.json
@@ -0,0 +1,41 @@
+{
+ "id": "MAP_UNDERWATER_ROUTE129",
+ "name": "Underwater_Route129",
+ "layout": "LAYOUT_UNDERWATER_ROUTE129",
+ "music": "MUS_UNDERWATER",
+ "region_map_section": "MAPSEC_UNDERWATER_129",
+ "requires_flash": false,
+ "weather": "WEATHER_UNDERWATER_BUBBLES",
+ "map_type": "MAP_TYPE_UNDERWATER",
+ "allow_cycling": true,
+ "allow_escaping": false,
+ "allow_running": true,
+ "show_map_name": true,
+ "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
+ "connections": [
+ {
+ "direction": "emerge",
+ "offset": 0,
+ "map": "MAP_ROUTE129"
+ }
+ ],
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 26,
+ "y": 3,
+ "elevation": 0,
+ "dest_map": "MAP_UNDERWATER_MARINE_CAVE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 32,
+ "y": 21,
+ "elevation": 0,
+ "dest_map": "MAP_UNDERWATER_MARINE_CAVE",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+}
diff --git a/data/maps/Underwater_Route129/scripts.inc b/data/maps/Underwater_Route129/scripts.inc
new file mode 100644
index 000000000..f9f84841e
--- /dev/null
+++ b/data/maps/Underwater_Route129/scripts.inc
@@ -0,0 +1,8 @@
+Underwater_Route129_MapScripts:: @ 81F7731
+ map_script MAP_SCRIPT_ON_RESUME, Underwater_Route129_OnResume
+ .byte 0
+
+Underwater_Route129_OnResume: @ 81F7737
+ call AbnormalWeather_Underwater_SetupEscapeWarp
+ end
+