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,13 +0,0 @@
ShoalCave_LowTideStairsRoom_EventObjects:
object_event 1, EVENT_OBJ_GFX_ITEM_BALL, 0, 13, 12, 3, MOVEMENT_TYPE_LOOK_AROUND, 1, 1, 0, 0, ShoalCave_LowTideStairsRoom_EventScript_2913DA, FLAG_ITEM_SHOAL_CAVE_STAIRS_ROOM_ICE_HEAL
ShoalCave_LowTideStairsRoom_MapWarps:
warp_def 3, 12, 3, 1, MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM
warp_def 7, 4, 3, 2, MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM
ShoalCave_LowTideStairsRoom_MapBGEvents:
bg_event 11, 11, 3, BG_EVENT_PLAYER_FACING_ANY, ShoalCave_LowTideStairsRoom_EventScript_23711A
ShoalCave_LowTideStairsRoom_MapEvents::
map_events ShoalCave_LowTideStairsRoom_EventObjects, ShoalCave_LowTideStairsRoom_MapWarps, 0x0, ShoalCave_LowTideStairsRoom_MapBGEvents
@@ -1,15 +0,0 @@
ShoalCave_LowTideStairsRoom:
.4byte ShoalCave_LowTideStairsRoom_Layout
.4byte ShoalCave_LowTideStairsRoom_MapEvents
.4byte ShoalCave_LowTideStairsRoom_MapScripts
.4byte 0x0
.2byte MUS_M_DUNGON
.2byte LAYOUT_SHOAL_CAVE_LOW_TIDE_STAIRS_ROOM
.byte MAPSEC_SHOAL_CAVE
.byte 0
.byte WEATHER_NONE
.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,58 @@
{
"id": "MAP_SHOAL_CAVE_LOW_TIDE_STAIRS_ROOM",
"name": "ShoalCave_LowTideStairsRoom",
"layout": "LAYOUT_SHOAL_CAVE_LOW_TIDE_STAIRS_ROOM",
"music": "MUS_M_DUNGON",
"region_map_section": "MAPSEC_SHOAL_CAVE",
"requires_flash": false,
"weather": "WEATHER_NONE",
"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_ITEM_BALL",
"x": 13,
"y": 12,
"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": "ShoalCave_LowTideStairsRoom_EventScript_2913DA",
"flag": "FLAG_ITEM_SHOAL_CAVE_STAIRS_ROOM_ICE_HEAL"
}
],
"warp_events": [
{
"x": 3,
"y": 12,
"elevation": 3,
"dest_map": "MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM",
"dest_warp_id": 1
},
{
"x": 7,
"y": 4,
"elevation": 3,
"dest_map": "MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM",
"dest_warp_id": 2
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 11,
"y": 11,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "ShoalCave_LowTideStairsRoom_EventScript_23711A"
}
]
}