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 @@
FiveIsland_ResortGorgeous_MapConnectionsList: @ 8352DA8
connection down, -48, MAP_FIVE_ISLAND_WATERLABYRINTH
FiveIsland_ResortGorgeous_MapConnections:: @ 8352DB4
.4byte 1
.4byte FiveIsland_ResortGorgeous_MapConnectionsList
@@ -1,23 +0,0 @@
FiveIsland_ResortGorgeous_EventObjects:
object_event 1, 22, 0, 44, 0, 10, 0, 3, 18, 17, 0, 1, 0, 3, 0, FiveIsland_ResortGorgeous_EventScript_1AC127, 0, 0, 0
object_event 2, 22, 0, 33, 0, 12, 0, 3, 7, 17, 0, 1, 0, 4, 0, FiveIsland_ResortGorgeous_EventScript_1AC165, 0, 0, 0
object_event 3, 22, 0, 12, 0, 10, 0, 3, 8, 17, 0, 1, 0, 1, 0, FiveIsland_ResortGorgeous_EventScript_1AC1A3, 0, 0, 0
object_event 4, 28, 0, 23, 0, 9, 0, 3, 2, 18, 0, 1, 0, 1, 0, FiveIsland_ResortGorgeous_EventScript_1AC1E1, 0, 0, 0
object_event 5, 28, 0, 33, 0, 8, 0, 3, 8, 17, 0, 1, 0, 1, 0, FiveIsland_ResortGorgeous_EventScript_1AC21F, 0, 0, 0
object_event 6, 18, 0, 33, 0, 3, 0, 3, 46, 26, 0, 1, 0, 1, 0, FiveIsland_ResortGorgeous_EventScript_1AC25D, 0, 0, 0
object_event 7, 43, 0, 56, 0, 7, 0, 1, 1, 17, 0, 1, 0, 1, 0, FiveIsland_ResortGorgeous_EventScript_1AC29B, 0, 0, 0
object_event 8, 28, 0, 39, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, 0x0, 148, 0, 0
FiveIsland_ResortGorgeous_MapWarps:
warp_def 64, 13, 3, 0, 524
warp_def 39, 8, 0, 0, 9984
FiveIsland_ResortGorgeous_MapBGEvents:
bg_event 10, 7, 3, 7, 0, 8, 174, 1
bg_event 27, 11, 3, 7, 0, 108, 175, 1
bg_event 40, 12, 3, 7, 0, 109, 176, 1
bg_event 27, 5, 3, 7, 0, 108, 177, 1
bg_event 42, 9, 0, 0, 0, FiveIsland_ResortGorgeous_EventScript_168844
FiveIsland_ResortGorgeous_MapEvents::
map_events FiveIsland_ResortGorgeous_EventObjects, FiveIsland_ResortGorgeous_MapWarps, 0x0, FiveIsland_ResortGorgeous_MapBGEvents
@@ -1,8 +0,0 @@
FiveIsland_ResortGorgeous:: @ 8350C00
.4byte FiveIsland_ResortGorgeous_Layout @ 0x832A7DC
.4byte FiveIsland_ResortGorgeous_MapEvents @ 0x83B8C80
.4byte FiveIsland_ResortGorgeous_MapScripts @ 0x81687E4
.4byte FiveIsland_ResortGorgeous_MapConnections @ 0x8352DB4
.2byte BGM_FRLG_SEVII_ISLANDS
.2byte 246
.byte 0x9f, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
@@ -0,0 +1,189 @@
{
"id": "MAP_FIVE_ISLAND_RESORT_GORGEOUS",
"name": "FiveIsland_ResortGorgeous",
"layout": "LAYOUT_FIVE_ISLAND_RESORT_GORGEOUS",
"music": "BGM_FRLG_SEVII_ISLANDS",
"region_map_section": "MAPSEC_RESORT_GORGEOUS",
"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_FIVE_ISLAND_WATER_LABYRINTH",
"offset": -48,
"direction": "down"
}
],
"object_events": [
{
"graphics_id": "22",
"x": 44,
"y": 10,
"elevation": 3,
"movement_type": "18",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "FiveIsland_ResortGorgeous_EventScript_1AC127",
"flag": "0"
},
{
"graphics_id": "22",
"x": 33,
"y": 12,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "FiveIsland_ResortGorgeous_EventScript_1AC165",
"flag": "0"
},
{
"graphics_id": "22",
"x": 12,
"y": 10,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_ResortGorgeous_EventScript_1AC1A3",
"flag": "0"
},
{
"graphics_id": "28",
"x": 23,
"y": 9,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_ResortGorgeous_EventScript_1AC1E1",
"flag": "0"
},
{
"graphics_id": "28",
"x": 33,
"y": 8,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_ResortGorgeous_EventScript_1AC21F",
"flag": "0"
},
{
"graphics_id": "18",
"x": 33,
"y": 3,
"elevation": 3,
"movement_type": "46",
"movement_range_x": 10,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_ResortGorgeous_EventScript_1AC25D",
"flag": "0"
},
{
"graphics_id": "43",
"x": 56,
"y": 7,
"elevation": 1,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_ResortGorgeous_EventScript_1AC29B",
"flag": "0"
},
{
"graphics_id": "28",
"x": 39,
"y": 9,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "148"
}
],
"warp_events": [
{
"x": 64,
"y": 13,
"elevation": 3,
"dest_map": "MAP_FIVE_ISLAND_LOST_CAVE_ENTRANCE",
"dest_warp_id": 0
},
{
"x": 39,
"y": 8,
"elevation": 0,
"dest_map": "MAP_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 10,
"y": 7,
"elevation": 3,
"item": "ITEM_NEST_BALL",
"flag": "174",
"unknown": 1
},
{
"type": "hidden_item",
"x": 27,
"y": 11,
"elevation": 3,
"item": "ITEM_STARDUST",
"flag": "175",
"unknown": 1
},
{
"type": "hidden_item",
"x": 40,
"y": 12,
"elevation": 3,
"item": "ITEM_STAR_PIECE",
"flag": "176",
"unknown": 1
},
{
"type": "hidden_item",
"x": 27,
"y": 5,
"elevation": 3,
"item": "ITEM_STARDUST",
"flag": "177",
"unknown": 1
},
{
"type": "bg_event_type_0",
"x": 42,
"y": 9,
"elevation": 0,
"script": "FiveIsland_ResortGorgeous_EventScript_168844"
}
]
}