summaryrefslogtreecommitdiff
path: root/data/maps/Route11
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-05-13 19:44:24 -0400
committergarak <garakmon@gmail.com>2019-05-13 19:44:24 -0400
commit55d66b51770b4f657ed55822e7e76f6d6e3261d8 (patch)
tree1c324c7d2108afb678d2260e63b5591a04571b0d /data/maps/Route11
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/Route11')
-rw-r--r--data/maps/Route11/connections.inc7
-rw-r--r--data/maps/Route11/events.inc26
-rw-r--r--data/maps/Route11/header.inc8
-rw-r--r--data/maps/Route11/map.json239
4 files changed, 239 insertions, 41 deletions
diff --git a/data/maps/Route11/connections.inc b/data/maps/Route11/connections.inc
deleted file mode 100644
index d250bb844..000000000
--- a/data/maps/Route11/connections.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-Route11_MapConnectionsList: @ 8352B1C
- connection left, -10, MAP_VERMILION_CITY
- connection right, -60, MAP_ROUTE12
-
-Route11_MapConnections:: @ 8352B34
- .4byte 2
- .4byte Route11_MapConnectionsList
diff --git a/data/maps/Route11/events.inc b/data/maps/Route11/events.inc
deleted file mode 100644
index 4e32954ea..000000000
--- a/data/maps/Route11/events.inc
+++ /dev/null
@@ -1,26 +0,0 @@
-Route11_EventObjects:
- object_event 1, 18, 0, 19, 0, 8, 0, 3, 17, 17, 0, 1, 0, 4, 0, Route11_EventScript_1A9B0D, 0, 0, 0
- object_event 2, 32, 0, 16, 0, 17, 0, 3, 1, 17, 0, 1, 0, 1, 0, Route11_EventScript_1A9C81, 0, 0, 0
- object_event 3, 18, 0, 31, 0, 8, 0, 3, 15, 17, 0, 1, 0, 4, 0, Route11_EventScript_1A9B4B, 0, 0, 0
- object_event 4, 18, 0, 28, 0, 10, 0, 3, 40, 72, 0, 1, 0, 1, 0, Route11_EventScript_1A9BC7, 0, 0, 0
- object_event 5, 32, 0, 38, 0, 15, 0, 3, 1, 17, 0, 1, 0, 1, 0, Route11_EventScript_1A9CBF, 0, 0, 0
- object_event 6, 32, 0, 50, 0, 4, 0, 3, 1, 17, 0, 1, 0, 1, 0, Route11_EventScript_1A9D3B, 0, 0, 0
- object_event 7, 30, 0, 42, 0, 8, 0, 3, 14, 17, 0, 1, 0, 4, 0, Route11_EventScript_1A9C05, 0, 0, 0
- object_event 8, 18, 0, 50, 0, 14, 0, 3, 25, 65, 0, 1, 0, 1, 0, Route11_EventScript_1A9B89, 0, 0, 0
- object_event 9, 32, 0, 57, 0, 16, 0, 3, 1, 17, 0, 1, 0, 1, 0, Route11_EventScript_1A9CFD, 0, 0, 0
- object_event 10, 30, 0, 32, 0, 18, 0, 3, 14, 17, 0, 1, 0, 6, 0, Route11_EventScript_1A9C43, 0, 0, 0
- object_event 11, 92, 0, 42, 0, 12, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route11_EventScript_1BEAF0, 449, 0, 0
- object_event 12, 92, 0, 63, 0, 13, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route11_EventScript_1BEB99, 462, 0, 0
- object_event 13, 92, 0, 13, 0, 3, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route11_EventScript_1BEBA6, 463, 0, 0
-
-Route11_MapWarps:
- warp_def 6, 7, 0, 0, 294
- warp_def 58, 10, 3, 0, 5632
- warp_def 65, 10, 3, 2, 5632
-
-Route11_MapBGEvents:
- bg_event 3, 7, 3, 0, 0, Route11_EventScript_167FF7
- bg_event 58, 5, 0, 7, 0, 85, 41, 1
-
-Route11_MapEvents::
- map_events Route11_EventObjects, Route11_MapWarps, 0x0, Route11_MapBGEvents
diff --git a/data/maps/Route11/header.inc b/data/maps/Route11/header.inc
deleted file mode 100644
index 92ea71fdb..000000000
--- a/data/maps/Route11/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-Route11:: @ 8350944
- .4byte Route11_Layout @ 0x82ECF34
- .4byte Route11_MapEvents @ 0x83B711C
- .4byte Route11_MapScripts @ 0x8167FF6
- .4byte Route11_MapConnections @ 0x8352B34
- .2byte BGM_FRLG_ROUTE_11
- .2byte 99
- .byte 0x6f, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
diff --git a/data/maps/Route11/map.json b/data/maps/Route11/map.json
new file mode 100644
index 000000000..6800fad19
--- /dev/null
+++ b/data/maps/Route11/map.json
@@ -0,0 +1,239 @@
+{
+ "id": "MAP_ROUTE11",
+ "name": "Route11",
+ "layout": "LAYOUT_ROUTE11",
+ "music": "BGM_FRLG_ROUTE_11",
+ "region_map_section": "MAPSEC_ROUTE_11",
+ "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_VERMILION_CITY",
+ "offset": -10,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE12",
+ "offset": -60,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "18",
+ "x": 19,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "17",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route11_EventScript_1A9B0D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 16,
+ "y": 17,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9C81",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 31,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "15",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route11_EventScript_1A9B4B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 28,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "40",
+ "movement_range_x": 8,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9BC7",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 38,
+ "y": 15,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9CBF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 50,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9D3B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 42,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route11_EventScript_1A9C05",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 50,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "25",
+ "movement_range_x": 1,
+ "movement_range_y": 4,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9B89",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "32",
+ "x": 57,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route11_EventScript_1A9CFD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 32,
+ "y": 18,
+ "elevation": 3,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "Route11_EventScript_1A9C43",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 42,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EventScript_1BEAF0",
+ "flag": "449"
+ },
+ {
+ "graphics_id": "92",
+ "x": 63,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EventScript_1BEB99",
+ "flag": "462"
+ },
+ {
+ "graphics_id": "92",
+ "x": 13,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route11_EventScript_1BEBA6",
+ "flag": "463"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 6,
+ "y": 7,
+ "elevation": 0,
+ "dest_map": "MAP_DIGLETTS_CAVE_SOUTH_ENTRANCE",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 58,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11_EAST_ENTRANCE_1F",
+ "dest_warp_id": 0
+ },
+ {
+ "x": 65,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_ROUTE11_EAST_ENTRANCE_1F",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 3,
+ "y": 7,
+ "elevation": 3,
+ "script": "Route11_EventScript_167FF7"
+ },
+ {
+ "type": "hidden_item",
+ "x": 58,
+ "y": 5,
+ "elevation": 0,
+ "item": "ITEM_ESCAPE_ROPE",
+ "flag": "41",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file