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
-12
View File
@@ -1,12 +0,0 @@
Route2_EastBuilding_EventObjects:
object_event 1, 55, 0, 4, 0, 6, 0, 3, 1, 17, 0, 0, 0, 0, 0, Route2_EastBuilding_EventScript_16F67F, 0, 0, 0
object_event 2, 26, 0, 10, 0, 3, 0, 3, 5, 18, 0, 0, 0, 0, 0, Route2_EastBuilding_EventScript_16F714, 0, 0, 0
Route2_EastBuilding_MapWarps:
warp_def 6, 10, 0, 5, 788
warp_def 7, 10, 3, 5, 788
warp_def 8, 10, 3, 5, 788
warp_def 7, 1, 3, 6, 788
Route2_EastBuilding_MapEvents::
map_events Route2_EastBuilding_EventObjects, Route2_EastBuilding_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
Route2_EastBuilding:: @ 8351798
.4byte Route2_Entrance_Layout @ 0x8320990
.4byte Route2_EastBuilding_MapEvents @ 0x83BD43C
.4byte Route2_EastBuilding_MapScripts @ 0x816F67E
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_CITY
.2byte 221
.byte 0x66, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
+75
View File
@@ -0,0 +1,75 @@
{
"id": "MAP_ROUTE2_EAST_BUILDING",
"name": "Route2_EastBuilding",
"layout": "LAYOUT_ROUTE2_ENTRANCE",
"music": "BGM_FRLG_VIRIDIAN_CITY",
"region_map_section": "MAPSEC_ROUTE_2",
"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": "55",
"x": 4,
"y": 6,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route2_EastBuilding_EventScript_16F67F",
"flag": "0"
},
{
"graphics_id": "26",
"x": 10,
"y": 3,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route2_EastBuilding_EventScript_16F714",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 10,
"elevation": 0,
"dest_map": "MAP_ROUTE2",
"dest_warp_id": 5
},
{
"x": 7,
"y": 10,
"elevation": 3,
"dest_map": "MAP_ROUTE2",
"dest_warp_id": 5
},
{
"x": 8,
"y": 10,
"elevation": 3,
"dest_map": "MAP_ROUTE2",
"dest_warp_id": 5
},
{
"x": 7,
"y": 1,
"elevation": 3,
"dest_map": "MAP_ROUTE2",
"dest_warp_id": 6
}
],
"coord_events": [],
"bg_events": []
}