summaryrefslogtreecommitdiff
path: root/data/maps/CaveOfOrigin_UnusedRubySapphireMap3
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2019-01-31 15:51:20 -0600
committerMarcus Huderle <huderlem@gmail.com>2019-01-31 15:51:20 -0600
commit29d6221935d3e8e01dc11b4023ba977ff433f3c9 (patch)
tree0b7af297b60ce14bf03d6613952269ef0fa66676 /data/maps/CaveOfOrigin_UnusedRubySapphireMap3
parent5c1667b41a7d31df6d405d272833895bf8472cf6 (diff)
Convert map data to JSON
Diffstat (limited to 'data/maps/CaveOfOrigin_UnusedRubySapphireMap3')
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap3/events.inc7
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc15
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap3/map.json35
3 files changed, 35 insertions, 22 deletions
diff --git a/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/events.inc b/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/events.inc
deleted file mode 100644
index e1cacec43..000000000
--- a/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/events.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-CaveOfOrigin_UnusedRubySapphireMap3_MapWarps:
- warp_def 7, 14, 3, 1, MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2
- warp_def 12, 6, 3, 0, MAP_CAVE_OF_ORIGIN_B1F
-
-CaveOfOrigin_UnusedRubySapphireMap3_MapEvents::
- map_events 0x0, CaveOfOrigin_UnusedRubySapphireMap3_MapWarps, 0x0, 0x0
-
diff --git a/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc b/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc
deleted file mode 100644
index ec55cb0ff..000000000
--- a/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/header.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-CaveOfOrigin_UnusedRubySapphireMap3:
- .4byte CaveOfOrigin_UnusedRubySapphireMap3_Layout
- .4byte CaveOfOrigin_UnusedRubySapphireMap3_MapEvents
- .4byte CaveOfOrigin_UnusedRubySapphireMap3_MapScripts
- .4byte 0x0
- .2byte MUS_DAN03
- .2byte LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3
- .byte MAPSEC_CAVE_OF_ORIGIN
- .byte 1
- .byte WEATHER_FOG_1
- .byte MAP_TYPE_UNDERGROUND
- .2byte 0
- map_header_flags allow_bike=1, allow_escape_rope=1, allow_run=1, show_map_name=1
- .byte MAP_BATTLE_SCENE_NORMAL
-
diff --git a/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/map.json b/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/map.json
new file mode 100644
index 000000000..2b7c6db19
--- /dev/null
+++ b/data/maps/CaveOfOrigin_UnusedRubySapphireMap3/map.json
@@ -0,0 +1,35 @@
+{
+ "id": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3",
+ "name": "CaveOfOrigin_UnusedRubySapphireMap3",
+ "layout": "LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3",
+ "music": "MUS_DAN03",
+ "region_map_section": "MAPSEC_CAVE_OF_ORIGIN",
+ "requires_flash": true,
+ "weather": "WEATHER_FOG_1",
+ "map_type": "MAP_TYPE_UNDERGROUND",
+ "allow_bike": true,
+ "allow_escape_rope": true,
+ "allow_running": true,
+ "show_map_name": true,
+ "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
+ "connections": null,
+ "object_events": [],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 12,
+ "y": 6,
+ "elevation": 3,
+ "dest_map": "MAP_CAVE_OF_ORIGIN_B1F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file