convert map data to json

This commit is contained in:
garak
2019-05-13 19:44:24 -04:00
parent 4b98d7d07a
commit 55d66b5177
2112 changed files with 53337 additions and 19410 deletions
-7
View File
@@ -1,7 +0,0 @@
Route5_MapConnectionsList: @ 8352A5C
connection up, 0, MAP_CERULEAN_CITY
connection down, 0, MAP_SAFFRON_CITY
Route5_MapConnections:: @ 8352A74
.4byte 2
.4byte Route5_MapConnectionsList
-11
View File
@@ -1,11 +0,0 @@
Route5_MapWarps:
warp_def 31, 31, 0, 1, 286
warp_def 23, 25, 0, 1, 4352
warp_def 24, 32, 3, 1, 4353
warp_def 25, 32, 3, 1, 4353
Route5_MapBGEvents:
bg_event 32, 32, 0, 0, 0, Route5_EventScript_167FA8
Route5_MapEvents::
map_events 0x0, Route5_MapWarps, 0x0, Route5_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
Route5:: @ 835089C
.4byte Route5_Layout @ 0x82E925C
.4byte Route5_MapEvents @ 0x83B69C0
.4byte Route5_MapScripts @ 0x8167FA7
.4byte Route5_MapConnections @ 0x8352A74
.2byte BGM_FRLG_ROUTE_3
.2byte 93
.byte 0x69, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
+67
View File
@@ -0,0 +1,67 @@
{
"id": "MAP_ROUTE5",
"name": "Route5",
"layout": "LAYOUT_ROUTE5",
"music": "BGM_FRLG_ROUTE_3",
"region_map_section": "MAPSEC_ROUTE_5",
"requires_flash": false,
"weather": "WEATHER_2",
"map_type": "MAP_TYPE_3",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": [
{
"map": "MAP_CERULEAN_CITY",
"offset": 0,
"direction": "up"
},
{
"map": "MAP_SAFFRON_CITY",
"offset": 0,
"direction": "down"
}
],
"object_events": [],
"warp_events": [
{
"x": 31,
"y": 31,
"elevation": 0,
"dest_map": "MAP_UNDERGROUND_PATH_NORTH_ENTRANCE",
"dest_warp_id": 1
},
{
"x": 23,
"y": 25,
"elevation": 0,
"dest_map": "MAP_ROUTE5_POKEMON_DAY_CARE",
"dest_warp_id": 1
},
{
"x": 24,
"y": 32,
"elevation": 3,
"dest_map": "MAP_ROUTE5_SOUTH_ENTRANCE",
"dest_warp_id": 1
},
{
"x": 25,
"y": 32,
"elevation": 3,
"dest_map": "MAP_ROUTE5_SOUTH_ENTRANCE",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 32,
"y": 32,
"elevation": 0,
"script": "Route5_EventScript_167FA8"
}
]
}