Convert map data to JSON

This commit is contained in:
Marcus Huderle
2019-01-31 15:51:20 -06:00
parent 5c1667b41a
commit 29d6221935
2102 changed files with 72595 additions and 27039 deletions
@@ -1,15 +0,0 @@
LilycoveCity_DepartmentStore_2F_EventObjects:
object_event 1, EVENT_OBJ_GFX_COOK, 0, 8, 2, 3, MOVEMENT_TYPE_FACE_DOWN, 0, 0, 0, 0, LilycoveCity_DepartmentStore_2F_EventScript_21FB2D, 0
object_event 2, EVENT_OBJ_GFX_POKEFAN_F, 0, 0, 5, 3, MOVEMENT_TYPE_WANDER_AROUND, 1, 1, 0, 0, LilycoveCity_DepartmentStore_2F_EventScript_21FB36, 0
object_event 3, EVENT_OBJ_GFX_SAILOR, 0, 13, 5, 3, MOVEMENT_TYPE_WANDER_AROUND, 1, 1, 0, 0, LilycoveCity_DepartmentStore_2F_EventScript_21FB3F, 0
object_event 4, EVENT_OBJ_GFX_WOMAN_3, 0, 10, 6, 3, MOVEMENT_TYPE_FACE_UP, 0, 0, 0, 0, LilycoveCity_DepartmentStore_2F_EventScript_21FB7A, 0
object_event 5, EVENT_OBJ_GFX_WOMAN_3, 0, 7, 6, 3, MOVEMENT_TYPE_FACE_UP, 0, 0, 0, 0, LilycoveCity_DepartmentStore_2F_EventScript_21FB48, 0
LilycoveCity_DepartmentStore_2F_MapWarps:
warp_def 16, 1, 0, 2, MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F
warp_def 13, 1, 0, 0, MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F
warp_def 2, 1, 0, 0, MAP_LILYCOVE_CITY_DEPARTMENT_STORE_ELEVATOR
LilycoveCity_DepartmentStore_2F_MapEvents::
map_events LilycoveCity_DepartmentStore_2F_EventObjects, LilycoveCity_DepartmentStore_2F_MapWarps, 0x0, 0x0
@@ -1,15 +0,0 @@
LilycoveCity_DepartmentStore_2F:
.4byte LilycoveCity_DepartmentStore_2F_Layout
.4byte LilycoveCity_DepartmentStore_2F_MapEvents
.4byte LilycoveCity_DepartmentStore_2F_MapScripts
.4byte 0x0
.2byte MUS_FRIENDLY
.2byte LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_2F
.byte MAPSEC_LILYCOVE_CITY
.byte 0
.byte WEATHER_NONE
.byte MAP_TYPE_INDOOR
.2byte 0
map_header_flags allow_bike=0, allow_escape_rope=0, allow_run=0, show_map_name=0
.byte MAP_BATTLE_SCENE_NORMAL
@@ -0,0 +1,108 @@
{
"id": "MAP_LILYCOVE_CITY_DEPARTMENT_STORE_2F",
"name": "LilycoveCity_DepartmentStore_2F",
"layout": "LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_2F",
"music": "MUS_FRIENDLY",
"region_map_section": "MAPSEC_LILYCOVE_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_bike": false,
"allow_escape_rope": false,
"allow_running": false,
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_COOK",
"x": 8,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB2D",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_POKEFAN_F",
"x": 0,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB36",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_SAILOR",
"x": 13,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB3F",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_WOMAN_3",
"x": 10,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB7A",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_WOMAN_3",
"x": 7,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "LilycoveCity_DepartmentStore_2F_EventScript_21FB48",
"flag": "0"
}
],
"warp_events": [
{
"x": 16,
"y": 1,
"elevation": 0,
"dest_map": "MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F",
"dest_warp_id": 2
},
{
"x": 13,
"y": 1,
"elevation": 0,
"dest_map": "MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F",
"dest_warp_id": 0
},
{
"x": 2,
"y": 1,
"elevation": 0,
"dest_map": "MAP_LILYCOVE_CITY_DEPARTMENT_STORE_ELEVATOR",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}