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,6 +0,0 @@
SevenIsland_TrainerTower_MapConnectionsList: @ 8352E84
connection down, 48, MAP_SEVEN_ISLAND
SevenIsland_TrainerTower_MapConnections:: @ 8352E90
.4byte 1
.4byte SevenIsland_TrainerTower_MapConnectionsList
@@ -1,16 +0,0 @@
SevenIsland_TrainerTower_EventObjects:
object_event 1, 19, 0, 56, 0, 26, 0, 3, 7, 17, 0, 1, 0, 1, 0, SevenIsland_TrainerTower_EventScript_1AC84D, 0, 0, 0
object_event 2, 23, 0, 56, 0, 29, 0, 3, 8, 17, 0, 1, 0, 1, 0, SevenIsland_TrainerTower_EventScript_1AC88B, 0, 0, 0
SevenIsland_TrainerTower_MapWarps:
warp_def 58, 7, 3, 1, 522
SevenIsland_TrainerTower_MapBGEvents:
bg_event 49, 27, 3, 7, 0, 107, 185, 1
bg_event 47, 30, 3, 7, 0, 106, 186, 1
bg_event 59, 32, 3, 7, 0, 150, 187, 1
bg_event 56, 8, 0, 0, 0, SevenIsland_TrainerTower_EventScript_168BE1
bg_event 50, 30, 0, 0, 0, SevenIsland_TrainerTower_EventScript_168BEA
SevenIsland_TrainerTower_MapEvents::
map_events SevenIsland_TrainerTower_EventObjects, SevenIsland_TrainerTower_MapWarps, 0x0, SevenIsland_TrainerTower_MapBGEvents
@@ -1,8 +0,0 @@
SevenIsland_TrainerTower:: @ 8350CE0
.4byte SevenIsland_TrainerTower_Layout @ 0x833287C
.4byte SevenIsland_TrainerTower_MapEvents @ 0x83B9328
.4byte SevenIsland_TrainerTower_MapScripts @ 0x8168BD5
.4byte SevenIsland_TrainerTower_MapConnections @ 0x8352E90
.2byte BGM_FRLG_SEVII_ISLANDS
.2byte 254
.byte 0xa7, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
+102
View File
@@ -0,0 +1,102 @@
{
"id": "MAP_SEVEN_ISLAND_TRAINER_TOWER",
"name": "SevenIsland_TrainerTower",
"layout": "LAYOUT_SEVEN_ISLAND_TRAINER_TOWER",
"music": "BGM_FRLG_SEVII_ISLANDS",
"region_map_section": "MAPSEC_TRAINER_TOWER",
"requires_flash": false,
"weather": "WEATHER_2",
"map_type": "MAP_TYPE_3",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": [
{
"map": "MAP_SEVEN_ISLAND",
"offset": 48,
"direction": "down"
}
],
"object_events": [
{
"graphics_id": "19",
"x": 56,
"y": 26,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "SevenIsland_TrainerTower_EventScript_1AC84D",
"flag": "0"
},
{
"graphics_id": "23",
"x": 56,
"y": 29,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "SevenIsland_TrainerTower_EventScript_1AC88B",
"flag": "0"
}
],
"warp_events": [
{
"x": 58,
"y": 7,
"elevation": 3,
"dest_map": "MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 49,
"y": 27,
"elevation": 3,
"item": "ITEM_BIG_PEARL",
"flag": "185",
"unknown": 1
},
{
"type": "hidden_item",
"x": 47,
"y": 30,
"elevation": 3,
"item": "ITEM_PEARL",
"flag": "186",
"unknown": 1
},
{
"type": "hidden_item",
"x": 59,
"y": 32,
"elevation": 3,
"item": "ITEM_NANAB_BERRY",
"flag": "187",
"unknown": 1
},
{
"type": "bg_event_type_0",
"x": 56,
"y": 8,
"elevation": 0,
"script": "SevenIsland_TrainerTower_EventScript_168BE1"
},
{
"type": "bg_event_type_0",
"x": 50,
"y": 30,
"elevation": 0,
"script": "SevenIsland_TrainerTower_EventScript_168BEA"
}
]
}