summaryrefslogtreecommitdiff
path: root/data/maps/Route3
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/Route3
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/Route3')
-rw-r--r--data/maps/Route3/connections.inc7
-rw-r--r--data/maps/Route3/events.inc17
-rw-r--r--data/maps/Route3/header.inc8
-rw-r--r--data/maps/Route3/map.json165
4 files changed, 165 insertions, 32 deletions
diff --git a/data/maps/Route3/connections.inc b/data/maps/Route3/connections.inc
deleted file mode 100644
index 77fc58c67..000000000
--- a/data/maps/Route3/connections.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-Route3_MapConnectionsList: @ 8352A1C
- connection up, 60, MAP_ROUTE4
- connection left, -10, MAP_PEWTER_CITY
-
-Route3_MapConnections:: @ 8352A34
- .4byte 2
- .4byte Route3_MapConnectionsList
diff --git a/data/maps/Route3/events.inc b/data/maps/Route3/events.inc
deleted file mode 100644
index 9328d0926..000000000
--- a/data/maps/Route3/events.inc
+++ /dev/null
@@ -1,17 +0,0 @@
-Route3_EventObjects:
- object_event 1, 18, 0, 70, 0, 13, 0, 3, 1, 17, 0, 0, 0, 0, 0, Route3_EventScript_167F78, 0, 0, 0
- object_event 2, 22, 0, 40, 0, 11, 0, 3, 3, 17, 0, 1, 0, 3, 0, Route3_EventScript_1A957B, 0, 0, 0
- object_event 3, 20, 0, 32, 0, 6, 0, 3, 10, 17, 0, 1, 0, 4, 0, Route3_EventScript_1A94C1, 0, 0, 0
- object_event 4, 22, 0, 30, 0, 3, 0, 3, 9, 17, 0, 1, 0, 5, 0, Route3_EventScript_1A953D, 0, 0, 0
- object_event 5, 20, 0, 25, 0, 4, 0, 3, 8, 17, 0, 1, 0, 2, 0, Route3_EventScript_1A9483, 0, 0, 0
- object_event 6, 18, 0, 29, 0, 10, 0, 3, 9, 17, 0, 1, 0, 5, 0, Route3_EventScript_1A9407, 0, 0, 0
- object_event 7, 22, 0, 19, 0, 9, 0, 3, 9, 17, 0, 1, 0, 5, 0, Route3_EventScript_1A94FF, 0, 0, 0
- object_event 8, 20, 0, 12, 0, 6, 0, 3, 10, 17, 0, 1, 0, 3, 0, Route3_EventScript_1A9445, 0, 0, 0
- object_event 9, 18, 0, 17, 0, 4, 0, 3, 8, 17, 0, 1, 0, 2, 0, Route3_EventScript_1A93C9, 0, 0, 0
-
-Route3_MapBGEvents:
- bg_event 72, 11, 0, 0, 0, Route3_EventScript_167F81
- bg_event 26, 9, 3, 7, 0, 139, 113, 1
-
-Route3_MapEvents::
- map_events Route3_EventObjects, 0x0, 0x0, Route3_MapBGEvents
diff --git a/data/maps/Route3/header.inc b/data/maps/Route3/header.inc
deleted file mode 100644
index ae86378c2..000000000
--- a/data/maps/Route3/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-Route3:: @ 8350864
- .4byte Route3_Layout @ 0x82E7234
- .4byte Route3_MapEvents @ 0x83B6870
- .4byte Route3_MapScripts @ 0x8167F77
- .4byte Route3_MapConnections @ 0x8352A34
- .2byte BGM_FRLG_ROUTE_3
- .2byte 91
- .byte 0x67, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
diff --git a/data/maps/Route3/map.json b/data/maps/Route3/map.json
new file mode 100644
index 000000000..01e64cf74
--- /dev/null
+++ b/data/maps/Route3/map.json
@@ -0,0 +1,165 @@
+{
+ "id": "MAP_ROUTE3",
+ "name": "Route3",
+ "layout": "LAYOUT_ROUTE3",
+ "music": "BGM_FRLG_ROUTE_3",
+ "region_map_section": "MAPSEC_ROUTE_3",
+ "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_ROUTE4",
+ "offset": 60,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_PEWTER_CITY",
+ "offset": -10,
+ "direction": "left"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "18",
+ "x": 70,
+ "y": 13,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route3_EventScript_167F78",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 40,
+ "y": 11,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route3_EventScript_1A957B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 32,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 4,
+ "script": "Route3_EventScript_1A94C1",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 30,
+ "y": 3,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route3_EventScript_1A953D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 25,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route3_EventScript_1A9483",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 29,
+ "y": 10,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route3_EventScript_1A9407",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "22",
+ "x": 19,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 5,
+ "script": "Route3_EventScript_1A94FF",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "20",
+ "x": 12,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "10",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 3,
+ "script": "Route3_EventScript_1A9445",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "18",
+ "x": 17,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "Route3_EventScript_1A93C9",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 72,
+ "y": 11,
+ "elevation": 0,
+ "script": "Route3_EventScript_167F81"
+ },
+ {
+ "type": "hidden_item",
+ "x": 26,
+ "y": 9,
+ "elevation": 3,
+ "item": "ITEM_ORAN_BERRY",
+ "flag": "113",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file