summaryrefslogtreecommitdiff
path: root/data/scripts/maps/DesertUnderpass.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-16 08:36:51 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-16 19:00:07 -0500
commit236cbf96c8f94b8b2d23be8c72ee0e188e82842d (patch)
treec2042f78efdc37a5b64c9cd797cc0c66a0c80255 /data/scripts/maps/DesertUnderpass.inc
parent50501396b21bf132cf71d0f5d353bf51d277ba27 (diff)
parentc0d180a8702b9b20afe07b09316286f6406e5811 (diff)
Merge origin/master into pikalaxalt/link
Diffstat (limited to 'data/scripts/maps/DesertUnderpass.inc')
-rw-r--r--data/scripts/maps/DesertUnderpass.inc36
1 files changed, 36 insertions, 0 deletions
diff --git a/data/scripts/maps/DesertUnderpass.inc b/data/scripts/maps/DesertUnderpass.inc
new file mode 100644
index 000000000..0db62ff75
--- /dev/null
+++ b/data/scripts/maps/DesertUnderpass.inc
@@ -0,0 +1,36 @@
+DesertUnderpass_MapScripts:: @ 823AF37
+ map_script 3, DesertUnderpass_MapScript1_23AF3D
+ .byte 0
+
+DesertUnderpass_MapScript1_23AF3D: @ 823AF3D
+ setflag FLAG_0x8DE
+ end
+
+DesertUnderpass_EventScript_23AF41:: @ 823AF41
+ lock
+ faceplayer
+ checkflag FLAG_0x14F
+ goto_eq DesertUnderpass_EventScript_23AF57
+ checkflag FLAG_0x150
+ goto_eq DesertUnderpass_EventScript_23AF68
+ release
+ end
+
+DesertUnderpass_EventScript_23AF57:: @ 823AF57
+ giveitem_std ITEM_CLAW_FOSSIL
+ removeobject 1
+ release
+ end
+
+DesertUnderpass_EventScript_23AF68:: @ 823AF68
+ giveitem_std ITEM_ROOT_FOSSIL
+ removeobject 1
+ release
+ end
+
+DesertUnderpass_Text_23AF79:: @ 823AF79
+ .string "{PLAYER} found the ROOT FOSSIL.$"
+
+DesertUnderpass_Text_23AF93:: @ 823AF93
+ .string "{PLAYER} found the CLAW FOSSIL.$"
+