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,12 +0,0 @@
Route2_ViridianForest_SouthEntrance_EventObjects:
object_event 1, 28, 0, 10, 0, 6, 0, 3, 9, 17, 0, 0, 0, 0, 0, Route2_ViridianForest_SouthEntrance_EventScript_16F5E6, 0, 0, 0
object_event 2, 23, 0, 4, 0, 7, 0, 3, 2, 17, 0, 0, 0, 0, 0, Route2_ViridianForest_SouthEntrance_EventScript_16F5EF, 0, 0, 0
Route2_ViridianForest_SouthEntrance_MapWarps:
warp_def 6, 10, 3, 2, 788
warp_def 7, 10, 3, 2, 788
warp_def 8, 10, 3, 2, 788
warp_def 7, 1, 3, 0, 256
Route2_ViridianForest_SouthEntrance_MapEvents::
map_events Route2_ViridianForest_SouthEntrance_EventObjects, Route2_ViridianForest_SouthEntrance_MapWarps, 0x0, 0x0
@@ -1,8 +0,0 @@
Route2_ViridianForest_SouthEntrance:: @ 8351760
.4byte Route2_Entrance_Layout @ 0x8320990
.4byte Route2_ViridianForest_SouthEntrance_MapEvents @ 0x83BD37C
.4byte Route2_ViridianForest_SouthEntrance_MapScripts @ 0x816F5E5
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_CITY
.2byte 221
.byte 0x66, 0x00, 0x00, 0x08, 0x01, 0x02, 0x00, 0x00
@@ -0,0 +1,75 @@
{
"id": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
"name": "Route2_ViridianForest_SouthEntrance",
"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": "28",
"x": 10,
"y": 6,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route2_ViridianForest_SouthEntrance_EventScript_16F5E6",
"flag": "0"
},
{
"graphics_id": "23",
"x": 4,
"y": 7,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route2_ViridianForest_SouthEntrance_EventScript_16F5EF",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 10,
"elevation": 3,
"dest_map": "MAP_ROUTE2",
"dest_warp_id": 2
},
{
"x": 7,
"y": 10,
"elevation": 3,
"dest_map": "MAP_ROUTE2",
"dest_warp_id": 2
},
{
"x": 8,
"y": 10,
"elevation": 3,
"dest_map": "MAP_ROUTE2",
"dest_warp_id": 2
},
{
"x": 7,
"y": 1,
"elevation": 3,
"dest_map": "MAP_VIRIDIAN_FOREST",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}