summaryrefslogtreecommitdiff
path: root/data/maps/SafariZone_SecretHouse/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/SafariZone_SecretHouse/scripts.inc')
-rw-r--r--data/maps/SafariZone_SecretHouse/scripts.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/data/maps/SafariZone_SecretHouse/scripts.inc b/data/maps/SafariZone_SecretHouse/scripts.inc
new file mode 100644
index 000000000..67987618d
--- /dev/null
+++ b/data/maps/SafariZone_SecretHouse/scripts.inc
@@ -0,0 +1,28 @@
+SafariZone_SecretHouse_MapScripts:: @ 8162452
+ .byte 0
+
+SafariZone_SecretHouse_EventScript_162453:: @ 8162453
+ lock
+ faceplayer
+ checkflag FLAG_0x239
+ goto_if_eq EventScript_1624A9
+ msgbox gUnknown_8177DC1
+ checkitemspace ITEM_HM03, 1
+ compare_var_to_value VAR_RESULT, 0
+ goto_if_eq EventScript_16249F
+ additem ITEM_HM03, 1
+ giveitemfanfaremsg gUnknown_8177E92, ITEM_HM03
+ msgbox gUnknown_8177EB7
+ setflag FLAG_0x239
+ release
+ end
+
+EventScript_16249F:: @ 816249F
+ msgbox gUnknown_8177F72
+ release
+ end
+
+EventScript_1624A9:: @ 81624A9
+ msgbox gUnknown_8177EB7
+ release
+ end