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,6 +0,0 @@
ThreeIsland_Port_MapConnectionsList: @ 8352D6C
connection up, 0, MAP_THREE_ISLAND
ThreeIsland_Port_MapConnections:: @ 8352D78
.4byte 1
.4byte ThreeIsland_Port_MapConnectionsList
-12
View File
@@ -1,12 +0,0 @@
ThreeIsland_Port_EventObjects:
object_event 1, 31, 0, 14, 0, 9, 0, 3, 1, 17, 0, 0, 0, 0, 0, ThreeIsland_Port_EventScript_168796, 0, 0, 0
object_event 2, 53, 0, 8, 0, 8, 0, 3, 28, 19, 0, 0, 0, 0, 0, ThreeIsland_Port_EventScript_1687CC, 121, 0, 0
object_event 3, 53, 0, 13, 0, 10, 0, 3, 49, 34, 0, 0, 0, 0, 0, ThreeIsland_Port_EventScript_1687D5, 121, 0, 0
ThreeIsland_Port_MapWarps:
warp_def 16, 4, 0, 0, 546
warp_def 38, 5, 3, 1, 546
warp_def 12, 13, 3, 0, 9728
ThreeIsland_Port_MapEvents::
map_events ThreeIsland_Port_EventObjects, ThreeIsland_Port_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
ThreeIsland_Port:: @ 8350B74
.4byte ThreeIsland_Port_Layout @ 0x8328380
.4byte ThreeIsland_Port_MapEvents @ 0x83B8B10
.4byte ThreeIsland_Port_MapScripts @ 0x8168789
.4byte ThreeIsland_Port_MapConnections @ 0x8352D78
.2byte BGM_FRLG_ROUTE_3
.2byte 241
.byte 0x9a, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
+87
View File
@@ -0,0 +1,87 @@
{
"id": "MAP_THREE_ISLAND_PORT",
"name": "ThreeIsland_Port",
"layout": "LAYOUT_THREE_ISLAND_PORT",
"music": "BGM_FRLG_ROUTE_3",
"region_map_section": "MAPSEC_THREE_ISLE_PORT",
"requires_flash": false,
"weather": "WEATHER_2",
"map_type": "MAP_TYPE_3",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": [
{
"map": "MAP_THREE_ISLAND",
"offset": 0,
"direction": "up"
}
],
"object_events": [
{
"graphics_id": "31",
"x": 14,
"y": 9,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "ThreeIsland_Port_EventScript_168796",
"flag": "0"
},
{
"graphics_id": "53",
"x": 8,
"y": 8,
"elevation": 3,
"movement_type": "28",
"movement_range_x": 3,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "ThreeIsland_Port_EventScript_1687CC",
"flag": "121"
},
{
"graphics_id": "53",
"x": 13,
"y": 10,
"elevation": 3,
"movement_type": "49",
"movement_range_x": 2,
"movement_range_y": 2,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "ThreeIsland_Port_EventScript_1687D5",
"flag": "121"
}
],
"warp_events": [
{
"x": 16,
"y": 4,
"elevation": 0,
"dest_map": "MAP_THREE_ISLAND_DUNSPARCE_TUNNEL",
"dest_warp_id": 0
},
{
"x": 38,
"y": 5,
"elevation": 3,
"dest_map": "MAP_THREE_ISLAND_DUNSPARCE_TUNNEL",
"dest_warp_id": 1
},
{
"x": 12,
"y": 13,
"elevation": 3,
"dest_map": "MAP_THREE_ISLAND_HARBOR",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}