blob: bc7550b94321e470ae71d78bd56b10589656cd7c (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
@ DHC King Daltus stone
SCRIPT_START script_KingDaltusStone
BeginBlock
SetAnimationState 0x0004
DoPostScriptAction 0x000a
CheckLocalFlag LV6_1d_KEYGET
JumpIf script_0800E3E8
CheckLocalFlag LV6_39_KING
JumpIf script_0800E3BE
SetAnimation 0x000c
CallWithArg sub_0807F8E8, 0x00000000
EndBlock
script_0800E37A:
CheckRoomFlag 0x0000
JumpIfNot script_0800E37A
SetPlayerIdle
Wait 0x001e
DoPostScriptAction 0x0010
PlaySound SFX_1C9
SetAnimation 0x000d
Wait 0x003c
PlaySound SFX_1CA
DoPostScriptAction 0x0010
Wait 0x001e
PlaySound SFX_SECRET
Wait 0x0078
DoPostScriptAction 0x0004
Wait 0x001e
DoPostScriptAction 0x0000
FacePlayer
SetLocalFlag LV6_39_KING
script_0800E3BE:
DoPostScriptAction 0x0000
_0807E9D4
EnablePlayerControl
EndBlock
script_0800E3C8:
CheckEntityInteractType
JumpIfNot script_0800E3C8
SetPlayerIdle
FacePlayer
MessageNoOverlap TEXT_BREAK_VAATI_CURSE, 0x0c
WaitUntilTextboxCloses
Wait 0x000f
GivePlayerItem ITEM_SMALL_KEY
WaitPlayerGetItem
SetLocalFlag LV6_1d_KEYGET
EnablePlayerControl
script_0800E3E8:
_0807E9D4
EnablePlayerControl
EndBlock
script_0800E3EE:
CheckEntityInteractType
JumpIfNot script_0800E3EE
SetPlayerIdle
FacePlayer
MessageNoOverlap TEXT_BREAK_VAATI_CURSE, 0x0d
WaitUntilTextboxCloses
Wait 0x000f
EnablePlayerControl
Jump script_0800E3EE
|