summaryrefslogtreecommitdiff
path: root/data/maps/Route1
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route1')
-rw-r--r--data/maps/Route1/connections.inc7
-rw-r--r--data/maps/Route1/events.inc9
-rw-r--r--data/maps/Route1/header.inc8
-rw-r--r--data/maps/Route1/map.json65
4 files changed, 65 insertions, 24 deletions
diff --git a/data/maps/Route1/connections.inc b/data/maps/Route1/connections.inc
deleted file mode 100644
index 76b5b6814..000000000
--- a/data/maps/Route1/connections.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-Route1_MapConnectionsList: @ 83529DC
- connection up, -12, MAP_VIRIDIAN_CITY
- connection down, 0, MAP_PALLET_TOWN
-
-Route1_MapConnections:: @ 83529F4
- .4byte 2
- .4byte Route1_MapConnectionsList
diff --git a/data/maps/Route1/events.inc b/data/maps/Route1/events.inc
deleted file mode 100644
index a485d4951..000000000
--- a/data/maps/Route1/events.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-Route1_EventObjects:
- object_event 1, 68, 0, 6, 0, 28, 0, 3, 3, 17, 0, 0, 0, 0, 0, Route1_EventScript_167EFE, 0, 0, 0
- object_event 2, 19, 0, 19, 0, 16, 0, 3, 5, 49, 0, 0, 0, 0, 0, Route1_EventScript_167F52, 0, 0, 0
-
-Route1_MapBGEvents:
- bg_event 9, 31, 0, 0, 0, Route1_EventScript_167F5B
-
-Route1_MapEvents::
- map_events Route1_EventObjects, 0x0, 0x0, Route1_MapBGEvents
diff --git a/data/maps/Route1/header.inc b/data/maps/Route1/header.inc
deleted file mode 100644
index 900563a23..000000000
--- a/data/maps/Route1/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-Route1:: @ 835082C
- .4byte Route1_Layout @ 0x82E55CC
- .4byte Route1_MapEvents @ 0x83B6648
- .4byte Route1_MapScripts @ 0x8167EFD
- .4byte Route1_MapConnections @ 0x83529F4
- .2byte BGM_FRLG_ROUTE_1
- .2byte 89
- .byte 0x65, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
diff --git a/data/maps/Route1/map.json b/data/maps/Route1/map.json
new file mode 100644
index 000000000..8996e5b45
--- /dev/null
+++ b/data/maps/Route1/map.json
@@ -0,0 +1,65 @@
+{
+ "id": "MAP_ROUTE1",
+ "name": "Route1",
+ "layout": "LAYOUT_ROUTE1",
+ "music": "BGM_FRLG_ROUTE_1",
+ "region_map_section": "MAPSEC_ROUTE_1",
+ "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_VIRIDIAN_CITY",
+ "offset": -12,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_PALLET_TOWN",
+ "offset": 0,
+ "direction": "down"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "68",
+ "x": 6,
+ "y": 28,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route1_EventScript_167EFE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "19",
+ "x": 19,
+ "y": 16,
+ "elevation": 3,
+ "movement_type": "5",
+ "movement_range_x": 1,
+ "movement_range_y": 3,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "Route1_EventScript_167F52",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 9,
+ "y": 31,
+ "elevation": 0,
+ "script": "Route1_EventScript_167F5B"
+ }
+ ]
+} \ No newline at end of file