import from github

This commit is contained in:
2022-05-19 17:14:13 +00:00
parent 5247c34f50
commit ab32b30591
12612 changed files with 1905035 additions and 83 deletions

View File

@ -0,0 +1,38 @@
.set LOCALID_FOSSIL, 1
DesertUnderpass_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, DesertUnderpass_OnTransition
.byte 0
DesertUnderpass_OnTransition:
setflag FLAG_LANDMARK_DESERT_UNDERPASS
end
DesertUnderpass_EventScript_Fossil::
lock
faceplayer
goto_if_set FLAG_CHOSE_ROOT_FOSSIL, DesertUnderpass_EventScript_GiveClawFossil
goto_if_set FLAG_CHOSE_CLAW_FOSSIL, DesertUnderpass_EventScript_GiveRootFossil
release
end
DesertUnderpass_EventScript_GiveClawFossil::
giveitem ITEM_CLAW_FOSSIL
removeobject LOCALID_FOSSIL
release
end
DesertUnderpass_EventScript_GiveRootFossil::
giveitem ITEM_ROOT_FOSSIL
removeobject LOCALID_FOSSIL
release
end
@ Unused
DesertUnderpass_Text_FoundRootFossil::
.string "{PLAYER} found the ROOT FOSSIL.$"
@ Unused
DesertUnderpass_Text_FoundClawFossil::
.string "{PLAYER} found the CLAW FOSSIL.$"