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,16 +0,0 @@
CeladonCity_DepartmentStore_2F_EventObjects:
object_event 1, 22, 0, 5, 0, 10, 0, 3, 3, 18, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_2F_EventScript_16BAFE, 0, 0, 0
object_event 2, 68, 0, 1, 0, 8, 0, 0, 8, 19, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_2F_EventScript_16BB10, 0, 0, 0
object_event 3, 68, 0, 1, 0, 6, 0, 3, 10, 19, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_2F_EventScript_16BB4E, 0, 0, 0
object_event 4, 23, 0, 11, 0, 6, 0, 3, 5, 17, 0, 0, 0, 0, 0, CeladonCity_DepartmentStore_2F_EventScript_1AD053, 157, 0, 0
CeladonCity_DepartmentStore_2F_MapWarps:
warp_def 6, 1, 0, 0, 2566
warp_def 3, 2, 3, 7, 2560
warp_def 9, 2, 3, 1, 2562
CeladonCity_DepartmentStore_2F_MapBGEvents:
bg_event 4, 1, 0, 0, 0, CeladonCity_DepartmentStore_2F_EventScript_16BB07
CeladonCity_DepartmentStore_2F_MapEvents::
map_events CeladonCity_DepartmentStore_2F_EventObjects, CeladonCity_DepartmentStore_2F_MapWarps, 0x0, CeladonCity_DepartmentStore_2F_MapBGEvents
@@ -1,8 +0,0 @@
CeladonCity_DepartmentStore_2F:: @ 8351204
.4byte CeladonCity_DepartmentStore_2F_Layout @ 0x831B7A8
.4byte CeladonCity_DepartmentStore_2F_MapEvents @ 0x83BB184
.4byte CeladonCity_DepartmentStore_2F_MapScripts @ 0x816BAF4
.4byte NULL
.2byte BGM_FRLG_POKEMON_CENTER
.2byte 193
.byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x04, 0x02, 0x00
@@ -0,0 +1,102 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_2F",
"name": "CeladonCity_DepartmentStore_2F",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_2F",
"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": 2,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "22",
"x": 5,
"y": 10,
"elevation": 3,
"movement_type": "3",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_DepartmentStore_2F_EventScript_16BAFE",
"flag": "0"
},
{
"graphics_id": "68",
"x": 1,
"y": 8,
"elevation": 0,
"movement_type": "8",
"movement_range_x": 3,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_DepartmentStore_2F_EventScript_16BB10",
"flag": "0"
},
{
"graphics_id": "68",
"x": 1,
"y": 6,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 3,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_DepartmentStore_2F_EventScript_16BB4E",
"flag": "0"
},
{
"graphics_id": "23",
"x": 11,
"y": 6,
"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_DepartmentStore_2F_EventScript_1AD053",
"flag": "157"
}
],
"warp_events": [
{
"x": 6,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"dest_warp_id": 0
},
{
"x": 3,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
"dest_warp_id": 7
},
{
"x": 9,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_3F",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 4,
"y": 1,
"elevation": 0,
"script": "CeladonCity_DepartmentStore_2F_EventScript_16BB07"
}
]
}