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
-7
View File
@@ -1,7 +0,0 @@
Underwater5_MapConnectionsList:
connection emerge, 0, MAP_ROUTE129
Underwater5_MapConnections:
.4byte 1
.4byte Underwater5_MapConnectionsList
-7
View File
@@ -1,7 +0,0 @@
Underwater5_MapWarps:
warp_def 26, 3, 0, 0, MAP_UNDERWATER_MARINE_CAVE
warp_def 32, 21, 0, 0, MAP_UNDERWATER_MARINE_CAVE
Underwater5_MapEvents::
map_events 0x0, Underwater5_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
Underwater5:
.4byte Underwater5_Layout
.4byte Underwater5_MapEvents
.4byte Underwater5_MapScripts
.4byte Underwater5_MapConnections
.2byte MUS_DEEPDEEP
.2byte LAYOUT_UNDERWATER5
.byte MAPSEC_UNDERWATER_129
.byte 0
.byte WEATHER_BUBBLES
.byte MAP_TYPE_UNDERWATER
.2byte 0
map_header_flags allow_bike=1, allow_escape_rope=0, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
+41
View File
@@ -0,0 +1,41 @@
{
"id": "MAP_UNDERWATER5",
"name": "Underwater5",
"layout": "LAYOUT_UNDERWATER5",
"music": "MUS_DEEPDEEP",
"region_map_section": "MAPSEC_UNDERWATER_129",
"requires_flash": false,
"weather": "WEATHER_BUBBLES",
"map_type": "MAP_TYPE_UNDERWATER",
"allow_bike": true,
"allow_escape_rope": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"direction": "emerge",
"offset": 0,
"map": "MAP_ROUTE129"
}
],
"object_events": [],
"warp_events": [
{
"x": 26,
"y": 3,
"elevation": 0,
"dest_map": "MAP_UNDERWATER_MARINE_CAVE",
"dest_warp_id": 0
},
{
"x": 32,
"y": 21,
"elevation": 0,
"dest_map": "MAP_UNDERWATER_MARINE_CAVE",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}