summaryrefslogtreecommitdiff
path: root/data/maps/Route19
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/Route19
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/Route19')
-rw-r--r--data/maps/Route19/connections.inc7
-rw-r--r--data/maps/Route19/events.inc19
-rw-r--r--data/maps/Route19/header.inc8
-rw-r--r--data/maps/Route19/map.json195
4 files changed, 195 insertions, 34 deletions
diff --git a/data/maps/Route19/connections.inc b/data/maps/Route19/connections.inc
deleted file mode 100644
index c93520d52..000000000
--- a/data/maps/Route19/connections.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-Route19_MapConnectionsList: @ 8352C28
- connection up, -12, MAP_FUCHSIA_CITY
- connection left, 40, MAP_ROUTE20
-
-Route19_MapConnections:: @ 8352C40
- .4byte 2
- .4byte Route19_MapConnectionsList
diff --git a/data/maps/Route19/events.inc b/data/maps/Route19/events.inc
deleted file mode 100644
index d1d6dcdeb..000000000
--- a/data/maps/Route19/events.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-Route19_EventObjects:
- object_event 1, 45, 0, 15, 0, 10, 0, 3, 9, 54, 0, 1, 0, 3, 0, Route19_EventScript_1AB44F, 0, 0, 0
- object_event 2, 45, 0, 10, 0, 9, 0, 3, 10, 17, 0, 1, 0, 3, 0, Route19_EventScript_1AB411, 0, 0, 0
- object_event 3, 43, 0, 12, 0, 17, 0, 1, 1, 17, 0, 1, 0, 3, 0, Route19_EventScript_1AB547, 0, 0, 0
- object_event 4, 43, 0, 18, 0, 33, 0, 1, 51, 53, 0, 1, 0, 1, 0, Route19_EventScript_1AB48D, 0, 0, 0
- object_event 5, 43, 0, 8, 0, 27, 0, 1, 2, 34, 0, 1, 0, 1, 0, Route19_EventScript_1AB4CB, 0, 0, 0
- object_event 6, 43, 0, 16, 0, 22, 0, 1, 14, 17, 0, 1, 0, 6, 0, Route19_EventScript_1AB509, 0, 0, 0
- object_event 7, 43, 0, 11, 0, 47, 0, 1, 1, 17, 0, 1, 0, 1, 0, Route19_EventScript_1AB585, 0, 0, 0
- object_event 8, 44, 0, 14, 0, 48, 0, 1, 1, 17, 0, 1, 0, 1, 0, Route19_EventScript_1AB601, 0, 0, 0
- object_event 9, 44, 0, 12, 0, 49, 0, 1, 1, 17, 0, 1, 0, 1, 0, Route19_EventScript_1AB63F, 0, 0, 0
- object_event 10, 44, 0, 9, 0, 48, 0, 1, 1, 17, 0, 1, 0, 1, 0, Route19_EventScript_1AB5C3, 0, 0, 0
- object_event 11, 44, 0, 8, 0, 41, 0, 1, 8, 17, 0, 1, 0, 1, 0, Route19_EventScript_1AB67D, 0, 0, 0
- object_event 12, 36, 0, 9, 0, 41, 0, 1, 8, 17, 0, 1, 0, 1, 0, Route19_EventScript_1AB6C3, 0, 0, 0
-
-Route19_MapBGEvents:
- bg_event 13, 12, 0, 0, 0, Route19_EventScript_168232
-
-Route19_MapEvents::
- map_events Route19_EventObjects, 0x0, 0x0, Route19_MapBGEvents
diff --git a/data/maps/Route19/header.inc b/data/maps/Route19/header.inc
deleted file mode 100644
index a141f1f92..000000000
--- a/data/maps/Route19/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-Route19:: @ 8350A24
- .4byte Route19_Layout @ 0x82F42B4
- .4byte Route19_MapEvents @ 0x83B7BE4
- .4byte Route19_MapScripts @ 0x8168231
- .4byte Route19_MapConnections @ 0x8352C40
- .2byte BGM_FRLG_ROUTE_3
- .2byte 107
- .byte 0x77, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
diff --git a/data/maps/Route19/map.json b/data/maps/Route19/map.json
new file mode 100644
index 000000000..055c49371
--- /dev/null
+++ b/data/maps/Route19/map.json
@@ -0,0 +1,195 @@
+{
+ "id": "MAP_ROUTE19",
+ "name": "Route19",
+ "layout": "LAYOUT_ROUTE19",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_19",
+ "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_FUCHSIA_CITY",
+ "offset": -12,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE20",
+ "offset": 40,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "45",
+ "x": 15,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 6,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route19_EventScript_1AB44F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "45",
+ "x": 10,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route19_EventScript_1AB411",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 12,
+ "y": 17,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route19_EventScript_1AB547",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 18,
+ "y": 33,
+ "elevation": 1,
+ "movement_type": "51",
+ "movement_range_x": 5,
+ "movement_range_y": 3,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB48D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 8,
+ "y": 27,
+ "elevation": 1,
+ "movement_type": "2",
+ "movement_range_x": 2,
+ "movement_range_y": 2,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB4CB",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 16,
+ "y": 22,
+ "elevation": 1,
+ "movement_type": "14",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 6,
+ "script": "Route19_EventScript_1AB509",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "43",
+ "x": 11,
+ "y": 47,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB585",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 14,
+ "y": 48,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB601",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 12,
+ "y": 49,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB63F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 9,
+ "y": 48,
+ "elevation": 1,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB5C3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "44",
+ "x": 8,
+ "y": 41,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB67D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "36",
+ "x": 9,
+ "y": 41,
+ "elevation": 1,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route19_EventScript_1AB6C3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 13,
+ "y": 12,
+ "elevation": 0,
+ "script": "Route19_EventScript_168232"
+ }
+ ]
+} \ No newline at end of file