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
@@ -1,26 +0,0 @@
Route16_NorthEntrance_1F_EventObjects:
object_event 1, 60, 0, 6, 0, 8, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route16_NorthEntrance_1F_EventScript_1701DB, 0, 0, 0
object_event 2, 32, 0, 7, 0, 4, 0, 3, 5, 17, 0, 0, 0, 0, 0, Route16_NorthEntrance_1F_EventScript_1702B5, 0, 0, 0
Route16_NorthEntrance_1F_MapWarps:
warp_def 1, 3, 3, 1, 802
warp_def 11, 3, 3, 2, 802
warp_def 1, 12, 3, 3, 802
warp_def 11, 12, 3, 4, 802
warp_def 9, 16, 3, 0, 6402
Route16_NorthEntrance_1F_MapCoordEvents:
coord_event 10, 12, 3, 0, 16478, 1, 0, Route16_NorthEntrance_1F_EventScript_1A77B6
coord_event 2, 12, 3, 0, 16478, 0, 0, Route16_NorthEntrance_1F_EventScript_1A77C1
coord_event 6, 10, 3, 0, 16385, 0, 0, Route16_NorthEntrance_1F_EventScript_1701E4
coord_event 6, 11, 3, 0, 16385, 0, 0, Route16_NorthEntrance_1F_EventScript_1701F0
coord_event 1, 13, 3, 0, 16478, 0, 0, Route16_NorthEntrance_1F_EventScript_1A77C1
coord_event 1, 11, 3, 0, 16478, 0, 0, Route16_NorthEntrance_1F_EventScript_1A77C1
coord_event 11, 11, 3, 0, 16478, 1, 0, Route16_NorthEntrance_1F_EventScript_1A77B6
coord_event 11, 13, 3, 0, 16478, 1, 0, Route16_NorthEntrance_1F_EventScript_1A77B6
coord_event 6, 12, 3, 0, 16385, 0, 0, Route16_NorthEntrance_1F_EventScript_1701FC
coord_event 6, 13, 3, 0, 16385, 0, 0, Route16_NorthEntrance_1F_EventScript_170208
coord_event 6, 14, 3, 0, 16385, 0, 0, Route16_NorthEntrance_1F_EventScript_170214
Route16_NorthEntrance_1F_MapEvents::
map_events Route16_NorthEntrance_1F_EventObjects, Route16_NorthEntrance_1F_MapWarps, Route16_NorthEntrance_1F_MapCoordEvents, 0x0
@@ -1,8 +0,0 @@
Route16_NorthEntrance_1F:: @ 83519C8
.4byte Route16_NorthEntrance_1F_Layout @ 0x8320D14
.4byte Route16_NorthEntrance_1F_MapEvents @ 0x83BDD60
.4byte Route16_NorthEntrance_1F_MapScripts @ 0x81701C2
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_CITY
.2byte 223
.byte 0x74, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
+182
View File
@@ -0,0 +1,182 @@
{
"id": "MAP_ROUTE16_NORTH_ENTRANCE_1F",
"name": "Route16_NorthEntrance_1F",
"layout": "LAYOUT_ROUTE16_NORTH_ENTRANCE_1F",
"music": "BGM_FRLG_VIRIDIAN_CITY",
"region_map_section": "MAPSEC_ROUTE_16",
"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": 6,
"y": 8,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route16_NorthEntrance_1F_EventScript_1701DB",
"flag": "0"
},
{
"graphics_id": "32",
"x": 7,
"y": 4,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route16_NorthEntrance_1F_EventScript_1702B5",
"flag": "0"
}
],
"warp_events": [
{
"x": 1,
"y": 3,
"elevation": 3,
"dest_map": "MAP_ROUTE16",
"dest_warp_id": 1
},
{
"x": 11,
"y": 3,
"elevation": 3,
"dest_map": "MAP_ROUTE16",
"dest_warp_id": 2
},
{
"x": 1,
"y": 12,
"elevation": 3,
"dest_map": "MAP_ROUTE16",
"dest_warp_id": 3
},
{
"x": 11,
"y": 12,
"elevation": 3,
"dest_map": "MAP_ROUTE16",
"dest_warp_id": 4
},
{
"x": 9,
"y": 16,
"elevation": 3,
"dest_map": "MAP_ROUTE16_NORTH_ENTRANCE_2F",
"dest_warp_id": 0
}
],
"coord_events": [
{
"type": "trigger",
"x": 10,
"y": 12,
"elevation": 3,
"var": "VAR_0x405E",
"var_value": 1,
"script": "Route16_NorthEntrance_1F_EventScript_1A77B6"
},
{
"type": "trigger",
"x": 2,
"y": 12,
"elevation": 3,
"var": "VAR_0x405E",
"var_value": 0,
"script": "Route16_NorthEntrance_1F_EventScript_1A77C1"
},
{
"type": "trigger",
"x": 6,
"y": 10,
"elevation": 3,
"var": "VAR_0x4001",
"var_value": 0,
"script": "Route16_NorthEntrance_1F_EventScript_1701E4"
},
{
"type": "trigger",
"x": 6,
"y": 11,
"elevation": 3,
"var": "VAR_0x4001",
"var_value": 0,
"script": "Route16_NorthEntrance_1F_EventScript_1701F0"
},
{
"type": "trigger",
"x": 1,
"y": 13,
"elevation": 3,
"var": "VAR_0x405E",
"var_value": 0,
"script": "Route16_NorthEntrance_1F_EventScript_1A77C1"
},
{
"type": "trigger",
"x": 1,
"y": 11,
"elevation": 3,
"var": "VAR_0x405E",
"var_value": 0,
"script": "Route16_NorthEntrance_1F_EventScript_1A77C1"
},
{
"type": "trigger",
"x": 11,
"y": 11,
"elevation": 3,
"var": "VAR_0x405E",
"var_value": 1,
"script": "Route16_NorthEntrance_1F_EventScript_1A77B6"
},
{
"type": "trigger",
"x": 11,
"y": 13,
"elevation": 3,
"var": "VAR_0x405E",
"var_value": 1,
"script": "Route16_NorthEntrance_1F_EventScript_1A77B6"
},
{
"type": "trigger",
"x": 6,
"y": 12,
"elevation": 3,
"var": "VAR_0x4001",
"var_value": 0,
"script": "Route16_NorthEntrance_1F_EventScript_1701FC"
},
{
"type": "trigger",
"x": 6,
"y": 13,
"elevation": 3,
"var": "VAR_0x4001",
"var_value": 0,
"script": "Route16_NorthEntrance_1F_EventScript_170208"
},
{
"type": "trigger",
"x": 6,
"y": 14,
"elevation": 3,
"var": "VAR_0x4001",
"var_value": 0,
"script": "Route16_NorthEntrance_1F_EventScript_170214"
}
],
"bg_events": []
}