summaryrefslogtreecommitdiff
path: root/data/maps/MtEmber_RubyPath_B5F
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_B5F
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/MtEmber_RubyPath_B5F')
-rw-r--r--data/maps/MtEmber_RubyPath_B5F/events.inc11
-rw-r--r--data/maps/MtEmber_RubyPath_B5F/header.inc8
-rw-r--r--data/maps/MtEmber_RubyPath_B5F/map.json49
3 files changed, 49 insertions, 19 deletions
diff --git a/data/maps/MtEmber_RubyPath_B5F/events.inc b/data/maps/MtEmber_RubyPath_B5F/events.inc
deleted file mode 100644
index a9f1890eb..000000000
--- a/data/maps/MtEmber_RubyPath_B5F/events.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-MtEmber_RubyPath_B5F_EventObjects:
- object_event 1, 99, 0, 7, 0, 7, 0, 0, 8, 0, 0, 0, 0, 0, 0, MtEmber_RubyPath_B5F_EventScript_163C49, 138, 0, 0
-
-MtEmber_RubyPath_B5F_MapWarps:
- warp_def 11, 7, 3, 0, 352
-
-MtEmber_RubyPath_B5F_MapBGEvents:
- bg_event 7, 2, 0, 1, 0, MtEmber_RubyPath_B5F_EventScript_163BAB
-
-MtEmber_RubyPath_B5F_MapEvents::
- map_events MtEmber_RubyPath_B5F_EventObjects, MtEmber_RubyPath_B5F_MapWarps, 0x0, MtEmber_RubyPath_B5F_MapBGEvents
diff --git a/data/maps/MtEmber_RubyPath_B5F/header.inc b/data/maps/MtEmber_RubyPath_B5F/header.inc
deleted file mode 100644
index 8fbb65498..000000000
--- a/data/maps/MtEmber_RubyPath_B5F/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-MtEmber_RubyPath_B5F:: @ 834FD3C
- .4byte MtEmber_RubyPath_B5F_Layout @ 0x833FF60
- .4byte MtEmber_RubyPath_B5F_MapEvents @ 0x83B2E3C
- .4byte MtEmber_RubyPath_B5F_MapScripts @ 0x8163BAA
- .4byte NULL
- .2byte BGM_FRLG_MT_EMBER
- .2byte 291
- .byte 0xaf, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
diff --git a/data/maps/MtEmber_RubyPath_B5F/map.json b/data/maps/MtEmber_RubyPath_B5F/map.json
new file mode 100644
index 000000000..320bff06d
--- /dev/null
+++ b/data/maps/MtEmber_RubyPath_B5F/map.json
@@ -0,0 +1,49 @@
+{
+ "id": "MAP_MT_EMBER_RUBY_PATH_B5F",
+ "name": "MtEmber_RubyPath_B5F",
+ "layout": "LAYOUT_MT_EMBER_RUBY_PATH_B5F",
+ "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": "99",
+ "x": 7,
+ "y": 7,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 0,
+ "movement_range_y": 0,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "MtEmber_RubyPath_B5F_EventScript_163C49",
+ "flag": "138"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 11,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_MT_EMBER_RUBY_PATH_B4F",
+ "dest_warp_id": 0
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_1",
+ "x": 7,
+ "y": 2,
+ "elevation": 0,
+ "script": "MtEmber_RubyPath_B5F_EventScript_163BAB"
+ }
+ ]
+} \ No newline at end of file