blob: 518d9888329e905cfbe06c1fe994a54d40458a80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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.$"
|