blob: b6c87eec25c1501f2889ee9d86ee4ecec0de0415 (
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
|
SCRIPT_START script_08013BE8
BeginBlock
CheckLocalFlag 0x007a
JumpIf script_08013C2A
CheckInventory1 0x0003
JumpIf script_08013C2A
CheckInventory1 0x0002
JumpIfNot script_08013C98
CheckInventory1 0x0040
JumpIfNot script_08013C98
CheckInventory1 0x0041
JumpIfNot script_08013C98
EndBlock
DoPostScriptAction 0x0008
WaitForSomething2 0x00000004
_0807E908 0x0002
PlaySound SFX_134
Jump script_08013C32
script_08013C2A:
CheckLocalFlag 0x007c
JumpIf script_08013C98
script_08013C32:
BeginBlock
DoPostScriptAction 0x0007
Call sub_0807F934
DoPostScriptAction 0x000a
CallWithArg sub_080962F8, 0x00000000
.ifndef EU
CallWithArg sub_0807F8E8, 0x00000004
.endif
EndBlock
script_08013C58:
EndBlock
BeginBlock
TestBit 0x00000008
JumpIf script_08013C92
CheckEntityInteractType
JumpIfNot script_08013C58
EndBlock
_0807E864
_0807EB74
CheckLocalFlag 0x007d
JumpIf script_08013C82
_0807EB28 0x1501
Jump script_08013C86
script_08013C82:
_0807EB28 0x1506
script_08013C86:
_0807EA94
Wait 0x000f
_0807E878
Jump script_08013C58
script_08013C92:
EndBlock
_0807E908 0x0004
script_08013C98:
DoPostScriptAction 0x0008
DoPostScriptAction 0x0006
SCRIPT_END
.align 2, 0
|