blob: 9c5e831805ae8a6fbdba71451f380a002dcd7018 (
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
|
DesertUnderpass_MapScripts:: @ 823AF37
map_script MAP_SCRIPT_ON_TRANSITION, DesertUnderpass_MapScript1_23AF3D
.byte 0
DesertUnderpass_MapScript1_23AF3D: @ 823AF3D
setflag FLAG_LANDMARK_DESERT_UNDERPASS
end
DesertUnderpass_EventScript_23AF41:: @ 823AF41
lock
faceplayer
goto_if_set FLAG_CHOSE_CLAW_FOSSIL, DesertUnderpass_EventScript_23AF57
goto_if_set FLAG_CHOSE_ROOT_FOSSIL, DesertUnderpass_EventScript_23AF68
release
end
DesertUnderpass_EventScript_23AF57:: @ 823AF57
giveitem_std ITEM_CLAW_FOSSIL
removeobject 1
release
end
DesertUnderpass_EventScript_23AF68:: @ 823AF68
giveitem_std ITEM_ROOT_FOSSIL
removeobject 1
release
end
DesertUnderpass_Text_23AF79:: @ 823AF79
.string "{PLAYER} found the ROOT FOSSIL.$"
DesertUnderpass_Text_23AF93:: @ 823AF93
.string "{PLAYER} found the CLAW FOSSIL.$"
|