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,13 +0,0 @@
FuchsiaCity_ZooBuilding_EventObjects:
object_event 1, 47, 0, 2, 0, 2, 0, 3, 7, 17, 0, 0, 0, 0, 0, FuchsiaCity_ZooBuilding_EventScript_16D532, 0, 0, 0
object_event 2, 47, 0, 12, 0, 3, 0, 3, 2, 17, 0, 0, 0, 0, 0, FuchsiaCity_ZooBuilding_EventScript_16D53B, 0, 0, 0
object_event 3, 47, 0, 6, 0, 4, 0, 3, 10, 17, 0, 0, 0, 0, 0, FuchsiaCity_ZooBuilding_EventScript_16D529, 0, 0, 0
object_event 4, 47, 0, 10, 0, 8, 0, 3, 9, 18, 0, 0, 0, 0, 0, FuchsiaCity_ZooBuilding_EventScript_16D544, 0, 0, 0
FuchsiaCity_ZooBuilding_MapWarps:
warp_def 5, 9, 0, 3, 775
warp_def 6, 9, 0, 3, 775
warp_def 7, 9, 3, 3, 775
FuchsiaCity_ZooBuilding_MapEvents::
map_events FuchsiaCity_ZooBuilding_EventObjects, FuchsiaCity_ZooBuilding_MapWarps, 0x0, 0x0
@@ -1,8 +0,0 @@
FuchsiaCity_ZooBuilding:: @ 8351450
.4byte FuchsiaCity_ZooBuilding_Layout @ 0x831C348
.4byte FuchsiaCity_ZooBuilding_MapEvents @ 0x83BC0A0
.4byte FuchsiaCity_ZooBuilding_MapScripts @ 0x816D528
.4byte NULL
.2byte BGM_FRLG_CERULEAN_CITY
.2byte 200
.byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
@@ -0,0 +1,94 @@
{
"id": "MAP_FUCHSIA_CITY_ZOO_BUILDING",
"name": "FuchsiaCity_ZooBuilding",
"layout": "LAYOUT_FUCHSIA_CITY_ZOO_BUILDING",
"music": "BGM_FRLG_CERULEAN_CITY",
"region_map_section": "MAPSEC_FUCHSIA_CITY",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "47",
"x": 2,
"y": 2,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_ZooBuilding_EventScript_16D532",
"flag": "0"
},
{
"graphics_id": "47",
"x": 12,
"y": 3,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_ZooBuilding_EventScript_16D53B",
"flag": "0"
},
{
"graphics_id": "47",
"x": 6,
"y": 4,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_ZooBuilding_EventScript_16D529",
"flag": "0"
},
{
"graphics_id": "47",
"x": 10,
"y": 8,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_ZooBuilding_EventScript_16D544",
"flag": "0"
}
],
"warp_events": [
{
"x": 5,
"y": 9,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY",
"dest_warp_id": 3
},
{
"x": 6,
"y": 9,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY",
"dest_warp_id": 3
},
{
"x": 7,
"y": 9,
"elevation": 3,
"dest_map": "MAP_FUCHSIA_CITY",
"dest_warp_id": 3
}
],
"coord_events": [],
"bg_events": []
}