blob: 5f45e2171589aae1433b84365cf323d56ee6a970 (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
SCRIPT_START script_0800FF74
BeginBlock
_0807EB44 0x0002
_0807E9D4
CallWithArg sub_0807F3D8, 0x00000008
Call sub_080644A4
.ifdef JP
ClearLocalFlag 0x00c4
.else
.ifndef EU
ClearLocalFlag 0x00c7
.endif
.endif
EndBlock
script_0800FF92:
EndBlock
BeginBlock
DoPostScriptAction 0x000a
.ifdef JP
CheckLocalFlag 0x00cb
.else
.ifdef EU
CheckLocalFlag 0x00cb
.else
CheckLocalFlag 0x00ce
.endif
.endif
JumpIf script_0800FFCC
DoPostScriptAction 0x000b
Call sub_08064198
.ifdef JP
CheckLocalFlag 0x00c4
.else
.ifdef EU
CheckLocalFlag 0x00c4
.else
CheckLocalFlag 0x00c7
.endif
.endif
JumpIfNot script_0800FFCC
Call sub_08064488
CheckPlayerInRegion2 0x4040
JumpIfNot script_0800FFCC
Call sub_08064470
JumpIf script_08010014
script_0800FFCC:
CheckEntityInteractType
JumpIfNot script_0800FF92
EndBlock
.ifdef JP
SetLocalFlag 0x00c4
.else
.ifdef EU
SetLocalFlag 0x00c4
.else
SetLocalFlag 0x00c7
.endif
.endif
_0807E864
_0807EB74
CallWithArg sub_0807F3D8, 0x00000008
CheckInventory1 0x0048
JumpIf script_0800FFF8
TextboxNoOverlap 0x3401
_0807EA94
Jump script_08010060
script_0800FFF8:
.ifdef JP
CheckLocalFlag 0x00cb
.else
.ifdef EU
CheckLocalFlag 0x00cb
.else
CheckLocalFlag 0x00ce
.endif
.endif
JumpIfNot script_0801000A
TextboxNoOverlap 0x340b
_0807EA94
Jump script_08010060
script_0801000A:
TextboxNoOverlap 0x3402
_0807EA94
Jump script_08010060
script_08010014:
EndBlock
_0807E888
Call sub_0807F594
_0807E864
_0807EB74
CallWithArg sub_0807F3D8, 0x00000008
PlaySound SFX_TASK_COMPLETE
TextboxNoOverlap 0x340a
_0807EA94
_0807EB44 0x0004
CallWithArg sub_0807F3D8, 0x0000000c
SetEntitySpeed 0x0100
_0807EDD4 0x0018, 0x0108
_0807EB44 0x0002
CallWithArg sub_0807F3D8, 0x00000008
.ifdef JP
SetLocalFlag 0x00cb
.else
.ifdef EU
SetLocalFlag 0x00cb
.else
SetLocalFlag 0x00ce
.endif
.endif
script_08010060:
Call sub_080644A4
CallWithArg sub_0807F5B0, 0x0000000a
_0807E878
Jump script_0800FF92
.2byte 0x0000
BeginBlock
_0807E9D4
DoPostScriptAction 0x000a
_0807EB44 0x0004
CallWithArg sub_080672B0, 0x00000000
EndBlock
script_08010090:
CheckEntityInteractType
JumpIfNot script_08010090
_0807E864
_0807EB74
CallWithArg sub_080672B0, 0x00000004
TextboxNoOverlapFollow 0x0a01
_0807EA94
Wait 0x000f
_0807E878
_0807EB44 0x0004
CallWithArg sub_080672B0, 0x00000000
Jump script_08010090
DoPostScriptAction 0x0006
SCRIPT_END
|