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,12 +0,0 @@
AbandonedShip_Rooms_B1F_EventObjects:
object_event 1, EVENT_OBJ_GFX_FAT_MAN, 0, 25, 6, 3, MOVEMENT_TYPE_FACE_LEFT, 0, 0, 0, 0, AbandonedShip_Rooms_B1F_EventScript_237FC6, 0
object_event 2, EVENT_OBJ_GFX_ITEM_BALL, 0, 6, 7, 3, MOVEMENT_TYPE_LOOK_AROUND, 1, 1, 0, 0, AbandonedShip_Rooms_B1F_EventScript_29123A, FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_ESCAPE_ROPE
AbandonedShip_Rooms_B1F_MapWarps:
warp_def 4, 1, 3, 2, MAP_ABANDONED_SHIP_CORRIDORS_B1F
warp_def 13, 1, 3, 3, MAP_ABANDONED_SHIP_CORRIDORS_B1F
warp_def 22, 1, 3, 4, MAP_ABANDONED_SHIP_CORRIDORS_B1F
AbandonedShip_Rooms_B1F_MapEvents::
map_events AbandonedShip_Rooms_B1F_EventObjects, AbandonedShip_Rooms_B1F_MapWarps, 0x0, 0x0
@@ -1,15 +0,0 @@
AbandonedShip_Rooms_B1F:
.4byte AbandonedShip_Rooms_B1F_Layout
.4byte AbandonedShip_Rooms_B1F_MapEvents
.4byte AbandonedShip_Rooms_B1F_MapScripts
.4byte 0x0
.2byte MUS_DAN02
.2byte LAYOUT_ABANDONED_SHIP_ROOMS_B1F
.byte MAPSEC_ABANDONED_SHIP
.byte 0
.byte WEATHER_SHADE
.byte MAP_TYPE_UNDERGROUND
.2byte 0
map_header_flags allow_bike=1, allow_escape_rope=1, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
@@ -0,0 +1,69 @@
{
"id": "MAP_ABANDONED_SHIP_ROOMS_B1F",
"name": "AbandonedShip_Rooms_B1F",
"layout": "LAYOUT_ABANDONED_SHIP_ROOMS_B1F",
"music": "MUS_DAN02",
"region_map_section": "MAPSEC_ABANDONED_SHIP",
"requires_flash": false,
"weather": "WEATHER_SHADE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_bike": true,
"allow_escape_rope": true,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "EVENT_OBJ_GFX_FAT_MAN",
"x": 25,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "AbandonedShip_Rooms_B1F_EventScript_237FC6",
"flag": "0"
},
{
"graphics_id": "EVENT_OBJ_GFX_ITEM_BALL",
"x": 6,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "AbandonedShip_Rooms_B1F_EventScript_29123A",
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_ESCAPE_ROPE"
}
],
"warp_events": [
{
"x": 4,
"y": 1,
"elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 2
},
{
"x": 13,
"y": 1,
"elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 3
},
{
"x": 22,
"y": 1,
"elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 4
}
],
"coord_events": [],
"bg_events": []
}