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 @@
FiveIsland_ResortGorgeous_House_EventObjects:
object_event 1, 28, 0, 4, 0, 4, 0, 3, 10, 17, 0, 0, 0, 0, 0, FiveIsland_ResortGorgeous_House_EventScript_171EBE, 149, 0, 0
object_event 2, 61, 0, 6, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, FiveIsland_ResortGorgeous_House_EventScript_172062, 150, 0, 0
FiveIsland_ResortGorgeous_House_MapWarps:
warp_def 4, 7, 3, 1, 822
FiveIsland_ResortGorgeous_House_MapBGEvents:
bg_event 9, 1, 0, 1, 0, FiveIsland_ResortGorgeous_House_EventScript_1ACF2C
bg_event 8, 1, 0, 1, 0, FiveIsland_ResortGorgeous_House_EventScript_1ACF2C
FiveIsland_ResortGorgeous_House_MapEvents::
map_events FiveIsland_ResortGorgeous_House_EventObjects, FiveIsland_ResortGorgeous_House_MapWarps, 0x0, FiveIsland_ResortGorgeous_House_MapBGEvents
@@ -1,8 +0,0 @@
FiveIsland_ResortGorgeous_House:: @ 8351F78
.4byte FiveIsland_ResortGorgeous_House_Layout @ 0x82D657C
.4byte FiveIsland_ResortGorgeous_House_MapEvents @ 0x83BF2C0
.4byte FiveIsland_ResortGorgeous_House_MapScripts @ 0x8171EBD
.4byte NULL
.2byte BGM_FRLG_ISLAND_FOUR
.2byte 17
.byte 0x9f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
@@ -0,0 +1,69 @@
{
"id": "MAP_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE",
"name": "FiveIsland_ResortGorgeous_House",
"layout": "LAYOUT_FIVE_ISLAND_RESORT_GORGEOUS_HOUSE",
"music": "BGM_FRLG_ISLAND_FOUR",
"region_map_section": "MAPSEC_RESORT_GORGEOUS",
"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": "28",
"x": 4,
"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": "FiveIsland_ResortGorgeous_House_EventScript_171EBE",
"flag": "149"
},
{
"graphics_id": "61",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FiveIsland_ResortGorgeous_House_EventScript_172062",
"flag": "150"
}
],
"warp_events": [
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_FIVE_ISLAND_RESORT_GORGEOUS",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_1",
"x": 9,
"y": 1,
"elevation": 0,
"script": "FiveIsland_ResortGorgeous_House_EventScript_1ACF2C"
},
{
"type": "bg_event_type_1",
"x": 8,
"y": 1,
"elevation": 0,
"script": "FiveIsland_ResortGorgeous_House_EventScript_1ACF2C"
}
]
}