summaryrefslogtreecommitdiff
path: root/data/maps/SixIsland_GreenPath
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/SixIsland_GreenPath
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/SixIsland_GreenPath')
-rw-r--r--data/maps/SixIsland_GreenPath/connections.inc7
-rw-r--r--data/maps/SixIsland_GreenPath/events.inc16
-rw-r--r--data/maps/SixIsland_GreenPath/header.inc8
-rw-r--r--data/maps/SixIsland_GreenPath/map.json97
4 files changed, 97 insertions, 31 deletions
diff --git a/data/maps/SixIsland_GreenPath/connections.inc b/data/maps/SixIsland_GreenPath/connections.inc
deleted file mode 100644
index d79db04f9..000000000
--- a/data/maps/SixIsland_GreenPath/connections.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-SixIsland_GreenPath_MapConnectionsList: @ 8352E24
- connection up, 0, MAP_SIX_ISLAND_OUTCASTISLAND
- connection right, 0, MAP_SIX_ISLAND_WATERPATH
-
-SixIsland_GreenPath_MapConnections:: @ 8352E3C
- .4byte 2
- .4byte SixIsland_GreenPath_MapConnectionsList
diff --git a/data/maps/SixIsland_GreenPath/events.inc b/data/maps/SixIsland_GreenPath/events.inc
deleted file mode 100644
index 025b2dba6..000000000
--- a/data/maps/SixIsland_GreenPath/events.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-SixIsland_GreenPath_EventObjects:
- object_event 1, 23, 0, 11, 0, 8, 0, 3, 20, 17, 0, 1, 0, 2, 0, SixIsland_GreenPath_EventScript_1AC517, 0, 0, 0
-
-SixIsland_GreenPath_MapWarps:
- warp_def 63, 10, 3, 1, 377
- warp_def 64, 10, 3, 1, 377
- warp_def 45, 10, 3, 4, 377
- warp_def 46, 10, 3, 4, 377
-
-SixIsland_GreenPath_MapBGEvents:
- bg_event 40, 10, 0, 0, 0, SixIsland_GreenPath_EventScript_168B37
- bg_event 69, 10, 0, 0, 0, SixIsland_GreenPath_EventScript_168B2E
- bg_event 12, 9, 3, 7, 0, 2, 180, 1
-
-SixIsland_GreenPath_MapEvents::
- map_events SixIsland_GreenPath_EventObjects, SixIsland_GreenPath_MapWarps, 0x0, SixIsland_GreenPath_MapBGEvents
diff --git a/data/maps/SixIsland_GreenPath/header.inc b/data/maps/SixIsland_GreenPath/header.inc
deleted file mode 100644
index 7e378de71..000000000
--- a/data/maps/SixIsland_GreenPath/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-SixIsland_GreenPath:: @ 8350C8C
- .4byte SixIsland_GreenPath_Layout @ 0x832E0D0
- .4byte SixIsland_GreenPath_MapEvents @ 0x83B8FA8
- .4byte SixIsland_GreenPath_MapScripts @ 0x8168B2D
- .4byte SixIsland_GreenPath_MapConnections @ 0x8352E3C
- .2byte BGM_FRLG_SEVII_ISLANDS
- .2byte 251
- .byte 0xa4, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
diff --git a/data/maps/SixIsland_GreenPath/map.json b/data/maps/SixIsland_GreenPath/map.json
new file mode 100644
index 000000000..cbc6b6784
--- /dev/null
+++ b/data/maps/SixIsland_GreenPath/map.json
@@ -0,0 +1,97 @@
+{
+ "id": "MAP_SIX_ISLAND_GREEN_PATH",
+ "name": "SixIsland_GreenPath",
+ "layout": "LAYOUT_SIX_ISLAND_GREEN_PATH",
+ "music": "BGM_FRLG_SEVII_ISLANDS",
+ "region_map_section": "MAPSEC_GREEN_PATH",
+ "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_SIX_ISLAND_OUTCAST_ISLAND",
+ "offset": 0,
+ "direction": "up"
+ },
+ {
+ "map": "MAP_SIX_ISLAND_WATER_PATH",
+ "offset": 0,
+ "direction": "right"
+ }
+ ],
+ "object_events": [
+ {
+ "graphics_id": "23",
+ "x": 11,
+ "y": 8,
+ "elevation": 3,
+ "movement_type": "20",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 2,
+ "script": "SixIsland_GreenPath_EventScript_1AC517",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 63,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 64,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "dest_warp_id": 1
+ },
+ {
+ "x": 45,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "dest_warp_id": 4
+ },
+ {
+ "x": 46,
+ "y": 10,
+ "elevation": 3,
+ "dest_map": "MAP_SIX_ISLAND_PATTERN_BUSH",
+ "dest_warp_id": 4
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "bg_event_type_0",
+ "x": 40,
+ "y": 10,
+ "elevation": 0,
+ "script": "SixIsland_GreenPath_EventScript_168B37"
+ },
+ {
+ "type": "bg_event_type_0",
+ "x": 69,
+ "y": 10,
+ "elevation": 0,
+ "script": "SixIsland_GreenPath_EventScript_168B2E"
+ },
+ {
+ "type": "hidden_item",
+ "x": 12,
+ "y": 9,
+ "elevation": 3,
+ "item": "POCKET_KEY_ITEMS",
+ "flag": "180",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file