diff options
author | garak <garakmon@gmail.com> | 2019-05-13 19:44:24 -0400 |
---|---|---|
committer | garak <garakmon@gmail.com> | 2019-05-13 19:44:24 -0400 |
commit | 55d66b51770b4f657ed55822e7e76f6d6e3261d8 (patch) | |
tree | 1c324c7d2108afb678d2260e63b5591a04571b0d /data/maps/Route23 | |
parent | 4b98d7d07a681279022cec9f082071a374ddbdb9 (diff) |
convert map data to json
Diffstat (limited to 'data/maps/Route23')
-rw-r--r-- | data/maps/Route23/connections.inc | 7 | ||||
-rw-r--r-- | data/maps/Route23/events.inc | 72 | ||||
-rw-r--r-- | data/maps/Route23/header.inc | 8 | ||||
-rw-r--r-- | data/maps/Route23/map.json | 610 |
4 files changed, 610 insertions, 87 deletions
diff --git a/data/maps/Route23/connections.inc b/data/maps/Route23/connections.inc deleted file mode 100644 index 9b052d1c7..000000000 --- a/data/maps/Route23/connections.inc +++ /dev/null @@ -1,7 +0,0 @@ -Route23_MapConnectionsList: @ 8352CC8 - connection up, 0, MAP_INDIGO_PLATEAU_EXTERIOR - connection down, 0, MAP_ROUTE22 - -Route23_MapConnections:: @ 8352CE0 - .4byte 2 - .4byte Route23_MapConnectionsList diff --git a/data/maps/Route23/events.inc b/data/maps/Route23/events.inc deleted file mode 100644 index 1ae156d8f..000000000 --- a/data/maps/Route23/events.inc +++ /dev/null @@ -1,72 +0,0 @@ -Route23_EventObjects: - object_event 1, 60, 0, 15, 0, 149, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route23_EventScript_16850C, 0, 0, 0 - object_event 2, 60, 0, 8, 0, 140, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route23_EventScript_16851D, 0, 0, 0 - object_event 3, 60, 0, 14, 0, 123, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route23_EventScript_16852E, 0, 0, 0 - object_event 4, 60, 0, 16, 0, 112, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route23_EventScript_16853F, 0, 0, 0 - object_event 5, 60, 0, 10, 0, 94, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route23_EventScript_168550, 0, 0, 0 - object_event 6, 60, 0, 14, 0, 61, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route23_EventScript_168561, 0, 0, 0 - object_event 7, 60, 0, 6, 0, 35, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route23_EventScript_168572, 0, 0, 0 - -Route23_MapWarps: - warp_def 5, 28, 3, 1, 295 - warp_def 18, 28, 3, 6, 296 - warp_def 8, 153, 3, 0, 7168 - warp_def 9, 154, 0, 0, 7168 - -Route23_MapCoordEvents: - coord_event 13, 149, 3, 0, 16479, 1, 0, Route23_EventScript_168583 - coord_event 7, 140, 3, 0, 16479, 2, 0, Route23_EventScript_168598 - coord_event 12, 123, 3, 0, 16479, 3, 0, Route23_EventScript_1685AD - coord_event 11, 111, 0, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 9, 94, 1, 0, 16479, 5, 0, Route23_EventScript_1685D7 - coord_event 12, 61, 3, 0, 16479, 6, 0, Route23_EventScript_1685EC - coord_event 1, 35, 0, 0, 16479, 7, 0, Route23_EventScript_168601 - coord_event 1, 34, 0, 0, 16479, 7, 0, Route23_EventScript_168601 - coord_event 1, 32, 3, 0, 16479, 7, 0, Route23_EventScript_168601 - coord_event 1, 33, 0, 0, 16479, 7, 0, Route23_EventScript_168601 - coord_event 1, 31, 0, 0, 16479, 7, 0, Route23_EventScript_168601 - coord_event 1, 36, 0, 0, 16479, 7, 0, Route23_EventScript_168601 - coord_event 5, 35, 3, 0, 16479, 7, 0, Route23_EventScript_168601 - coord_event 4, 35, 3, 0, 16479, 7, 0, Route23_EventScript_168601 - coord_event 10, 60, 0, 0, 16479, 6, 0, Route23_EventScript_1685EC - coord_event 13, 61, 3, 0, 16479, 6, 0, Route23_EventScript_1685EC - coord_event 11, 60, 0, 0, 16479, 6, 0, Route23_EventScript_1685EC - coord_event 8, 94, 1, 0, 16479, 5, 0, Route23_EventScript_1685D7 - coord_event 5, 92, 1, 0, 16479, 5, 0, Route23_EventScript_1685D7 - coord_event 7, 94, 1, 0, 16479, 5, 0, Route23_EventScript_1685D7 - coord_event 4, 92, 1, 0, 16479, 5, 0, Route23_EventScript_1685D7 - coord_event 3, 92, 1, 0, 16479, 5, 0, Route23_EventScript_1685D7 - coord_event 2, 92, 1, 0, 16479, 5, 0, Route23_EventScript_1685D7 - coord_event 4, 139, 0, 0, 16479, 2, 0, Route23_EventScript_168598 - coord_event 5, 139, 0, 0, 16479, 2, 0, Route23_EventScript_168598 - coord_event 6, 140, 3, 0, 16479, 2, 0, Route23_EventScript_168598 - coord_event 10, 122, 0, 0, 16479, 3, 0, Route23_EventScript_1685AD - coord_event 11, 122, 0, 0, 16479, 3, 0, Route23_EventScript_1685AD - coord_event 13, 123, 3, 0, 16479, 3, 0, Route23_EventScript_1685AD - coord_event 8, 109, 1, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 9, 109, 1, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 10, 109, 1, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 11, 109, 1, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 12, 109, 1, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 12, 111, 0, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 14, 112, 1, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 13, 112, 1, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 15, 112, 1, 0, 16479, 4, 0, Route23_EventScript_1685C2 - coord_event 12, 148, 0, 0, 16479, 1, 0, Route23_EventScript_168583 - coord_event 11, 148, 0, 0, 16479, 1, 0, Route23_EventScript_168583 - coord_event 14, 149, 3, 0, 16479, 1, 0, Route23_EventScript_168583 - coord_event 10, 148, 0, 0, 16479, 1, 0, Route23_EventScript_168583 - -Route23_MapBGEvents: - bg_event 19, 42, 0, 7, 0, 19, 34, 1 - bg_event 20, 72, 0, 7, 0, 2, 35, 1 - bg_event 11, 101, 3, 7, 0, 35, 36, 1 - bg_event 3, 18, 3, 7, 0, 141, 145, 1 - bg_event 2, 29, 3, 7, 0, 142, 146, 1 - bg_event 10, 67, 3, 7, 0, 137, 147, 1 - bg_event 3, 128, 3, 7, 0, 138, 148, 1 - bg_event 9, 8, 3, 7, 0, 37, 155, 1 - bg_event 3, 31, 0, 0, 0, Route23_EventScript_168616 - -Route23_MapEvents:: - map_events Route23_EventObjects, Route23_MapWarps, Route23_MapCoordEvents, Route23_MapBGEvents diff --git a/data/maps/Route23/header.inc b/data/maps/Route23/header.inc deleted file mode 100644 index 2a6fa4b27..000000000 --- a/data/maps/Route23/header.inc +++ /dev/null @@ -1,8 +0,0 @@ -Route23:: @ 8350AB0 - .4byte Route23_Layout @ 0x82F8664 - .4byte Route23_MapEvents @ 0x83B8300 - .4byte Route23_MapScripts @ 0x81684EB - .4byte Route23_MapConnections @ 0x8352CE0 - .2byte BGM_FRLG_INDIGO_PLATEAU - .2byte 111 - .byte 0x7b, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00 diff --git a/data/maps/Route23/map.json b/data/maps/Route23/map.json new file mode 100644 index 000000000..924371f26 --- /dev/null +++ b/data/maps/Route23/map.json @@ -0,0 +1,610 @@ +{ + "id": "MAP_ROUTE23", + "name": "Route23", + "layout": "LAYOUT_ROUTE23", + "music": "BGM_FRLG_INDIGO_PLATEAU", + "region_map_section": "MAPSEC_ROUTE_23", + "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_INDIGO_PLATEAU_EXTERIOR", + "offset": 0, + "direction": "up" + }, + { + "map": "MAP_ROUTE22", + "offset": 0, + "direction": "down" + } + ], + "object_events": [ + { + "graphics_id": "60", + "x": 15, + "y": 149, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route23_EventScript_16850C", + "flag": "0" + }, + { + "graphics_id": "60", + "x": 8, + "y": 140, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route23_EventScript_16851D", + "flag": "0" + }, + { + "graphics_id": "60", + "x": 14, + "y": 123, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route23_EventScript_16852E", + "flag": "0" + }, + { + "graphics_id": "60", + "x": 16, + "y": 112, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route23_EventScript_16853F", + "flag": "0" + }, + { + "graphics_id": "60", + "x": 10, + "y": 94, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route23_EventScript_168550", + "flag": "0" + }, + { + "graphics_id": "60", + "x": 14, + "y": 61, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route23_EventScript_168561", + "flag": "0" + }, + { + "graphics_id": "60", + "x": 6, + "y": 35, + "elevation": 3, + "movement_type": "8", + "movement_range_x": 1, + "movement_range_y": 1, + "trainer_type": 0, + "trainer_sight_or_berry_tree_id": 0, + "script": "Route23_EventScript_168572", + "flag": "0" + } + ], + "warp_events": [ + { + "x": 5, + "y": 28, + "elevation": 3, + "dest_map": "MAP_VICTORY_ROAD_1F", + "dest_warp_id": 1 + }, + { + "x": 18, + "y": 28, + "elevation": 3, + "dest_map": "MAP_VICTORY_ROAD_2F", + "dest_warp_id": 6 + }, + { + "x": 8, + "y": 153, + "elevation": 3, + "dest_map": "MAP_ROUTE22_NORTH_ENTRANCE", + "dest_warp_id": 0 + }, + { + "x": 9, + "y": 154, + "elevation": 0, + "dest_map": "MAP_ROUTE22_NORTH_ENTRANCE", + "dest_warp_id": 0 + } + ], + "coord_events": [ + { + "type": "trigger", + "x": 13, + "y": 149, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 1, + "script": "Route23_EventScript_168583" + }, + { + "type": "trigger", + "x": 7, + "y": 140, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 2, + "script": "Route23_EventScript_168598" + }, + { + "type": "trigger", + "x": 12, + "y": 123, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 3, + "script": "Route23_EventScript_1685AD" + }, + { + "type": "trigger", + "x": 11, + "y": 111, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 9, + "y": 94, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 5, + "script": "Route23_EventScript_1685D7" + }, + { + "type": "trigger", + "x": 12, + "y": 61, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 6, + "script": "Route23_EventScript_1685EC" + }, + { + "type": "trigger", + "x": 1, + "y": 35, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 7, + "script": "Route23_EventScript_168601" + }, + { + "type": "trigger", + "x": 1, + "y": 34, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 7, + "script": "Route23_EventScript_168601" + }, + { + "type": "trigger", + "x": 1, + "y": 32, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 7, + "script": "Route23_EventScript_168601" + }, + { + "type": "trigger", + "x": 1, + "y": 33, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 7, + "script": "Route23_EventScript_168601" + }, + { + "type": "trigger", + "x": 1, + "y": 31, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 7, + "script": "Route23_EventScript_168601" + }, + { + "type": "trigger", + "x": 1, + "y": 36, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 7, + "script": "Route23_EventScript_168601" + }, + { + "type": "trigger", + "x": 5, + "y": 35, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 7, + "script": "Route23_EventScript_168601" + }, + { + "type": "trigger", + "x": 4, + "y": 35, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 7, + "script": "Route23_EventScript_168601" + }, + { + "type": "trigger", + "x": 10, + "y": 60, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 6, + "script": "Route23_EventScript_1685EC" + }, + { + "type": "trigger", + "x": 13, + "y": 61, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 6, + "script": "Route23_EventScript_1685EC" + }, + { + "type": "trigger", + "x": 11, + "y": 60, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 6, + "script": "Route23_EventScript_1685EC" + }, + { + "type": "trigger", + "x": 8, + "y": 94, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 5, + "script": "Route23_EventScript_1685D7" + }, + { + "type": "trigger", + "x": 5, + "y": 92, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 5, + "script": "Route23_EventScript_1685D7" + }, + { + "type": "trigger", + "x": 7, + "y": 94, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 5, + "script": "Route23_EventScript_1685D7" + }, + { + "type": "trigger", + "x": 4, + "y": 92, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 5, + "script": "Route23_EventScript_1685D7" + }, + { + "type": "trigger", + "x": 3, + "y": 92, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 5, + "script": "Route23_EventScript_1685D7" + }, + { + "type": "trigger", + "x": 2, + "y": 92, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 5, + "script": "Route23_EventScript_1685D7" + }, + { + "type": "trigger", + "x": 4, + "y": 139, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 2, + "script": "Route23_EventScript_168598" + }, + { + "type": "trigger", + "x": 5, + "y": 139, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 2, + "script": "Route23_EventScript_168598" + }, + { + "type": "trigger", + "x": 6, + "y": 140, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 2, + "script": "Route23_EventScript_168598" + }, + { + "type": "trigger", + "x": 10, + "y": 122, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 3, + "script": "Route23_EventScript_1685AD" + }, + { + "type": "trigger", + "x": 11, + "y": 122, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 3, + "script": "Route23_EventScript_1685AD" + }, + { + "type": "trigger", + "x": 13, + "y": 123, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 3, + "script": "Route23_EventScript_1685AD" + }, + { + "type": "trigger", + "x": 8, + "y": 109, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 9, + "y": 109, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 10, + "y": 109, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 11, + "y": 109, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 12, + "y": 109, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 12, + "y": 111, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 14, + "y": 112, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 13, + "y": 112, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 15, + "y": 112, + "elevation": 1, + "var": "VAR_0x405F", + "var_value": 4, + "script": "Route23_EventScript_1685C2" + }, + { + "type": "trigger", + "x": 12, + "y": 148, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 1, + "script": "Route23_EventScript_168583" + }, + { + "type": "trigger", + "x": 11, + "y": 148, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 1, + "script": "Route23_EventScript_168583" + }, + { + "type": "trigger", + "x": 14, + "y": 149, + "elevation": 3, + "var": "VAR_0x405F", + "var_value": 1, + "script": "Route23_EventScript_168583" + }, + { + "type": "trigger", + "x": 10, + "y": 148, + "elevation": 0, + "var": "VAR_0x405F", + "var_value": 1, + "script": "Route23_EventScript_168583" + } + ], + "bg_events": [ + { + "type": "hidden_item", + "x": 19, + "y": 42, + "elevation": 0, + "item": "ITEM_FULL_RESTORE", + "flag": "34", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 20, + "y": 72, + "elevation": 0, + "item": "POCKET_KEY_ITEMS", + "flag": "35", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 11, + "y": 101, + "elevation": 3, + "item": "ITEM_MAX_ETHER", + "flag": "36", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 3, + "y": 18, + "elevation": 3, + "item": "ITEM_LUM_BERRY", + "flag": "145", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 2, + "y": 29, + "elevation": 3, + "item": "ITEM_SITRUS_BERRY", + "flag": "146", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 10, + "y": 67, + "elevation": 3, + "item": "ITEM_ASPEAR_BERRY", + "flag": "147", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 3, + "y": 128, + "elevation": 3, + "item": "ITEM_LEPPA_BERRY", + "flag": "148", + "unknown": 1 + }, + { + "type": "hidden_item", + "x": 9, + "y": 8, + "elevation": 3, + "item": "ITEM_MAX_ELIXIR", + "flag": "155", + "unknown": 1 + }, + { + "type": "bg_event_type_0", + "x": 3, + "y": 31, + "elevation": 0, + "script": "Route23_EventScript_168616" + } + ] +}
\ No newline at end of file |