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
-16
View File
@@ -1,16 +0,0 @@
Route5_SouthEntrance_EventObjects:
object_event 1, 60, 0, 1, 0, 5, 0, 3, 10, 17, 0, 0, 0, 0, 0, Route5_SouthEntrance_EventScript_16F901, 0, 0, 0
Route5_SouthEntrance_MapWarps:
warp_def 3, 9, 3, 9, 778
warp_def 4, 1, 3, 2, 791
warp_def 4, 9, 3, 9, 778
warp_def 5, 1, 0, 3, 791
Route5_SouthEntrance_MapCoordEvents:
coord_event 3, 5, 3, 0, 16482, 0, 0, Route5_SouthEntrance_EventScript_16F90A
coord_event 4, 5, 3, 0, 16482, 0, 0, Route5_SouthEntrance_EventScript_16F916
coord_event 5, 5, 3, 0, 16482, 0, 0, Route5_SouthEntrance_EventScript_16F922
Route5_SouthEntrance_MapEvents::
map_events Route5_SouthEntrance_EventObjects, Route5_SouthEntrance_MapWarps, Route5_SouthEntrance_MapCoordEvents, 0x0
@@ -1,8 +0,0 @@
Route5_SouthEntrance:: @ 8351824
.4byte SaffronCity_NorthSouthEntrance_Layout @ 0x831E9C0
.4byte Route5_SouthEntrance_MapEvents @ 0x83BD6C8
.4byte Route5_SouthEntrance_MapScripts @ 0x816F900
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_CITY
.2byte 208
.byte 0x69, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
+90
View File
@@ -0,0 +1,90 @@
{
"id": "MAP_ROUTE5_SOUTH_ENTRANCE",
"name": "Route5_SouthEntrance",
"layout": "LAYOUT_SAFFRON_CITY_NORTH_SOUTH_ENTRANCE",
"music": "BGM_FRLG_VIRIDIAN_CITY",
"region_map_section": "MAPSEC_ROUTE_5",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 1,
"unknown_19": 2,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "60",
"x": 1,
"y": 5,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route5_SouthEntrance_EventScript_16F901",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 9,
"elevation": 3,
"dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
"dest_warp_id": 9
},
{
"x": 4,
"y": 1,
"elevation": 3,
"dest_map": "MAP_ROUTE5",
"dest_warp_id": 2
},
{
"x": 4,
"y": 9,
"elevation": 3,
"dest_map": "MAP_SAFFRON_CITY_DUPLICATE",
"dest_warp_id": 9
},
{
"x": 5,
"y": 1,
"elevation": 0,
"dest_map": "MAP_ROUTE5",
"dest_warp_id": 3
}
],
"coord_events": [
{
"type": "trigger",
"x": 3,
"y": 5,
"elevation": 3,
"var": "VAR_0x4062",
"var_value": 0,
"script": "Route5_SouthEntrance_EventScript_16F90A"
},
{
"type": "trigger",
"x": 4,
"y": 5,
"elevation": 3,
"var": "VAR_0x4062",
"var_value": 0,
"script": "Route5_SouthEntrance_EventScript_16F916"
},
{
"type": "trigger",
"x": 5,
"y": 5,
"elevation": 3,
"var": "VAR_0x4062",
"var_value": 0,
"script": "Route5_SouthEntrance_EventScript_16F922"
}
],
"bg_events": []
}