2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_FOSSIL, 1
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
DesertUnderpass_MapScripts::
|
2019-04-05 01:28:37 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, DesertUnderpass_OnTransition
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
DesertUnderpass_OnTransition:
|
2017-12-27 04:20:29 +01:00
|
|
|
setflag FLAG_LANDMARK_DESERT_UNDERPASS
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
DesertUnderpass_EventScript_Fossil::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-06 20:06:06 +01:00
|
|
|
goto_if_set FLAG_CHOSE_ROOT_FOSSIL, DesertUnderpass_EventScript_GiveClawFossil
|
|
|
|
goto_if_set FLAG_CHOSE_CLAW_FOSSIL, DesertUnderpass_EventScript_GiveRootFossil
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
DesertUnderpass_EventScript_GiveClawFossil::
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_CLAW_FOSSIL
|
2020-06-21 07:56:57 +02:00
|
|
|
removeobject LOCALID_FOSSIL
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
DesertUnderpass_EventScript_GiveRootFossil::
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_ROOT_FOSSIL
|
2020-06-21 07:56:57 +02:00
|
|
|
removeobject LOCALID_FOSSIL
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-06 20:06:06 +01:00
|
|
|
@ Unused
|
2021-07-20 21:18:31 +02:00
|
|
|
DesertUnderpass_Text_FoundRootFossil::
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "{PLAYER} found the ROOT FOSSIL.$"
|
|
|
|
|
2019-11-06 20:06:06 +01:00
|
|
|
@ Unused
|
2021-07-20 21:18:31 +02:00
|
|
|
DesertUnderpass_Text_FoundClawFossil::
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "{PLAYER} found the CLAW FOSSIL.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|