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
-8
View File
@@ -1,8 +0,0 @@
Route122_MapConnectionsList:
connection up, -20, MAP_ROUTE121
connection down, -100, MAP_ROUTE123
Route122_MapConnections:
.4byte 2
.4byte Route122_MapConnectionsList
-6
View File
@@ -1,6 +0,0 @@
Route122_MapWarps:
warp_def 22, 29, 0, 0, MAP_MT_PYRE_1F
Route122_MapEvents::
map_events 0x0, Route122_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
Route122:
.4byte Route122_Layout
.4byte Route122_MapEvents
.4byte Route122_MapScripts
.4byte Route122_MapConnections
.2byte MUS_DOORO_X4
.2byte LAYOUT_ROUTE122
.byte MAPSEC_ROUTE_122
.byte 0
.byte WEATHER_SUNNY
.byte MAP_TYPE_ROUTE
.2byte 0
map_header_flags allow_bike=1, allow_escape_rope=0, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
+39
View File
@@ -0,0 +1,39 @@
{
"id": "MAP_ROUTE122",
"name": "Route122",
"layout": "LAYOUT_ROUTE122",
"music": "MUS_DOORO_X4",
"region_map_section": "MAPSEC_ROUTE_122",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_ROUTE",
"allow_bike": true,
"allow_escape_rope": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"direction": "up",
"offset": -20,
"map": "MAP_ROUTE121"
},
{
"direction": "down",
"offset": -100,
"map": "MAP_ROUTE123"
}
],
"object_events": [],
"warp_events": [
{
"x": 22,
"y": 29,
"elevation": 0,
"dest_map": "MAP_MT_PYRE_1F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}