summaryrefslogtreecommitdiff
path: root/data/maps/MtEmber_RubyPath_B3F
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-05-13 19:44:24 -0400
committergarak <garakmon@gmail.com>2019-05-13 19:44:24 -0400
commit55d66b51770b4f657ed55822e7e76f6d6e3261d8 (patch)
tree1c324c7d2108afb678d2260e63b5591a04571b0d /data/maps/MtEmber_RubyPath_B3F
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/MtEmber_RubyPath_B3F')
-rw-r--r--data/maps/MtEmber_RubyPath_B3F/events.inc19
-rw-r--r--data/maps/MtEmber_RubyPath_B3F/header.inc8
-rw-r--r--data/maps/MtEmber_RubyPath_B3F/map.json172
3 files changed, 172 insertions, 27 deletions
diff --git a/data/maps/MtEmber_RubyPath_B3F/events.inc b/data/maps/MtEmber_RubyPath_B3F/events.inc
deleted file mode 100644
index 0bab7c507..000000000
--- a/data/maps/MtEmber_RubyPath_B3F/events.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-MtEmber_RubyPath_B3F_EventObjects:
- object_event 1, 97, 0, 10, 0, 4, 0, 3, 1, 0, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE11D, 0, 0, 0
- object_event 2, 97, 0, 26, 0, 12, 0, 3, 1, 0, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE11D, 0, 0, 0
- object_event 3, 97, 0, 28, 0, 8, 0, 3, 1, 0, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE11D, 0, 0, 0
- object_event 4, 96, 0, 7, 0, 2, 0, 3, 1, 17, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE00C, 18, 0, 0
- object_event 5, 96, 0, 4, 0, 3, 0, 3, 1, 17, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE00C, 19, 0, 0
- object_event 6, 96, 0, 6, 0, 6, 0, 3, 1, 17, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE00C, 20, 0, 0
- object_event 7, 96, 0, 7, 0, 6, 0, 3, 1, 17, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE00C, 21, 0, 0
- object_event 8, 96, 0, 4, 0, 5, 0, 3, 1, 17, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE00C, 22, 0, 0
- object_event 9, 96, 0, 5, 0, 2, 0, 3, 1, 17, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE00C, 23, 0, 0
- object_event 10, 97, 0, 15, 0, 13, 0, 3, 1, 0, 0, 0, 0, 0, 0, MtEmber_RubyPath_B3F_EventScript_1BE11D, 0, 0, 0
-
-MtEmber_RubyPath_B3F_MapWarps:
- warp_def 1, 4, 0, 1, 361
- warp_def 19, 19, 3, 0, 363
- warp_def 5, 19, 3, 1, 352
-
-MtEmber_RubyPath_B3F_MapEvents::
- map_events MtEmber_RubyPath_B3F_EventObjects, MtEmber_RubyPath_B3F_MapWarps, 0x0, 0x0
diff --git a/data/maps/MtEmber_RubyPath_B3F/header.inc b/data/maps/MtEmber_RubyPath_B3F/header.inc
deleted file mode 100644
index bcf17a29f..000000000
--- a/data/maps/MtEmber_RubyPath_B3F/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-MtEmber_RubyPath_B3F:: @ 834FDAC
- .4byte MtEmber_RubyPath_B3F_Layout @ 0x833FC60
- .4byte MtEmber_RubyPath_B3F_MapEvents @ 0x83B314C
- .4byte MtEmber_RubyPath_B3F_MapScripts @ 0x8163C48
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 288
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
diff --git a/data/maps/MtEmber_RubyPath_B3F/map.json b/data/maps/MtEmber_RubyPath_B3F/map.json
new file mode 100644
index 000000000..3b681233c
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B3F/map.json
@@ -0,0 +1,172 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B3F",
+ "name": "MtEmber_RubyPath_B3F",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B3F",
+ "music": "BGM_FRLG_MT_EMBER",
+ "region_map_section": "MAPSEC_MT_EMBER",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_4",
+ "unknown_18": 1,
+ "unknown_19": 7,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "97",
+ "x": 10,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 26,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "97",
+ "x": 28,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE11D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "96",
+ "x": 7,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "96",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "96",
+ "x": 7,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "21"
+ },
+ {
+ "graphics_id": "96",
+ "x": 4,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "22"
+ },
+ {
+ "graphics_id": "96",
+ "x": 5,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE00C",
+ "flag": "23"
+ },
+ {
+ "graphics_id": "97",
+ "x": 15,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B3F_EventScript_1BE11D",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 1,
+ "y": 4,
+ "elevation": 0,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B2F",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 19,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B1F_STAIRS",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 5,
+ "y": 19,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B4F",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file