summaryrefslogtreecommitdiff
path: root/data/maps/TwoIsland_Harbor
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/TwoIsland_Harbor
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/TwoIsland_Harbor')
-rw-r--r--data/maps/TwoIsland_Harbor/events.inc9
-rw-r--r--data/maps/TwoIsland_Harbor/header.inc8
-rw-r--r--data/maps/TwoIsland_Harbor/map.json54
3 files changed, 54 insertions, 17 deletions
diff --git a/data/maps/TwoIsland_Harbor/events.inc b/data/maps/TwoIsland_Harbor/events.inc
deleted file mode 100644
index bcc123c41..000000000
--- a/data/maps/TwoIsland_Harbor/events.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-TwoIsland_Harbor_EventObjects:
- object_event 1, 108, 0, 8, 0, 9, 0, 0, 8, 17, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
- object_event 2, 62, 0, 8, 0, 6, 0, 3, 7, 17, 0, 0, 0, 0, 0, TwoIsland_Harbor_EventScript_171806, 0, 0, 0
-
-TwoIsland_Harbor_MapWarps:
- warp_def 8, 2, 3, 3, 781
-
-TwoIsland_Harbor_MapEvents::
- map_events TwoIsland_Harbor_EventObjects, TwoIsland_Harbor_MapWarps, 0x0, 0x0
diff --git a/data/maps/TwoIsland_Harbor/header.inc b/data/maps/TwoIsland_Harbor/header.inc
deleted file mode 100644
index a7f4b3c97..000000000
--- a/data/maps/TwoIsland_Harbor/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-TwoIsland_Harbor:: @ 8351C68
- .4byte Island_Harbor_Layout @ 0x8343FB8
- .4byte TwoIsland_Harbor_MapEvents @ 0x83BE764
- .4byte TwoIsland_Harbor_MapScripts @ 0x8171805
- .4byte NULL
- .2byte BGM_FRLG_ISLAND_ONE
- .2byte 315
- .byte 0x90, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
diff --git a/data/maps/TwoIsland_Harbor/map.json b/data/maps/TwoIsland_Harbor/map.json
new file mode 100644
index 000000000..9a715d4b0
--- /dev/null
+++ b/data/maps/TwoIsland_Harbor/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_TWO_ISLAND_HARBOR",
+ "name": "TwoIsland_Harbor",
+ "layout": "LAYOUT_ISLAND_HARBOR",
+ "music": "BGM_FRLG_ISLAND_ONE",
+ "region_map_section": "MAPSEC_TWO_ISLAND",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 0,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "108",
+ "x": 8,
+ "y": 9,
+ "elevation": 0,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "0x0",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "62",
+ "x": 8,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "TwoIsland_Harbor_EventScript_171806",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 8,
+ "y": 2,
+ "elevation": 3,
+ "dest_map": "MAP_TWO_ISLAND",
+ "dest_warp_id": 3
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file