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,14 +0,0 @@
FourIsland_IcefallCave_1F_EventObjects:
object_event 1, 92, 0, 11, 0, 7, 0, 3, 8, 17, 0, 0, 0, 0, 0, FourIsland_IcefallCave_1F_EventScript_1BED53, 496, 0, 0
object_event 2, 92, 0, 12, 0, 16, 0, 3, 8, 17, 0, 0, 0, 0, 0, FourIsland_IcefallCave_1F_EventScript_1BED60, 497, 0, 0
FourIsland_IcefallCave_1F_MapWarps:
warp_def 3, 17, 0, 1, 366
warp_def 2, 8, 3, 2, 366
warp_def 12, 12, 3, 0, 368
warp_def 12, 3, 3, 1, 368
warp_def 15, 16, 3, 2, 368
warp_def 3, 6, 3, 0, 369
FourIsland_IcefallCave_1F_MapEvents::
map_events FourIsland_IcefallCave_1F_EventObjects, FourIsland_IcefallCave_1F_MapWarps, 0x0, 0x0
@@ -1,8 +0,0 @@
FourIsland_IcefallCave_1F:: @ 834FE38
.4byte FourIsland_IcefallCave_1F_Layout @ 0x834117C
.4byte FourIsland_IcefallCave_1F_MapEvents @ 0x83B34AC
.4byte FourIsland_IcefallCave_1F_MapScripts @ 0x8163D44
.4byte NULL
.2byte BGM_FRLG_MT_EMBER
.2byte 294
.byte 0xb1, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
@@ -0,0 +1,89 @@
{
"id": "MAP_FOUR_ISLAND_ICEFALL_CAVE_1F",
"name": "FourIsland_IcefallCave_1F",
"layout": "LAYOUT_FOUR_ISLAND_ICEFALL_CAVE_1F",
"music": "BGM_FRLG_MT_EMBER",
"region_map_section": "MAPSEC_ICEFALL_CAVE",
"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": "92",
"x": 11,
"y": 7,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FourIsland_IcefallCave_1F_EventScript_1BED53",
"flag": "496"
},
{
"graphics_id": "92",
"x": 12,
"y": 16,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FourIsland_IcefallCave_1F_EventScript_1BED60",
"flag": "497"
}
],
"warp_events": [
{
"x": 3,
"y": 17,
"elevation": 0,
"dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
"dest_warp_id": 1
},
{
"x": 2,
"y": 8,
"elevation": 3,
"dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
"dest_warp_id": 2
},
{
"x": 12,
"y": 12,
"elevation": 3,
"dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F",
"dest_warp_id": 0
},
{
"x": 12,
"y": 3,
"elevation": 3,
"dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F",
"dest_warp_id": 1
},
{
"x": 15,
"y": 16,
"elevation": 3,
"dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F",
"dest_warp_id": 2
},
{
"x": 3,
"y": 6,
"elevation": 3,
"dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_BACK",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}
@@ -23,7 +23,7 @@ EventScript_163D65:: @ 8163D65
waitmovement 0
playse SE_FU_ZAKU
delay 60
warphole MAP_FOUR_ISLAND_ICEFALLCAVE_B1F
warphole MAP_FOUR_ISLAND_ICEFALL_CAVE_B1F
waitstate
releaseall
end