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
-7
View File
@@ -1,7 +0,0 @@
SevenIsland_MapConnectionsList: @ 83529A8
connection up, -48, MAP_SEVEN_ISLAND_TRAINERTOWER
connection down, 0, MAP_SEVEN_ISLAND_SEVAULTCANYON_ENTRANCE
SevenIsland_MapConnections:: @ 83529C0
.4byte 2
.4byte SevenIsland_MapConnectionsList
-16
View File
@@ -1,16 +0,0 @@
SevenIsland_EventObjects:
object_event 1, 41, 0, 7, 0, 18, 0, 3, 9, 17, 0, 0, 0, 0, 0, SevenIsland_EventScript_1C4B56, 0, 0, 0
object_event 2, 35, 0, 9, 0, 7, 0, 3, 13, 17, 0, 0, 0, 0, 0, SevenIsland_EventScript_167EC6, 0, 0, 0
object_event 3, 55, 0, 15, 0, 5, 0, 3, 2, 17, 0, 0, 0, 0, 0, SevenIsland_EventScript_167ECF, 0, 0, 0
SevenIsland_MapWarps:
warp_def 11, 9, 0, 0, 7936
warp_def 5, 9, 0, 0, 7938
warp_def 12, 3, 0, 0, 7939
warp_def 16, 13, 3, 0, 7942
SevenIsland_MapBGEvents:
bg_event 17, 9, 0, 0, 0, SevenIsland_EventScript_167EBD
SevenIsland_MapEvents::
map_events SevenIsland_EventObjects, SevenIsland_MapWarps, 0x0, SevenIsland_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SevenIsland:: @ 83507F4
.4byte SevenIsland_Layout @ 0x8323D48
.4byte SevenIsland_MapEvents @ 0x83B657C
.4byte SevenIsland_MapScripts @ 0x8167EB3
.4byte SevenIsland_MapConnections @ 0x83529C0
.2byte BGM_FRLG_ISLAND_SIX
.2byte 235
.byte 0x94, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
+107
View File
@@ -0,0 +1,107 @@
{
"id": "MAP_SEVEN_ISLAND",
"name": "SevenIsland",
"layout": "LAYOUT_SEVEN_ISLAND",
"music": "BGM_FRLG_ISLAND_SIX",
"region_map_section": "MAPSEC_SEVEN_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_SEVEN_ISLAND_TRAINER_TOWER",
"offset": -48,
"direction": "up"
},
{
"map": "MAP_SEVEN_ISLAND_SEVAULT_CANYON_ENTRANCE",
"offset": 0,
"direction": "down"
}
],
"object_events": [
{
"graphics_id": "41",
"x": 7,
"y": 18,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SevenIsland_EventScript_1C4B56",
"flag": "0"
},
{
"graphics_id": "35",
"x": 9,
"y": 7,
"elevation": 3,
"movement_type": "13",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SevenIsland_EventScript_167EC6",
"flag": "0"
},
{
"graphics_id": "55",
"x": 15,
"y": 5,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SevenIsland_EventScript_167ECF",
"flag": "0"
}
],
"warp_events": [
{
"x": 11,
"y": 9,
"elevation": 0,
"dest_map": "MAP_SEVEN_ISLAND_HOUSE_ROOM1",
"dest_warp_id": 0
},
{
"x": 5,
"y": 9,
"elevation": 0,
"dest_map": "MAP_SEVEN_ISLAND_MART",
"dest_warp_id": 0
},
{
"x": 12,
"y": 3,
"elevation": 0,
"dest_map": "MAP_SEVEN_ISLAND_POKEMON_CENTER_1F",
"dest_warp_id": 0
},
{
"x": 16,
"y": 13,
"elevation": 3,
"dest_map": "MAP_SEVEN_ISLAND_HARBOR",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 17,
"y": 9,
"elevation": 0,
"script": "SevenIsland_EventScript_167EBD"
}
]
}