summaryrefslogtreecommitdiff
path: root/data/maps/SSAnne_Kitchen
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-05-14 16:20:13 -0400
committerGitHub <noreply@github.com>2019-05-14 16:20:13 -0400
commit31e1a9e7596499e1fc90bc9b515dba888503f6f9 (patch)
tree0d18f7532ed1c607567a78b5192332c887935369 /data/maps/SSAnne_Kitchen
parent9b01d4fee588b0733cf4242173d43a9fc5889e57 (diff)
parent2e9d8a61e0882d6606e72185e830a4abc623c21d (diff)
Merge pull request #48 from garakmon/mapdump
map data
Diffstat (limited to 'data/maps/SSAnne_Kitchen')
-rw-r--r--data/maps/SSAnne_Kitchen/map.json160
-rw-r--r--data/maps/SSAnne_Kitchen/scripts.inc63
2 files changed, 223 insertions, 0 deletions
diff --git a/data/maps/SSAnne_Kitchen/map.json b/data/maps/SSAnne_Kitchen/map.json
new file mode 100644
index 000000000..bb094e87c
--- /dev/null
+++ b/data/maps/SSAnne_Kitchen/map.json
@@ -0,0 +1,160 @@
+{
+ "id": "MAP_SSANNE_KITCHEN",
+ "name": "SSAnne_Kitchen",
+ "layout": "LAYOUT_SSANNE_KITCHEN",
+ "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": "59",
+ "x": 1,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160AB3",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 6,
+ "y": 6,
+ "elevation": 3,
+ "movement_type": "3",
+ "movement_range_x": 1,
+ "movement_range_y": 2,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160ABC",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 10,
+ "y": 4,
+ "elevation": 3,
+ "movement_type": "18",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160AC5",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 8,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160ACE",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 14,
+ "y": 5,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160B1E",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 14,
+ "y": 7,
+ "elevation": 3,
+ "movement_type": "9",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160B27",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "59",
+ "x": 14,
+ "y": 9,
+ "elevation": 3,
+ "movement_type": "7",
+ "movement_range_x": 1,
+ "movement_range_y": 1,
+ "trainer_type": 0,
+ "trainer_sight_or_berry_tree_id": 0,
+ "script": "SSAnne_Kitchen_EventScript_160B30",
+ "flag": "0"
+ },
+ {
+ "graphics_id": "92",
+ "x": 1,
+ "y": 10,
+ "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_Kitchen_EventScript_1BE6AC",
+ "flag": "362"
+ }
+ ],
+ "warp_events": [
+ {
+ "x": 7,
+ "y": 1,
+ "elevation": 0,
+ "dest_map": "MAP_SSANNE_1F_CORRIDOR",
+ "dest_warp_id": 1
+ }
+ ],
+ "coord_events": [],
+ "bg_events": [
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 8,
+ "elevation": 0,
+ "item": "ITEM_CHESTO_BERRY",
+ "flag": "122",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 4,
+ "elevation": 0,
+ "item": "ITEM_PECHA_BERRY",
+ "flag": "120",
+ "unknown": 1
+ },
+ {
+ "type": "hidden_item",
+ "x": 14,
+ "y": 6,
+ "elevation": 0,
+ "item": "ITEM_CHERI_BERRY",
+ "flag": "121",
+ "unknown": 1
+ }
+ ]
+} \ No newline at end of file
diff --git a/data/maps/SSAnne_Kitchen/scripts.inc b/data/maps/SSAnne_Kitchen/scripts.inc
new file mode 100644
index 000000000..79aa88852
--- /dev/null
+++ b/data/maps/SSAnne_Kitchen/scripts.inc
@@ -0,0 +1,63 @@
+SSAnne_Kitchen_MapScripts:: @ 8160AB2
+ .byte 0
+
+SSAnne_Kitchen_EventScript_160AB3:: @ 8160AB3
+ loadword 0, gUnknown_81733F8
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160ABC:: @ 8160ABC
+ loadword 0, gUnknown_8173429
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160AC5:: @ 8160AC5
+ loadword 0, gUnknown_8173462
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160ACE:: @ 8160ACE
+ lock
+ faceplayer
+ loadword 0, gUnknown_8173570
+ callstd 4
+ random 3
+ copyvar VAR_0x8008, VAR_RESULT
+ compare_var_to_value VAR_0x8008, 0
+ call_if 1, EventScript_160B03
+ compare_var_to_value VAR_0x8008, 1
+ call_if 1, EventScript_160B0C
+ compare_var_to_value VAR_0x8008, 2
+ call_if 1, EventScript_160B15
+ release
+ end
+
+EventScript_160B03:: @ 8160B03
+ loadword 0, gUnknown_817359F
+ callstd 4
+ return
+
+EventScript_160B0C:: @ 8160B0C
+ loadword 0, gUnknown_81735DF
+ callstd 4
+ return
+
+EventScript_160B15:: @ 8160B15
+ loadword 0, gUnknown_8173611
+ callstd 4
+ return
+
+SSAnne_Kitchen_EventScript_160B1E:: @ 8160B1E
+ loadword 0, gUnknown_81734A0
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160B27:: @ 8160B27
+ loadword 0, gUnknown_81734D3
+ callstd 2
+ end
+
+SSAnne_Kitchen_EventScript_160B30:: @ 8160B30
+ loadword 0, gUnknown_817353E
+ callstd 2
+ end