Convert map data to JSON

This commit is contained in:
Marcus Huderle
2019-01-31 15:51:20 -06:00
parent 5c1667b41a
commit 29d6221935
2102 changed files with 72595 additions and 27039 deletions
@@ -1,7 +0,0 @@
AbandonedShip_Underwater1_MapWarps:
warp_def 3, 7, 3, 0, MAP_ABANDONED_SHIP_UNDERWATER2
warp_def 4, 7, 3, 0, MAP_ABANDONED_SHIP_UNDERWATER2
AbandonedShip_Underwater1_MapEvents::
map_events 0x0, AbandonedShip_Underwater1_MapWarps, 0x0, 0x0
@@ -1,15 +0,0 @@
AbandonedShip_Underwater1:
.4byte AbandonedShip_Underwater1_Layout
.4byte AbandonedShip_Underwater1_MapEvents
.4byte AbandonedShip_Underwater1_MapScripts
.4byte 0x0
.2byte MUS_DEEPDEEP
.2byte LAYOUT_ABANDONED_SHIP_UNDERWATER1
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_BUBBLES
.byte MAP_TYPE_UNDERWATER
.2byte 0
map_header_flags allow_bike=1, allow_escape_rope=0, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
@@ -0,0 +1,35 @@
{
"id": "MAP_ABANDONED_SHIP_UNDERWATER1",
"name": "AbandonedShip_Underwater1",
"layout": "LAYOUT_ABANDONED_SHIP_UNDERWATER1",
"music": "MUS_DEEPDEEP",
"region_map_section": "MAPSEC_ABANDONED_SHIP",
"requires_flash": false,
"weather": "WEATHER_BUBBLES",
"map_type": "MAP_TYPE_UNDERWATER",
"allow_bike": true,
"allow_escape_rope": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_UNDERWATER2",
"dest_warp_id": 0
},
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_UNDERWATER2",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}