summaryrefslogtreecommitdiff
path: root/data/maps/SSAnne_B1F_Room2
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/SSAnne_B1F_Room2
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/SSAnne_B1F_Room2')
-rw-r--r--data/maps/SSAnne_B1F_Room2/events.inc9
-rw-r--r--data/maps/SSAnne_B1F_Room2/header.inc8
-rw-r--r--data/maps/SSAnne_B1F_Room2/map.json54
3 files changed, 54 insertions, 17 deletions
diff --git a/data/maps/SSAnne_B1F_Room2/events.inc b/data/maps/SSAnne_B1F_Room2/events.inc
deleted file mode 100644
index 21419a175..000000000
--- a/data/maps/SSAnne_B1F_Room2/events.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-SSAnne_B1F_Room2_EventObjects:
- object_event 1, 62, 0, 3, 0, 5, 0, 3, 1, 17, 0, 1, 0, 1, 0, SSAnne_B1F_Room2_EventScript_160D77, 0, 0, 0
- object_event 2, 92, 0, 3, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, SSAnne_B1F_Room2_EventScript_1BE685, 359, 0, 0
-
-SSAnne_B1F_Room2_MapWarps:
- warp_def 4, 7, 3, 2, 264
-
-SSAnne_B1F_Room2_MapEvents::
- map_events SSAnne_B1F_Room2_EventObjects, SSAnne_B1F_Room2_MapWarps, 0x0, 0x0
diff --git a/data/maps/SSAnne_B1F_Room2/header.inc b/data/maps/SSAnne_B1F_Room2/header.inc
deleted file mode 100644
index d7a4a9e7f..000000000
--- a/data/maps/SSAnne_B1F_Room2/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-SSAnne_B1F_Room2:: @ 834F4D0
- .4byte SSAnne_Room2_Layout @ 0x8319F04
- .4byte SSAnne_B1F_Room2_MapEvents @ 0x83AF0E0
- .4byte SSAnne_B1F_Room2_MapScripts @ 0x8160D76
- .4byte NULL
- .2byte BGM_FRLG_SS_ANNE
- .2byte 178
- .byte 0x80, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
diff --git a/data/maps/SSAnne_B1F_Room2/map.json b/data/maps/SSAnne_B1F_Room2/map.json
new file mode 100644
index 000000000..2557bf329
--- /dev/null
+++ b/data/maps/SSAnne_B1F_Room2/map.json
@@ -0,0 +1,54 @@
+{
+ "id": "MAP_SSANNE_B1F_ROOM2",
+ "name": "SSAnne_B1F_Room2",
+ "layout": "LAYOUT_SSANNE_ROOM2",
+ "music": "BGM_FRLG_SS_ANNE",
+ "region_map_section": "MAPSEC_S_S_ANNE",
+ "requires_flash": false,
+ "weather": "WEATHER_0",
+ "map_type": "MAP_TYPE_8",
+ "unknown_18": 0,
+ "unknown_19": 6,
+ "elevator_flag": 0,
+ "battle_scene": "BATTLE_SCENE_0",
+ "connections": null,
+ "object_events": [
+ {
+ "graphics_id": "62",
+ "x": 3,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 1,
+ "trainer_sight_or_berry_tree_id": 1,
+ "script": "SSAnne_B1F_Room2_EventScript_160D77",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 3,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "8",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_B1F_Room2_EventScript_1BE685",
+ "flag": "359"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 4,
+ "y": 7,
+ "elevation": 3,
+ "dest_map": "MAP_SSANNE_B1F_CORRIDOR",
+ "dest_warp_id": 2
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file