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
-6
View File
@@ -1,6 +0,0 @@
MarineCave_Entrance_MapWarps:
warp_def 14, 1, 3, 0, MAP_MARINE_CAVE_END
MarineCave_Entrance_MapEvents::
map_events 0x0, MarineCave_Entrance_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
MarineCave_Entrance:
.4byte MarineCave_Entrance_Layout
.4byte MarineCave_Entrance_MapEvents
.4byte MarineCave_Entrance_MapScripts
.4byte 0x0
.2byte MUS_DAN01
.2byte LAYOUT_MARINE_CAVE_ENTRANCE
.byte MAPSEC_MARINE_CAVE
.byte 0
.byte WEATHER_NONE
.byte MAP_TYPE_UNDERGROUND
.2byte 0
map_header_flags allow_bike=0, allow_escape_rope=1, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
+28
View File
@@ -0,0 +1,28 @@
{
"id": "MAP_MARINE_CAVE_ENTRANCE",
"name": "MarineCave_Entrance",
"layout": "LAYOUT_MARINE_CAVE_ENTRANCE",
"music": "MUS_DAN01",
"region_map_section": "MAPSEC_MARINE_CAVE",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_bike": false,
"allow_escape_rope": true,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 14,
"y": 1,
"elevation": 3,
"dest_map": "MAP_MARINE_CAVE_END",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}