summaryrefslogtreecommitdiff
path: root/data/maps/SafariZone_Building3
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/SafariZone_Building3
parent4b98d7d07a681279022cec9f082071a374ddbdb9 (diff)
convert map data to json
Diffstat (limited to 'data/maps/SafariZone_Building3')
-rw-r--r--data/maps/SafariZone_Building3/events.inc13
-rw-r--r--data/maps/SafariZone_Building3/header.inc8
-rw-r--r--data/maps/SafariZone_Building3/map.json94
3 files changed, 94 insertions, 21 deletions
diff --git a/data/maps/SafariZone_Building3/events.inc b/data/maps/SafariZone_Building3/events.inc
deleted file mode 100644
index ec99802bb..000000000
--- a/data/maps/SafariZone_Building3/events.inc
+++ /dev/null
@@ -1,13 +0,0 @@
-SafariZone_Building3_EventObjects:
- object_event 1, 61, 0, 3, 0, 4, 0, 3, 2, 17, 0, 0, 0, 0, 0, SafariZone_Building3_EventScript_16242D, 0, 0, 0
- object_event 2, 55, 0, 7, 0, 5, 0, 3, 2, 17, 0, 0, 0, 0, 0, SafariZone_Building3_EventScript_162424, 0, 0, 0
- object_event 3, 57, 0, 6, 0, 2, 0, 3, 1, 17, 0, 0, 0, 0, 0, SafariZone_Building3_EventScript_16241B, 0, 0, 0
- object_event 4, 30, 0, 11, 0, 2, 0, 3, 7, 17, 0, 0, 0, 0, 0, SafariZone_Building3_EventScript_1ACED3, 0, 0, 0
-
-SafariZone_Building3_MapWarps:
- warp_def 3, 9, 3, 12, 321
- warp_def 4, 9, 3, 12, 321
- warp_def 5, 9, 3, 12, 321
-
-SafariZone_Building3_MapEvents::
- map_events SafariZone_Building3_EventObjects, SafariZone_Building3_MapWarps, 0x0, 0x0
diff --git a/data/maps/SafariZone_Building3/header.inc b/data/maps/SafariZone_Building3/header.inc
deleted file mode 100644
index 219c3a1a4..000000000
--- a/data/maps/SafariZone_Building3/header.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-SafariZone_Building3:: @ 834F9A0
- .4byte SafariZone_Building_Layout @ 0x831C028
- .4byte SafariZone_Building3_MapEvents @ 0x83B13CC
- .4byte SafariZone_Building3_MapScripts @ 0x816241A
- .4byte NULL
- .2byte BGM_FRLG_SAFARI_ZONE
- .2byte 198
- .byte 0x88, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
diff --git a/data/maps/SafariZone_Building3/map.json b/data/maps/SafariZone_Building3/map.json
new file mode 100644
index 000000000..47480065a
--- /dev/null
+++ b/data/maps/SafariZone_Building3/map.json
@@ -0,0 +1,94 @@
+{
+ "id": "MAP_SAFARI_ZONE_BUILDING3",
+ "name": "SafariZone_Building3",
+ "layout": "LAYOUT_SAFARI_ZONE_BUILDING",
+ "music": "BGM_FRLG_SAFARI_ZONE",
+ "region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
+ "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": "61",
+ "x": 3,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building3_EventScript_16242D",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "55",
+ "x": 7,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "2",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building3_EventScript_162424",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "57",
+ "x": 6,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "1",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building3_EventScript_16241B",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "30",
+ "x": 11,
+ "y": 2,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SafariZone_Building3_EventScript_1ACED3",
+ "flag": "0"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 3,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 12
+ },
+ {
+ "x": 4,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 12
+ },
+ {
+ "x": 5,
+ "y": 9,
+ "elevation": 3,
+ "dest_map": "MAP_SAFARI_ZONE_NORTH",
+ "dest_warp_id": 12
+ }
+ ],
+ "coord_events": [],
+ "bg_events": []
+} \ No newline at end of file