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 @@
CeladonCity_DepartmentStore_Roof_EventObjects:
object_event 1, 41, 0, 9, 0, 5, 0, 3, 9, 17, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_Roof_EventScript_16C022, 0, 0, 0
object_event 2, 17, 0, 5, 0, 4, 0, 3, 2, 18, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_Roof_EventScript_16BCCD, 0, 0, 0
CeladonCity_DepartmentStore_Roof_MapWarps:
warp_def 15, 6, 3, 2, 2564
CeladonCity_DepartmentStore_Roof_MapBGEvents:
bg_event 14, 3, 0, 0, 0, CeladonCity_DepartmentStore_Roof_EventScript_16C02B
bg_event 10, 3, 0, 0, 0, CeladonCity_DepartmentStore_Roof_EventScript_16C034
bg_event 11, 3, 0, 0, 0, CeladonCity_DepartmentStore_Roof_EventScript_16C034
bg_event 12, 3, 0, 0, 0, CeladonCity_DepartmentStore_Roof_EventScript_16C034
CeladonCity_DepartmentStore_Roof_MapEvents::
map_events CeladonCity_DepartmentStore_Roof_EventObjects, CeladonCity_DepartmentStore_Roof_MapWarps, 0x0, CeladonCity_DepartmentStore_Roof_MapBGEvents
@@ -1,8 +0,0 @@
CeladonCity_DepartmentStore_Roof:: @ 8351274
.4byte CeladonCity_DepartmentStore_Roof_Layout @ 0x831BEE4
.4byte CeladonCity_DepartmentStore_Roof_MapEvents @ 0x83BB440
.4byte CeladonCity_DepartmentStore_Roof_MapScripts @ 0x816BCCC
.4byte NULL
.2byte BGM_FRLG_POKEMON_CENTER
.2byte 197
.byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x7f, 0x00
@@ -0,0 +1,83 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_ROOF",
"name": "CeladonCity_DepartmentStore_Roof",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ROOF",
"music": "BGM_FRLG_POKEMON_CENTER",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 4,
"elevator_flag": 127,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "41",
"x": 9,
"y": 5,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C022",
"flag": "0"
},
{
"graphics_id": "17",
"x": 5,
"y": 4,
"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_DepartmentStore_Roof_EventScript_16BCCD",
"flag": "0"
}
],
"warp_events": [
{
"x": 15,
"y": 6,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_5F",
"dest_warp_id": 2
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 14,
"y": 3,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C02B"
},
{
"type": "bg_event_type_0",
"x": 10,
"y": 3,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
},
{
"type": "bg_event_type_0",
"x": 11,
"y": 3,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
},
{
"type": "bg_event_type_0",
"x": 12,
"y": 3,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_Roof_EventScript_16C034"
}
]
}