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 @@
CinnabarIsland_MapConnectionsList: @ 8352890
connection up, 0, MAP_ROUTE21_SOUTH
connection right, 0, MAP_ROUTE20
CinnabarIsland_MapConnections:: @ 83528A8
.4byte 2
.4byte CinnabarIsland_MapConnectionsList
-24
View File
@@ -1,24 +0,0 @@
CinnabarIsland_EventObjects:
object_event 1, 28, 0, 14, 0, 6, 0, 3, 5, 17, 0, 0, 0, 0, 0, CinnabarIsland_EventScript_1671EF, 0, 0, 0
object_event 2, 32, 0, 11, 0, 11, 0, 3, 1, 17, 0, 0, 0, 0, 0, CinnabarIsland_EventScript_167208, 0, 0, 0
object_event 3, 73, 0, 20, 0, 7, 0, 3, 10, 17, 0, 0, 0, 0, 0, 0x0, 98, 0, 0
object_event 4, 108, 0, 23, 0, 7, 0, 1, 9, 17, 0, 0, 0, 0, 0, 0x0, 107, 0, 0
CinnabarIsland_MapWarps:
warp_def 8, 3, 0, 1, 315
warp_def 20, 4, 0, 1, 3072
warp_def 8, 9, 0, 1, 3073
warp_def 14, 11, 0, 0, 3077
warp_def 19, 11, 0, 1, 3079
CinnabarIsland_MapCoordEvents:
coord_event 20, 5, 3, 0, 16385, 0, 0, CinnabarIsland_EventScript_1671CA
CinnabarIsland_MapBGEvents:
bg_event 12, 3, 0, 0, 0, CinnabarIsland_EventScript_167211
bg_event 9, 9, 0, 0, 0, CinnabarIsland_EventScript_16721A
bg_event 22, 5, 0, 0, 0, CinnabarIsland_EventScript_167223
bg_event 10, 9, 0, 0, 0, CinnabarIsland_EventScript_16721A
CinnabarIsland_MapEvents::
map_events CinnabarIsland_EventObjects, CinnabarIsland_MapWarps, CinnabarIsland_MapCoordEvents, CinnabarIsland_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
CinnabarIsland:: @ 83506F8
.4byte CinnabarIsland_Layout @ 0x82E3B20
.4byte CinnabarIsland_MapEvents @ 0x83B5BF0
.4byte CinnabarIsland_MapScripts @ 0x8166ED6
.4byte CinnabarIsland_MapConnections @ 0x83528A8
.2byte BGM_FRLG_CINNABAR_ISLAND
.2byte 86
.byte 0x60, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
+158
View File
@@ -0,0 +1,158 @@
{
"id": "MAP_CINNABAR_ISLAND",
"name": "CinnabarIsland",
"layout": "LAYOUT_CINNABAR_ISLAND",
"music": "BGM_FRLG_CINNABAR_ISLAND",
"region_map_section": "MAPSEC_CINNABAR_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_ROUTE21_SOUTH",
"offset": 0,
"direction": "up"
},
{
"map": "MAP_ROUTE20",
"offset": 0,
"direction": "right"
}
],
"object_events": [
{
"graphics_id": "28",
"x": 14,
"y": 6,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CinnabarIsland_EventScript_1671EF",
"flag": "0"
},
{
"graphics_id": "32",
"x": 11,
"y": 11,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CinnabarIsland_EventScript_167208",
"flag": "0"
},
{
"graphics_id": "73",
"x": 20,
"y": 7,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "98"
},
{
"graphics_id": "108",
"x": 23,
"y": 7,
"elevation": 1,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "107"
}
],
"warp_events": [
{
"x": 8,
"y": 3,
"elevation": 0,
"dest_map": "MAP_POKEMON_MANSION_1F",
"dest_warp_id": 1
},
{
"x": 20,
"y": 4,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_GYM",
"dest_warp_id": 1
},
{
"x": 8,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
"dest_warp_id": 1
},
{
"x": 14,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_1F",
"dest_warp_id": 0
},
{
"x": 19,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_MART",
"dest_warp_id": 1
}
],
"coord_events": [
{
"type": "trigger",
"x": 20,
"y": 5,
"elevation": 3,
"var": "VAR_0x4001",
"var_value": 0,
"script": "CinnabarIsland_EventScript_1671CA"
}
],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 12,
"y": 3,
"elevation": 0,
"script": "CinnabarIsland_EventScript_167211"
},
{
"type": "bg_event_type_0",
"x": 9,
"y": 9,
"elevation": 0,
"script": "CinnabarIsland_EventScript_16721A"
},
{
"type": "bg_event_type_0",
"x": 22,
"y": 5,
"elevation": 0,
"script": "CinnabarIsland_EventScript_167223"
},
{
"type": "bg_event_type_0",
"x": 10,
"y": 9,
"elevation": 0,
"script": "CinnabarIsland_EventScript_16721A"
}
]
}