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,12 +0,0 @@
ThreeIsland_DunsparceTunnel_EventObjects:
object_event 1, 27, 0, 23, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, ThreeIsland_DunsparceTunnel_EventScript_164D60, 0, 0, 0
ThreeIsland_DunsparceTunnel_MapWarps:
warp_def 3, 4, 3, 0, 817
warp_def 25, 5, 3, 1, 817
ThreeIsland_DunsparceTunnel_MapBGEvents:
bg_event 21, 3, 0, 7, 0, 110, 163, 1
ThreeIsland_DunsparceTunnel_MapEvents::
map_events ThreeIsland_DunsparceTunnel_EventObjects, ThreeIsland_DunsparceTunnel_MapWarps, 0x0, ThreeIsland_DunsparceTunnel_MapBGEvents
@@ -1,8 +0,0 @@
ThreeIsland_DunsparceTunnel:: @ 8350340
.4byte ThreeIsland_DunsparceTunnel_Layout @ 0x83451F8
.4byte ThreeIsland_DunsparceTunnel_MapEvents @ 0x83B4788
.4byte ThreeIsland_DunsparceTunnel_MapScripts @ 0x8164D26
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_FOREST
.2byte 318
.byte 0xb9, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
@@ -0,0 +1,58 @@
{
"id": "MAP_THREE_ISLAND_DUNSPARCE_TUNNEL",
"name": "ThreeIsland_DunsparceTunnel",
"layout": "LAYOUT_THREE_ISLAND_DUNSPARCE_TUNNEL",
"music": "BGM_FRLG_VIRIDIAN_FOREST",
"region_map_section": "MAPSEC_THREE_ISLE_PATH",
"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": "27",
"x": 23,
"y": 2,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "ThreeIsland_DunsparceTunnel_EventScript_164D60",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 4,
"elevation": 3,
"dest_map": "MAP_THREE_ISLAND_PORT",
"dest_warp_id": 0
},
{
"x": 25,
"y": 5,
"elevation": 3,
"dest_map": "MAP_THREE_ISLAND_PORT",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 21,
"y": 3,
"elevation": 0,
"item": "ITEM_NUGGET",
"flag": "163",
"unknown": 1
}
]
}