convert map data to json

This commit is contained in:
garak
2019-05-13 19:44:24 -04:00
parent 4b98d7d07a
commit 55d66b5177
2112 changed files with 53337 additions and 19410 deletions
@@ -1,15 +0,0 @@
UndergroundPath_NorthSouthTunnel_MapWarps:
warp_def 4, 3, 3, 3, 286
warp_def 3, 60, 3, 3, 288
UndergroundPath_NorthSouthTunnel_MapBGEvents:
bg_event 5, 30, 3, 7, 0, 13, 70, 1
bg_event 5, 6, 3, 7, 0, 14, 71, 1
bg_event 2, 57, 3, 7, 0, 15, 74, 1
bg_event 1, 24, 3, 7, 0, 17, 73, 1
bg_event 6, 53, 3, 7, 0, 16, 75, 1
bg_event 3, 15, 3, 7, 0, 18, 72, 1
bg_event 3, 39, 3, 7, 0, 34, 76, 1
UndergroundPath_NorthSouthTunnel_MapEvents::
map_events 0x0, UndergroundPath_NorthSouthTunnel_MapWarps, 0x0, UndergroundPath_NorthSouthTunnel_MapBGEvents
@@ -1,8 +0,0 @@
UndergroundPath_NorthSouthTunnel:: @ 834F578
.4byte UndergroundPath_NorthSouthTunnel_Layout @ 0x8319CAC
.4byte UndergroundPath_NorthSouthTunnel_MapEvents @ 0x83AF2D4
.4byte UndergroundPath_NorthSouthTunnel_MapScripts @ 0x8160EB5
.4byte NULL
.2byte BGM_FRLG_ROUTE_1
.2byte 174
.byte 0x81, 0x00, 0x00, 0x08, 0x01, 0x06, 0x00, 0x00
@@ -0,0 +1,98 @@
{
"id": "MAP_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL",
"name": "UndergroundPath_NorthSouthTunnel",
"layout": "LAYOUT_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL",
"music": "BGM_FRLG_ROUTE_1",
"region_map_section": "MAPSEC_UNDERGROUND_PATH",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 4,
"y": 3,
"elevation": 3,
"dest_map": "MAP_UNDERGROUND_PATH_NORTH_ENTRANCE",
"dest_warp_id": 3
},
{
"x": 3,
"y": 60,
"elevation": 3,
"dest_map": "MAP_UNDERGROUND_PATH_SOUTH_ENTRANCE",
"dest_warp_id": 3
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 5,
"y": 30,
"elevation": 3,
"item": "ITEM_POTION",
"flag": "70",
"unknown": 1
},
{
"type": "hidden_item",
"x": 5,
"y": 6,
"elevation": 3,
"item": "ITEM_ANTIDOTE",
"flag": "71",
"unknown": 1
},
{
"type": "hidden_item",
"x": 2,
"y": 57,
"elevation": 3,
"item": "ITEM_BURN_HEAL",
"flag": "74",
"unknown": 1
},
{
"type": "hidden_item",
"x": 1,
"y": 24,
"elevation": 3,
"item": "ITEM_AWAKENING",
"flag": "73",
"unknown": 1
},
{
"type": "hidden_item",
"x": 6,
"y": 53,
"elevation": 3,
"item": "ITEM_ICE_HEAL",
"flag": "75",
"unknown": 1
},
{
"type": "hidden_item",
"x": 3,
"y": 15,
"elevation": 3,
"item": "ITEM_PARALYZE_HEAL",
"flag": "72",
"unknown": 1
},
{
"type": "hidden_item",
"x": 3,
"y": 39,
"elevation": 3,
"item": "ITEM_ETHER",
"flag": "76",
"unknown": 1
}
]
}