summaryrefslogtreecommitdiff
path: root/data/maps/scripts/DesertUnderpass.inc
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2017-11-09 19:21:31 -0600
committerDiegoisawesome <diego@domoreaweso.me>2017-11-09 19:21:31 -0600
commitf61810a8f92ab6ec763c1c920bf1334819b2e295 (patch)
tree847cb098d9a10cff3372b22981b72c7abbfbcc4b /data/maps/scripts/DesertUnderpass.inc
parent75b5792aa883838b5ac522c7befd57b9e858ae6a (diff)
Dump maps
Diffstat (limited to 'data/maps/scripts/DesertUnderpass.inc')
-rw-r--r--data/maps/scripts/DesertUnderpass.inc32
1 files changed, 32 insertions, 0 deletions
diff --git a/data/maps/scripts/DesertUnderpass.inc b/data/maps/scripts/DesertUnderpass.inc
new file mode 100644
index 000000000..a46548ed4
--- /dev/null
+++ b/data/maps/scripts/DesertUnderpass.inc
@@ -0,0 +1,32 @@
+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
+
+ .incbin "baserom.gba", 0x23af79, 0x34
+