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
-6
View File
@@ -1,6 +0,0 @@
SixIsland_MapConnectionsList: @ 83529C8
connection right, -40, MAP_SIX_ISLAND_WATERPATH
SixIsland_MapConnections:: @ 83529D4
.4byte 1
.4byte SixIsland_MapConnectionsList
-16
View File
@@ -1,16 +0,0 @@
SixIsland_EventObjects:
object_event 1, 19, 0, 10, 0, 15, 0, 3, 9, 17, 0, 0, 0, 0, 0, SixIsland_EventScript_167EEB, 0, 0, 0
object_event 2, 56, 0, 15, 0, 13, 0, 3, 18, 17, 0, 0, 0, 0, 0, SixIsland_EventScript_167EE2, 0, 0, 0
SixIsland_MapWarps:
warp_def 11, 23, 3, 0, 9474
warp_def 11, 11, 0, 0, 9472
warp_def 16, 17, 0, 0, 9475
warp_def 20, 11, 0, 0, 9476
SixIsland_MapBGEvents:
bg_event 9, 17, 0, 0, 0, SixIsland_EventScript_167EF4
bg_event 9, 7, 3, 7, 0, 138, 184, 1
SixIsland_MapEvents::
map_events SixIsland_EventObjects, SixIsland_MapWarps, 0x0, SixIsland_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SixIsland:: @ 8350810
.4byte SixIsland_Layout @ 0x832430C
.4byte SixIsland_MapEvents @ 0x83B65F8
.4byte SixIsland_MapScripts @ 0x8167ED8
.4byte SixIsland_MapConnections @ 0x83529D4
.2byte BGM_FRLG_ISLAND_SIX
.2byte 236
.byte 0x95, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
+98
View File
@@ -0,0 +1,98 @@
{
"id": "MAP_SIX_ISLAND",
"name": "SixIsland",
"layout": "LAYOUT_SIX_ISLAND",
"music": "BGM_FRLG_ISLAND_SIX",
"region_map_section": "MAPSEC_SIX_ISLAND",
"requires_flash": false,
"weather": "WEATHER_2",
"map_type": "MAP_TYPE_1",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": [
{
"map": "MAP_SIX_ISLAND_WATER_PATH",
"offset": -40,
"direction": "right"
}
],
"object_events": [
{
"graphics_id": "19",
"x": 10,
"y": 15,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_EventScript_167EEB",
"flag": "0"
},
{
"graphics_id": "56",
"x": 15,
"y": 13,
"elevation": 3,
"movement_type": "18",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_EventScript_167EE2",
"flag": "0"
}
],
"warp_events": [
{
"x": 11,
"y": 23,
"elevation": 3,
"dest_map": "MAP_SIX_ISLAND_HARBOR",
"dest_warp_id": 0
},
{
"x": 11,
"y": 11,
"elevation": 0,
"dest_map": "MAP_SIX_ISLAND_POKEMON_CENTER_1F",
"dest_warp_id": 0
},
{
"x": 16,
"y": 17,
"elevation": 0,
"dest_map": "MAP_SIX_ISLAND_HOUSE",
"dest_warp_id": 0
},
{
"x": 20,
"y": 11,
"elevation": 0,
"dest_map": "MAP_SIX_ISLAND_MART",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 9,
"y": 17,
"elevation": 0,
"script": "SixIsland_EventScript_167EF4"
},
{
"type": "hidden_item",
"x": 9,
"y": 7,
"elevation": 3,
"item": "ITEM_LEPPA_BERRY",
"flag": "184",
"unknown": 1
}
]
}