summaryrefslogtreecommitdiff
path: root/data/maps/CaveOfOrigin_UnusedRubySapphireMap2
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-02-04 21:36:18 -0600
committerGitHub <noreply@github.com>2019-02-04 21:36:18 -0600
commitb0ee1009759ed1c46da81b1fb8410e2b75e42bb2 (patch)
treeceee3e124b987b8dd24cb3a7bba85d4effe1ef5d /data/maps/CaveOfOrigin_UnusedRubySapphireMap2
parent646533cfa3c8c42aee3efedaadfe49e495b64892 (diff)
parentd4125fef9bc9adb95c7a5fb5b8be903b34adc510 (diff)
Merge pull request #543 from pret/mapdata
Convert map data to JSON
Diffstat (limited to 'data/maps/CaveOfOrigin_UnusedRubySapphireMap2')
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap2/events.inc7
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc15
-rw-r--r--data/maps/CaveOfOrigin_UnusedRubySapphireMap2/map.json35
3 files changed, 35 insertions, 22 deletions
diff --git a/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/events.inc b/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/events.inc
deleted file mode 100644
index 5af05a471..000000000
--- a/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/events.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-CaveOfOrigin_UnusedRubySapphireMap2_MapWarps: @ 8535D88
- warp_def 5, 10, 3, 1, MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP1
- warp_def 8, 14, 3, 0, MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3
-
-CaveOfOrigin_UnusedRubySapphireMap2_MapEvents:: @ 8535D98
- map_events 0x0, CaveOfOrigin_UnusedRubySapphireMap2_MapWarps, 0x0, 0x0
-
diff --git a/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc b/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc
deleted file mode 100644
index 0088131dc..000000000
--- a/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/header.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-CaveOfOrigin_UnusedRubySapphireMap2: @ 8484320
- .4byte CaveOfOrigin_UnusedRubySapphireMap2_Layout
- .4byte CaveOfOrigin_UnusedRubySapphireMap2_MapEvents
- .4byte CaveOfOrigin_UnusedRubySapphireMap2_MapScripts
- .4byte 0x0
- .2byte MUS_DAN03
- .2byte 160
- .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_UnusedRubySapphireMap2/map.json b/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/map.json
new file mode 100644
index 000000000..8b83029e3
--- /dev/null
+++ b/data/maps/CaveOfOrigin_UnusedRubySapphireMap2/map.json
@@ -0,0 +1,35 @@
+{
+ "id": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2",
+ "name": "CaveOfOrigin_UnusedRubySapphireMap2",
+ "layout": "LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2",
+ "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": 5,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP1",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 8,
+ "y": 14,
+ "elevation": 3,
+ "dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file