2020-06-21 01:56:57 -04:00
|
|
|
.set LOCALID_FOSSIL, 1
|
|
|
|
|
2017-11-09 19:21:31 -06:00
|
|
|
DesertUnderpass_MapScripts:: @ 823AF37
|
2019-04-04 19:28:37 -04:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, DesertUnderpass_OnTransition
|
2017-11-09 19:21:31 -06:00
|
|
|
.byte 0
|
|
|
|
|
2019-04-04 19:28:37 -04:00
|
|
|
DesertUnderpass_OnTransition: @ 823AF3D
|
2017-12-26 21:20:29 -06:00
|
|
|
setflag FLAG_LANDMARK_DESERT_UNDERPASS
|
2017-11-09 19:21:31 -06:00
|
|
|
end
|
|
|
|
|
2019-11-06 14:06:06 -05:00
|
|
|
DesertUnderpass_EventScript_Fossil:: @ 823AF41
|
2017-11-09 19:21:31 -06:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-06 14:06:06 -05:00
|
|
|
goto_if_set FLAG_CHOSE_ROOT_FOSSIL, DesertUnderpass_EventScript_GiveClawFossil
|
|
|
|
goto_if_set FLAG_CHOSE_CLAW_FOSSIL, DesertUnderpass_EventScript_GiveRootFossil
|
2017-11-09 19:21:31 -06:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-06 14:06:06 -05:00
|
|
|
DesertUnderpass_EventScript_GiveClawFossil:: @ 823AF57
|
2020-01-11 12:02:58 -05:00
|
|
|
giveitem ITEM_CLAW_FOSSIL
|
2020-06-21 01:56:57 -04:00
|
|
|
removeobject LOCALID_FOSSIL
|
2017-11-09 19:21:31 -06:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-06 14:06:06 -05:00
|
|
|
DesertUnderpass_EventScript_GiveRootFossil:: @ 823AF68
|
2020-01-11 12:02:58 -05:00
|
|
|
giveitem ITEM_ROOT_FOSSIL
|
2020-06-21 01:56:57 -04:00
|
|
|
removeobject LOCALID_FOSSIL
|
2017-11-09 19:21:31 -06:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-06 14:06:06 -05:00
|
|
|
@ Unused
|
|
|
|
DesertUnderpass_Text_FoundRootFossil:: @ 823AF79
|
2017-11-10 01:36:41 -06:00
|
|
|
.string "{PLAYER} found the ROOT FOSSIL.$"
|
|
|
|
|
2019-11-06 14:06:06 -05:00
|
|
|
@ Unused
|
|
|
|
DesertUnderpass_Text_FoundClawFossil:: @ 823AF93
|
2017-11-10 01:36:41 -06:00
|
|
|
.string "{PLAYER} found the CLAW FOSSIL.$"
|
2017-11-09 19:21:31 -06:00
|
|
|
|