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,27 +0,0 @@
CeladonCity_DepartmentStore_3F_EventObjects:
object_event 1, 68, 0, 10, 0, 9, 0, 3, 7, 17, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BB85, 0, 0, 0
object_event 2, 51, 0, 11, 0, 6, 0, 3, 8, 17, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BB8B, 0, 0, 0
object_event 3, 51, 0, 4, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BB9D, 0, 0, 0
object_event 4, 51, 0, 1, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BB94, 0, 0, 0
object_event 5, 17, 0, 9, 0, 14, 0, 3, 14, 17, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBA6, 0, 0, 0
CeladonCity_DepartmentStore_3F_MapWarps:
warp_def 6, 1, 0, 0, 2566
warp_def 9, 2, 0, 2, 2561
warp_def 3, 2, 0, 1, 2563
CeladonCity_DepartmentStore_3F_MapBGEvents:
bg_event 8, 1, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBDC
bg_event 2, 8, 0, 1, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBB8
bg_event 5, 8, 0, 1, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBC1
bg_event 2, 11, 0, 1, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBCA
bg_event 5, 11, 0, 1, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBD3
bg_event 1, 8, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBAF
bg_event 1, 11, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBAF
bg_event 4, 8, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBAF
bg_event 4, 11, 0, 0, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBAF
bg_event 2, 4, 0, 1, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBE5
bg_event 0, 4, 0, 1, 0, CeladonCity_DepartmentStore_3F_EventScript_16BBE5
CeladonCity_DepartmentStore_3F_MapEvents::
map_events CeladonCity_DepartmentStore_3F_EventObjects, CeladonCity_DepartmentStore_3F_MapWarps, 0x0, CeladonCity_DepartmentStore_3F_MapBGEvents
@@ -1,8 +0,0 @@
CeladonCity_DepartmentStore_3F:: @ 8351220
.4byte CeladonCity_DepartmentStore_3F_Layout @ 0x831B954
.4byte CeladonCity_DepartmentStore_3F_MapEvents @ 0x83BB2AC
.4byte CeladonCity_DepartmentStore_3F_MapScripts @ 0x816BB84
.4byte NULL
.2byte BGM_FRLG_POKEMON_CENTER
.2byte 194
.byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x03, 0x00
@@ -0,0 +1,185 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_3F",
"name": "CeladonCity_DepartmentStore_3F",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_3F",
"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": 3,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "68",
"x": 10,
"y": 9,
"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_DepartmentStore_3F_EventScript_16BB85",
"flag": "0"
},
{
"graphics_id": "51",
"x": 11,
"y": 6,
"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_DepartmentStore_3F_EventScript_16BB8B",
"flag": "0"
},
{
"graphics_id": "51",
"x": 4,
"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_DepartmentStore_3F_EventScript_16BB9D",
"flag": "0"
},
{
"graphics_id": "51",
"x": 1,
"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_DepartmentStore_3F_EventScript_16BB94",
"flag": "0"
},
{
"graphics_id": "17",
"x": 9,
"y": 14,
"elevation": 3,
"movement_type": "14",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBA6",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"dest_warp_id": 0
},
{
"x": 9,
"y": 2,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_2F",
"dest_warp_id": 2
},
{
"x": 3,
"y": 2,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_4F",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 8,
"y": 1,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBDC"
},
{
"type": "bg_event_type_1",
"x": 2,
"y": 8,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBB8"
},
{
"type": "bg_event_type_1",
"x": 5,
"y": 8,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBC1"
},
{
"type": "bg_event_type_1",
"x": 2,
"y": 11,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBCA"
},
{
"type": "bg_event_type_1",
"x": 5,
"y": 11,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBD3"
},
{
"type": "bg_event_type_0",
"x": 1,
"y": 8,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
},
{
"type": "bg_event_type_0",
"x": 1,
"y": 11,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
},
{
"type": "bg_event_type_0",
"x": 4,
"y": 8,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
},
{
"type": "bg_event_type_0",
"x": 4,
"y": 11,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBAF"
},
{
"type": "bg_event_type_1",
"x": 2,
"y": 4,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBE5"
},
{
"type": "bg_event_type_1",
"x": 0,
"y": 4,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_3F_EventScript_16BBE5"
}
]
}