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
-24
View File
@@ -1,24 +0,0 @@
SeafoamIslands_B3F_EventObjects:
object_event 1, 97, 0, 23, 0, 8, 0, 1, 8, 17, 0, 0, 0, 0, 0, 0x0, 70, 0, 0
object_event 2, 97, 0, 24, 0, 8, 0, 1, 8, 17, 0, 0, 0, 0, 0, 0x0, 71, 0, 0
object_event 3, 97, 0, 12, 0, 16, 0, 3, 8, 0, 0, 77, 0, 0, 0, SeafoamIslands_B3F_EventScript_1BE11D, 74, 0, 0
object_event 4, 97, 0, 13, 0, 16, 0, 3, 8, 0, 0, 0, 0, 0, 0, SeafoamIslands_B3F_EventScript_1BE11D, 75, 0, 0
object_event 5, 97, 0, 9, 0, 16, 0, 3, 8, 0, 0, 0, 0, 0, 0, SeafoamIslands_B3F_EventScript_1BE11D, 73, 0, 0
object_event 6, 97, 0, 6, 0, 17, 0, 3, 8, 0, 0, 76, 0, 0, 0, SeafoamIslands_B3F_EventScript_1BE11D, 72, 0, 0
SeafoamIslands_B3F_MapWarps:
warp_def 8, 14, 4, 0, 341
warp_def 31, 4, 3, 1, 341
warp_def 31, 16, 4, 2, 341
warp_def 12, 9, 3, 0, 343
warp_def 29, 5, 3, 1, 343
warp_def 23, 9, 1, 7, 341
warp_def 24, 9, 1, 8, 341
warp_def 6, 18, 3, 2, 343
warp_def 9, 18, 3, 3, 343
SeafoamIslands_B3F_MapBGEvents:
bg_event 5, 12, 0, 7, 0, 110, 29, 1
SeafoamIslands_B3F_MapEvents::
map_events SeafoamIslands_B3F_EventObjects, SeafoamIslands_B3F_MapWarps, 0x0, SeafoamIslands_B3F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SeafoamIslands_B3F:: @ 834FB7C
.4byte SeafoamIslands_B3F_Layout @ 0x8315CCC
.4byte SeafoamIslands_B3F_MapEvents @ 0x83B20DC
.4byte SeafoamIslands_B3F_MapScripts @ 0x8162F4F
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_FOREST
.2byte 159
.byte 0x8b, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
+172
View File
@@ -0,0 +1,172 @@
{
"id": "MAP_SEAFOAM_ISLANDS_B3F",
"name": "SeafoamIslands_B3F",
"layout": "LAYOUT_SEAFOAM_ISLANDS_B3F",
"music": "BGM_FRLG_VIRIDIAN_FOREST",
"region_map_section": "MAPSEC_SEAFOAM_ISLANDS",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_4",
"unknown_18": 1,
"unknown_19": 7,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "97",
"x": 23,
"y": 8,
"elevation": 1,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "70"
},
{
"graphics_id": "97",
"x": 24,
"y": 8,
"elevation": 1,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "71"
},
{
"graphics_id": "97",
"x": 12,
"y": 16,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 77,
"trainer_sight_or_berry_tree_id": 0,
"script": "SeafoamIslands_B3F_EventScript_1BE11D",
"flag": "74"
},
{
"graphics_id": "97",
"x": 13,
"y": 16,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SeafoamIslands_B3F_EventScript_1BE11D",
"flag": "75"
},
{
"graphics_id": "97",
"x": 9,
"y": 16,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SeafoamIslands_B3F_EventScript_1BE11D",
"flag": "73"
},
{
"graphics_id": "97",
"x": 6,
"y": 17,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 76,
"trainer_sight_or_berry_tree_id": 0,
"script": "SeafoamIslands_B3F_EventScript_1BE11D",
"flag": "72"
}
],
"warp_events": [
{
"x": 8,
"y": 14,
"elevation": 4,
"dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
"dest_warp_id": 0
},
{
"x": 31,
"y": 4,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
"dest_warp_id": 1
},
{
"x": 31,
"y": 16,
"elevation": 4,
"dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
"dest_warp_id": 2
},
{
"x": 12,
"y": 9,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B4F",
"dest_warp_id": 0
},
{
"x": 29,
"y": 5,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B4F",
"dest_warp_id": 1
},
{
"x": 23,
"y": 9,
"elevation": 1,
"dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
"dest_warp_id": 7
},
{
"x": 24,
"y": 9,
"elevation": 1,
"dest_map": "MAP_SEAFOAM_ISLANDS_B2F",
"dest_warp_id": 8
},
{
"x": 6,
"y": 18,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B4F",
"dest_warp_id": 2
},
{
"x": 9,
"y": 18,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B4F",
"dest_warp_id": 3
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 5,
"y": 12,
"elevation": 0,
"item": "ITEM_NUGGET",
"flag": "29",
"unknown": 1
}
]
}