summaryrefslogtreecommitdiff
path: root/data/maps/Route14
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/Route14
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/Route14')
-rw-r--r--data/maps/Route14/connections.inc7
-rw-r--r--data/maps/Route14/events.inc24
-rw-r--r--data/maps/Route14/header.inc8
-rw-r--r--data/maps/Route14/map.json252
4 files changed, 252 insertions, 39 deletions
diff --git a/data/maps/Route14/connections.inc b/data/maps/Route14/connections.inc
deleted file mode 100644
index f10ba89fd..000000000
--- a/data/maps/Route14/connections.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-Route14_MapConnectionsList: @ 8352B88
- connection left, 40, MAP_ROUTE15
- connection right, 0, MAP_ROUTE13
-
-Route14_MapConnections:: @ 8352BA0
- .4byte 2
- .4byte Route14_MapConnectionsList
diff --git a/data/maps/Route14/events.inc b/data/maps/Route14/events.inc
deleted file mode 100644
index 90606e7d4..000000000
--- a/data/maps/Route14/events.inc
+++ /dev/null
@@ -1,24 +0,0 @@
-Route14_EventObjects:
- object_event 1, 53, 0, 7, 0, 37, 0, 3, 10, 17, 0, 1, 0, 2, 0, Route14_EventScript_1AA9B5, 0, 0, 0
- object_event 2, 26, 0, 18, 0, 35, 0, 3, 2, 34, 0, 1, 0, 1, 0, Route14_EventScript_1AA9F3, 0, 0, 0
- object_event 3, 26, 0, 10, 0, 14, 0, 3, 10, 17, 0, 1, 0, 4, 0, Route14_EventScript_1AAAEB, 0, 0, 0
- object_event 4, 26, 0, 16, 0, 16, 0, 3, 7, 17, 0, 1, 0, 3, 0, Route14_EventScript_1AAB29, 0, 0, 0
- object_event 5, 53, 0, 7, 0, 31, 0, 3, 10, 17, 0, 1, 0, 2, 0, Route14_EventScript_1AA977, 0, 0, 0
- object_event 6, 53, 0, 7, 0, 34, 0, 3, 10, 17, 0, 1, 0, 2, 0, Route14_EventScript_1AA8FB, 0, 0, 0
- object_event 7, 26, 0, 8, 0, 9, 0, 3, 5, 17, 0, 1, 0, 1, 0, Route14_EventScript_1AAAAD, 0, 0, 0
- object_event 8, 26, 0, 7, 0, 6, 0, 3, 10, 17, 0, 1, 0, 1, 0, Route14_EventScript_1AAA6F, 0, 0, 0
- object_event 9, 53, 0, 10, 0, 37, 0, 3, 25, 97, 0, 1, 0, 1, 0, Route14_EventScript_1AA939, 0, 0, 0
- object_event 10, 26, 0, 18, 0, 47, 0, 3, 2, 34, 0, 1, 0, 1, 0, Route14_EventScript_1AAA31, 0, 0, 0
- object_event 11, 95, 0, 7, 0, 26, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route14_EventScript_1BDF13, 18, 0, 0
- object_event 12, 95, 0, 12, 0, 35, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route14_EventScript_1BDF13, 19, 0, 0
- object_event 13, 95, 0, 1, 0, 47, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route14_EventScript_1BDF13, 20, 0, 0
- object_event 14, 17, 0, 13, 0, 51, 0, 3, 8, 17, 0, 1, 0, 1, 0, Route14_EventScript_1AABAD, 0, 0, 0
- object_event 15, 17, 0, 12, 0, 51, 0, 3, 8, 17, 0, 1, 0, 1, 0, Route14_EventScript_1AAB67, 0, 0, 0
-
-Route14_MapBGEvents:
- bg_event 17, 12, 0, 0, 0, Route14_EventScript_1680D2
- bg_event 9, 20, 3, 7, 0, 70, 149, 1
- bg_event 19, 53, 3, 7, 0, 152, 157, 1
-
-Route14_MapEvents::
- map_events Route14_EventObjects, 0x0, 0x0, Route14_MapBGEvents
diff --git a/data/maps/Route14/header.inc b/data/maps/Route14/header.inc
deleted file mode 100644
index 4dc8ad571..000000000
--- a/data/maps/Route14/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-Route14:: @ 8350998
- .4byte Route14_Layout @ 0x82EFCA0
- .4byte Route14_MapEvents @ 0x83B75C8
- .4byte Route14_MapScripts @ 0x81680D1
- .4byte Route14_MapConnections @ 0x8352BA0
- .2byte BGM_FRLG_ROUTE_11
- .2byte 102
- .byte 0x72, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
diff --git a/data/maps/Route14/map.json b/data/maps/Route14/map.json
new file mode 100644
index 000000000..cdfb7882e
--- /dev/null
+++ b/data/maps/Route14/map.json
@@ -0,0 +1,252 @@
+{
+ "id": "MAP_ROUTE14",
+ "name": "Route14",
+ "layout": "LAYOUT_ROUTE14",
+ "music": "BGM_FRLG_ROUTE_11",
+ "region_map_section": "MAPSEC_ROUTE_14",
+ "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_ROUTE15",
+ "offset": 40,
+ "direction": "left"
+ },
+ {
+ "map": "MAP_ROUTE13",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "53",
+ "x": 7,
+ "y": 37,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route14_EventScript_1AA9B5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 18,
+ "y": 35,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AA9F3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 10,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route14_EventScript_1AAAEB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 16,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route14_EventScript_1AAB29",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 7,
+ "y": 31,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route14_EventScript_1AA977",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 7,
+ "y": 34,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route14_EventScript_1AA8FB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AAAAD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 7,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AAA6F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 10,
+ "y": 37,
+ "elevation": 3,
+ "movement_type": "25",
+ "movement_range_x": 1,
+ "movement_range_y": 6,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AA939",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 18,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AAA31",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 7,
+ "y": 26,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route14_EventScript_1BDF13",
+ "flag": "18"
+ },
+ {
+ "graphics_id": "95",
+ "x": 12,
+ "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": "Route14_EventScript_1BDF13",
+ "flag": "19"
+ },
+ {
+ "graphics_id": "95",
+ "x": 1,
+ "y": 47,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route14_EventScript_1BDF13",
+ "flag": "20"
+ },
+ {
+ "graphics_id": "17",
+ "x": 13,
+ "y": 51,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AABAD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "17",
+ "x": 12,
+ "y": 51,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route14_EventScript_1AAB67",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 17,
+ "y": 12,
+ "elevation": 0,
+ "script": "Route14_EventScript_1680D2"
+ },
+ {
+ "type": "hidden_item",
+ "x": 9,
+ "y": 20,
+ "elevation": 3,
+ "item": "ITEM_ZINC",
+ "flag": "149",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 19,
+ "y": 53,
+ "elevation": 3,
+ "item": "ITEM_PINAP_BERRY",
+ "flag": "157",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file