summaryrefslogtreecommitdiff
path: root/data/maps/Route13
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/Route13
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/Route13')
-rw-r--r--data/maps/Route13/connections.inc7
-rw-r--r--data/maps/Route13/events.inc21
-rw-r--r--data/maps/Route13/header.inc8
-rw-r--r--data/maps/Route13/map.json205
4 files changed, 205 insertions, 36 deletions
diff --git a/data/maps/Route13/connections.inc b/data/maps/Route13/connections.inc
deleted file mode 100644
index 2a201358e..000000000
--- a/data/maps/Route13/connections.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-Route13_MapConnectionsList: @ 8352B68
- connection up, 48, MAP_ROUTE12
- connection left, 0, MAP_ROUTE14
-
-Route13_MapConnections:: @ 8352B80
- .4byte 2
- .4byte Route13_MapConnectionsList
diff --git a/data/maps/Route13/events.inc b/data/maps/Route13/events.inc
deleted file mode 100644
index b02655643..000000000
--- a/data/maps/Route13/events.inc
+++ /dev/null
@@ -1,21 +0,0 @@
-Route13_EventObjects:
- object_event 1, 40, 0, 62, 0, 6, 0, 3, 2, 17, 0, 1, 0, 1, 0, Route13_EventScript_1AA803, 0, 0, 0
- object_event 2, 26, 0, 63, 0, 12, 0, 3, 2, 17, 0, 1, 0, 1, 0, Route13_EventScript_1AA749, 0, 0, 0
- object_event 3, 40, 0, 54, 0, 11, 0, 3, 2, 17, 0, 1, 0, 1, 0, Route13_EventScript_1AA841, 0, 0, 0
- object_event 4, 29, 0, 42, 0, 7, 0, 3, 8, 17, 0, 1, 0, 3, 0, Route13_EventScript_1AA70B, 0, 0, 0
- object_event 5, 29, 0, 43, 0, 7, 0, 3, 8, 17, 0, 1, 0, 3, 0, Route13_EventScript_1AA6CD, 0, 0, 0
- object_event 6, 40, 0, 35, 0, 10, 0, 3, 8, 17, 0, 1, 0, 1, 0, Route13_EventScript_1AA87F, 0, 0, 0
- object_event 7, 40, 0, 29, 0, 11, 0, 3, 9, 17, 0, 1, 0, 3, 0, Route13_EventScript_1AA8BD, 0, 0, 0
- object_event 8, 26, 0, 9, 0, 14, 0, 3, 7, 17, 0, 1, 0, 3, 0, Route13_EventScript_1AA7C5, 0, 0, 0
- object_event 9, 26, 0, 16, 0, 5, 0, 3, 10, 17, 0, 1, 0, 3, 0, Route13_EventScript_1AA787, 0, 0, 0
- object_event 10, 53, 0, 14, 0, 8, 0, 3, 1, 17, 0, 1, 0, 1, 0, Route13_EventScript_1AA68F, 0, 0, 0
- object_event 11, 95, 0, 44, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, Route13_EventScript_1BDF13, 18, 0, 0
-
-Route13_MapBGEvents:
- bg_event 41, 12, 0, 0, 0, Route13_EventScript_1680C8
- bg_event 37, 6, 0, 0, 0, Route13_EventScript_1680BF
- bg_event 21, 14, 0, 0, 0, Route13_EventScript_1680B6
- bg_event 23, 14, 3, 7, 0, 69, 15, 1
-
-Route13_MapEvents::
- map_events Route13_EventObjects, 0x0, 0x0, Route13_MapBGEvents
diff --git a/data/maps/Route13/header.inc b/data/maps/Route13/header.inc
deleted file mode 100644
index 854f41328..000000000
--- a/data/maps/Route13/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-Route13:: @ 835097C
- .4byte Route13_Layout @ 0x82EF13C
- .4byte Route13_MapEvents @ 0x83B7428
- .4byte Route13_MapScripts @ 0x81680B5
- .4byte Route13_MapConnections @ 0x8352B80
- .2byte BGM_FRLG_ROUTE_11
- .2byte 101
- .byte 0x71, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
diff --git a/data/maps/Route13/map.json b/data/maps/Route13/map.json
new file mode 100644
index 000000000..0417505f5
--- /dev/null
+++ b/data/maps/Route13/map.json
@@ -0,0 +1,205 @@
+{
+ "id": "MAP_ROUTE13",
+ "name": "Route13",
+ "layout": "LAYOUT_ROUTE13",
+ "music": "BGM_FRLG_ROUTE_11",
+ "region_map_section": "MAPSEC_ROUTE_13",
+ "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_ROUTE12",
+ "offset": 48,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_ROUTE14",
+ "offset": 0,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "40",
+ "x": 62,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA803",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 63,
+ "y": 12,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA749",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 54,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA841",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 42,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA70B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "29",
+ "x": 43,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA6CD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 35,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA87F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "40",
+ "x": 29,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA8BD",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 9,
+ "y": 14,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA7C5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "26",
+ "x": 16,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route13_EventScript_1AA787",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "53",
+ "x": 14,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "Route13_EventScript_1AA68F",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "95",
+ "x": 44,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route13_EventScript_1BDF13",
+ "flag": "18"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 41,
+ "y": 12,
+ "elevation": 0,
+ "script": "Route13_EventScript_1680C8"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 37,
+ "y": 6,
+ "elevation": 0,
+ "script": "Route13_EventScript_1680BF"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 21,
+ "y": 14,
+ "elevation": 0,
+ "script": "Route13_EventScript_1680B6"
+ },
+ {
+ "type": "hidden_item",
+ "x": 23,
+ "y": 14,
+ "elevation": 3,
+ "item": "ITEM_PP_UP",
+ "flag": "15",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file