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,20 +0,0 @@
CeladonCity_Condominiums_1F_EventObjects:
object_event 1, 125, 0, 1, 0, 9, 0, 3, 10, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_1F_EventScript_16C38E, 0, 0, 0
object_event 2, 113, 0, 5, 0, 13, 0, 3, 5, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_1F_EventScript_16C3A1, 0, 0, 0
object_event 3, 122, 0, 5, 0, 8, 0, 3, 2, 18, 0, 0, 0, 0, 0, CeladonCity_Condominiums_1F_EventScript_16C3B4, 0, 0, 0
object_event 4, 35, 0, 2, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_1F_EventScript_16C321, 0, 0, 0
CeladonCity_Condominiums_1F_MapWarps:
warp_def 11, 19, 0, 3, 774
warp_def 12, 18, 3, 3, 774
warp_def 13, 19, 0, 3, 774
warp_def 4, 2, 3, 0, 2568
warp_def 12, 2, 3, 3, 2568
warp_def 2, 1, 3, 11, 774
CeladonCity_Condominiums_1F_MapBGEvents:
bg_event 8, 12, 0, 0, 0, CeladonCity_Condominiums_1F_EventScript_16C3C7
bg_event 7, 12, 0, 0, 0, CeladonCity_Condominiums_1F_EventScript_16C3C7
CeladonCity_Condominiums_1F_MapEvents::
map_events CeladonCity_Condominiums_1F_EventObjects, CeladonCity_Condominiums_1F_MapWarps, 0x0, CeladonCity_Condominiums_1F_MapBGEvents
@@ -1,8 +0,0 @@
CeladonCity_Condominiums_1F:: @ 83512AC
.4byte CeladonCity_Condominiums_1F_Layout @ 0x831A7DC
.4byte CeladonCity_Condominiums_1F_MapEvents @ 0x83BB538
.4byte CeladonCity_Condominiums_1F_MapScripts @ 0x816C320
.4byte NULL
.2byte BGM_FRLG_CELADON_CITY
.2byte 184
.byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
@@ -0,0 +1,130 @@
{
"id": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
"name": "CeladonCity_Condominiums_1F",
"layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_1F",
"music": "BGM_FRLG_CELADON_CITY",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "125",
"x": 1,
"y": 9,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Condominiums_1F_EventScript_16C38E",
"flag": "0"
},
{
"graphics_id": "113",
"x": 5,
"y": 13,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Condominiums_1F_EventScript_16C3A1",
"flag": "0"
},
{
"graphics_id": "122",
"x": 5,
"y": 8,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Condominiums_1F_EventScript_16C3B4",
"flag": "0"
},
{
"graphics_id": "35",
"x": 2,
"y": 9,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Condominiums_1F_EventScript_16C321",
"flag": "0"
}
],
"warp_events": [
{
"x": 11,
"y": 19,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": 3
},
{
"x": 12,
"y": 18,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": 3
},
{
"x": 13,
"y": 19,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": 3
},
{
"x": 4,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"dest_warp_id": 0
},
{
"x": 12,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"dest_warp_id": 3
},
{
"x": 2,
"y": 1,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": 11
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 8,
"y": 12,
"elevation": 0,
"script": "CeladonCity_Condominiums_1F_EventScript_16C3C7"
},
{
"type": "bg_event_type_0",
"x": 7,
"y": 12,
"elevation": 0,
"script": "CeladonCity_Condominiums_1F_EventScript_16C3C7"
}
]
}