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,24 +0,0 @@
CeladonCity_Condominiums_3F_EventObjects:
object_event 1, 26, 0, 0, 0, 10, 0, 3, 7, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_3F_EventScript_16C3DB, 0, 0, 0
object_event 2, 25, 0, 3, 0, 8, 0, 3, 8, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_3F_EventScript_16C3F6, 0, 0, 0
object_event 3, 52, 0, 4, 0, 10, 0, 3, 7, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_3F_EventScript_16C3E4, 0, 0, 0
object_event 4, 27, 0, 0, 0, 13, 0, 3, 10, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_3F_EventScript_16C3ED, 0, 0, 0
CeladonCity_Condominiums_3F_MapWarps:
warp_def 2, 2, 3, 1, 2568
warp_def 4, 2, 3, 0, 2570
warp_def 12, 2, 3, 1, 2570
warp_def 11, 2, 3, 2, 2568
CeladonCity_Condominiums_3F_MapBGEvents:
bg_event 8, 12, 0, 0, 0, CeladonCity_Condominiums_3F_EventScript_16C435
bg_event 1, 9, 0, 1, 0, CeladonCity_Condominiums_3F_EventScript_16C43E
bg_event 5, 9, 0, 1, 0, CeladonCity_Condominiums_3F_EventScript_16C447
bg_event 1, 12, 0, 1, 0, CeladonCity_Condominiums_3F_EventScript_16C450
bg_event 7, 12, 0, 0, 0, CeladonCity_Condominiums_3F_EventScript_16C435
bg_event 0, 12, 0, 1, 0, CeladonCity_Condominiums_3F_EventScript_16C450
bg_event 0, 9, 0, 1, 0, CeladonCity_Condominiums_3F_EventScript_16C43E
bg_event 4, 9, 0, 1, 0, CeladonCity_Condominiums_3F_EventScript_16C447
CeladonCity_Condominiums_3F_MapEvents::
map_events CeladonCity_Condominiums_3F_EventObjects, CeladonCity_Condominiums_3F_MapWarps, 0x0, CeladonCity_Condominiums_3F_MapBGEvents
@@ -1,8 +0,0 @@
CeladonCity_Condominiums_3F:: @ 83512E4
.4byte CeladonCity_Condominiums_3F_Layout @ 0x831ACD4
.4byte CeladonCity_Condominiums_3F_MapEvents @ 0x83BB6A8
.4byte CeladonCity_Condominiums_3F_MapScripts @ 0x816C3DA
.4byte NULL
.2byte BGM_FRLG_CELADON_CITY
.2byte 186
.byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
@@ -0,0 +1,158 @@
{
"id": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
"name": "CeladonCity_Condominiums_3F",
"layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_3F",
"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": "26",
"x": 0,
"y": 10,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C3DB",
"flag": "0"
},
{
"graphics_id": "25",
"x": 3,
"y": 8,
"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_3F_EventScript_16C3F6",
"flag": "0"
},
{
"graphics_id": "52",
"x": 4,
"y": 10,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C3E4",
"flag": "0"
},
{
"graphics_id": "27",
"x": 0,
"y": 13,
"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_3F_EventScript_16C3ED",
"flag": "0"
}
],
"warp_events": [
{
"x": 2,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"dest_warp_id": 1
},
{
"x": 4,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
"dest_warp_id": 0
},
{
"x": 12,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
"dest_warp_id": 1
},
{
"x": 11,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"dest_warp_id": 2
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 8,
"y": 12,
"elevation": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C435"
},
{
"type": "bg_event_type_1",
"x": 1,
"y": 9,
"elevation": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C43E"
},
{
"type": "bg_event_type_1",
"x": 5,
"y": 9,
"elevation": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C447"
},
{
"type": "bg_event_type_1",
"x": 1,
"y": 12,
"elevation": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C450"
},
{
"type": "bg_event_type_0",
"x": 7,
"y": 12,
"elevation": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C435"
},
{
"type": "bg_event_type_1",
"x": 0,
"y": 12,
"elevation": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C450"
},
{
"type": "bg_event_type_1",
"x": 0,
"y": 9,
"elevation": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C43E"
},
{
"type": "bg_event_type_1",
"x": 4,
"y": 9,
"elevation": 0,
"script": "CeladonCity_Condominiums_3F_EventScript_16C447"
}
]
}