From fac62881560190b3380d7fdbf197aa48ce337982 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 21 Jun 2020 01:56:57 -0400 Subject: Add local object event ids for referenced objects --- data/maps/DesertUnderpass/scripts.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'data/maps/DesertUnderpass') 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 -- cgit v1.2.3