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,10 +0,0 @@
SeafloorCavern_Entrance_EventObjects:
object_event 1, EVENT_OBJ_GFX_AQUA_MEMBER_M, 0, 10, 2, 3, MOVEMENT_TYPE_FACE_UP, 1, 1, 0, 0, SeafloorCavern_Entrance_EventScript_234485, FLAG_HIDE_SEAFLOOR_CAVERN_ENTRANCE_AQUA_GRUNT
SeafloorCavern_Entrance_MapWarps:
warp_def 10, 18, 3, 0, MAP_UNDERWATER4
warp_def 10, 1, 3, 0, MAP_SEAFLOOR_CAVERN_ROOM1
SeafloorCavern_Entrance_MapEvents::
map_events SeafloorCavern_Entrance_EventObjects, SeafloorCavern_Entrance_MapWarps, 0x0, 0x0
@@ -1,15 +0,0 @@
SeafloorCavern_Entrance:
.4byte SeafloorCavern_Entrance_Layout
.4byte SeafloorCavern_Entrance_MapEvents
.4byte SeafloorCavern_Entrance_MapScripts
.4byte 0x0
.2byte MUS_TOZAN
.2byte LAYOUT_SEAFLOOR_CAVERN_ENTRANCE
.byte MAPSEC_SEAFLOOR_CAVERN
.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,49 @@
{
"id": "MAP_SEAFLOOR_CAVERN_ENTRANCE",
"name": "SeafloorCavern_Entrance",
"layout": "LAYOUT_SEAFLOOR_CAVERN_ENTRANCE",
"music": "MUS_TOZAN",
"region_map_section": "MAPSEC_SEAFLOOR_CAVERN",
"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_AQUA_MEMBER_M",
"x": 10,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SeafloorCavern_Entrance_EventScript_234485",
"flag": "FLAG_HIDE_SEAFLOOR_CAVERN_ENTRANCE_AQUA_GRUNT"
}
],
"warp_events": [
{
"x": 10,
"y": 18,
"elevation": 3,
"dest_map": "MAP_UNDERWATER4",
"dest_warp_id": 0
},
{
"x": 10,
"y": 1,
"elevation": 3,
"dest_map": "MAP_SEAFLOOR_CAVERN_ROOM1",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}