summaryrefslogtreecommitdiff
path: root/data/maps/DesertUnderpass/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/DesertUnderpass/scripts.inc')
-rw-r--r--data/maps/DesertUnderpass/scripts.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/maps/DesertUnderpass/scripts.inc b/data/maps/DesertUnderpass/scripts.inc
index bba7dfe08..7025a268b 100644
--- a/data/maps/DesertUnderpass/scripts.inc
+++ b/data/maps/DesertUnderpass/scripts.inc
@@ -1,3 +1,5 @@
+.set LOCALID_FOSSIL, 1
+
DesertUnderpass_MapScripts:: @ 823AF37
map_script MAP_SCRIPT_ON_TRANSITION, DesertUnderpass_OnTransition
.byte 0
@@ -16,13 +18,13 @@ DesertUnderpass_EventScript_Fossil:: @ 823AF41
DesertUnderpass_EventScript_GiveClawFossil:: @ 823AF57
giveitem ITEM_CLAW_FOSSIL
- removeobject 1
+ removeobject LOCALID_FOSSIL
release
end
DesertUnderpass_EventScript_GiveRootFossil:: @ 823AF68
giveitem ITEM_ROOT_FOSSIL
- removeobject 1
+ removeobject LOCALID_FOSSIL
release
end