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
-16
View File
@@ -1,16 +0,0 @@
SeafoamIslands_1F_EventObjects:
object_event 1, 97, 0, 22, 0, 12, 0, 3, 8, 0, 0, 66, 0, 0, 0, SeafoamIslands_1F_EventScript_1BE11D, 64, 0, 0
object_event 2, 97, 0, 32, 0, 9, 0, 3, 8, 0, 0, 67, 0, 0, 0, SeafoamIslands_1F_EventScript_1BE11D, 65, 0, 0
object_event 3, 92, 0, 11, 0, 8, 0, 3, 8, 17, 0, 0, 0, 0, 0, SeafoamIslands_1F_EventScript_1BEBE7, 468, 0, 0
SeafoamIslands_1F_MapWarps:
warp_def 10, 6, 3, 0, 340
warp_def 31, 4, 3, 1, 340
warp_def 28, 19, 3, 2, 340
warp_def 6, 21, 3, 0, 806
warp_def 32, 21, 3, 1, 806
warp_def 21, 8, 3, 9, 340
warp_def 30, 8, 3, 10, 340
SeafoamIslands_1F_MapEvents::
map_events SeafoamIslands_1F_EventObjects, SeafoamIslands_1F_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
SeafoamIslands_1F:: @ 834FB28
.4byte SeafoamIslands_1F_Layout @ 0x831474C
.4byte SeafoamIslands_1F_MapEvents @ 0x83B1E64
.4byte SeafoamIslands_1F_MapScripts @ 0x8162F43
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_FOREST
.2byte 156
.byte 0x8b, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
+109
View File
@@ -0,0 +1,109 @@
{
"id": "MAP_SEAFOAM_ISLANDS_1F",
"name": "SeafoamIslands_1F",
"layout": "LAYOUT_SEAFOAM_ISLANDS_1F",
"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": 22,
"y": 12,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 66,
"trainer_sight_or_berry_tree_id": 0,
"script": "SeafoamIslands_1F_EventScript_1BE11D",
"flag": "64"
},
{
"graphics_id": "97",
"x": 32,
"y": 9,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 67,
"trainer_sight_or_berry_tree_id": 0,
"script": "SeafoamIslands_1F_EventScript_1BE11D",
"flag": "65"
},
{
"graphics_id": "92",
"x": 11,
"y": 8,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SeafoamIslands_1F_EventScript_1BEBE7",
"flag": "468"
}
],
"warp_events": [
{
"x": 10,
"y": 6,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
"dest_warp_id": 0
},
{
"x": 31,
"y": 4,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
"dest_warp_id": 1
},
{
"x": 28,
"y": 19,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
"dest_warp_id": 2
},
{
"x": 6,
"y": 21,
"elevation": 3,
"dest_map": "MAP_ROUTE20",
"dest_warp_id": 0
},
{
"x": 32,
"y": 21,
"elevation": 3,
"dest_map": "MAP_ROUTE20",
"dest_warp_id": 1
},
{
"x": 21,
"y": 8,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
"dest_warp_id": 9
},
{
"x": 30,
"y": 8,
"elevation": 3,
"dest_map": "MAP_SEAFOAM_ISLANDS_B1F",
"dest_warp_id": 10
}
],
"coord_events": [],
"bg_events": []
}