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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
|
SCRIPT_START script_0800E0BC
BeginBlock
_0807EB44 0x0004
DoPostScriptAction 0x000a
CheckLocalFlag 0x0093
JumpIf script_0800E12E
_0807E930 0x0008
CallWithArg sub_0807F8E8, 0x00000000
EndBlock
script_0800E0DE:
CheckRoomFlag 0x0000
JumpIfNot script_0800E0DE
_0807E864
Wait 0x001e
DoPostScriptAction 0x0010
PlaySound SFX_1C9
_0807E930 0x0009
Wait 0x003c
PlaySound SFX_1CA
DoPostScriptAction 0x0010
Wait 0x001e
PlaySound SFX_SECRET
Wait 0x0078
DoPostScriptAction 0x0004
Wait 0x001e
DoPostScriptAction 0x0000
_0807EB8C
_0807EB74
Wait 0x000a
TextboxNoOverlap 0x2402
_0807EA94
SetLocalFlag 0x0093
script_0800E12E:
Call sub_080668F0
_0807E878
EndBlock
script_0800E138:
CheckEntityInteractType
JumpIfNot script_0800E138
_0807E864
_0807EB74
TextboxNoOverlap 0x2402
_0807EA94
Wait 0x000f
_0807E878
Jump script_0800E138
.2byte 0x0000
SCRIPT_START script_0800E154
BeginBlock
_0807EB44 0x0004
DoPostScriptAction 0x000a
CheckLocalFlag 0x0094
JumpIf script_0800E1D0
_0807E930 0x0010
CallWithArg sub_0807F8E8, 0x00000001
EndBlock
script_0800E176:
CheckRoomFlag 0x0001
JumpIfNot script_0800E176
_0807E864
Wait 0x001e
DoPostScriptAction 0x0010
PlaySound SFX_1C9
_0807E930 0x0015
Wait 0x003c
PlaySound SFX_1CA
DoPostScriptAction 0x0010
Wait 0x001e
PlaySound SFX_SECRET
Wait 0x0078
DoPostScriptAction 0x0004
Wait 0x001e
DoPostScriptAction 0x0000
_0807EB8C
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
Wait 0x000a
TextboxNoOverlap 0x2401
_0807EA94
SetLocalFlag 0x0094
script_0800E1D0:
CallWithArg sub_0807F3D8, 0x00000000
_0807E9D4
_0807E878
EndBlock
script_0800E1E0:
CheckEntityInteractType
JumpIfNot script_0800E1E0
_0807E864
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
TextboxNoOverlap 0x2401
_0807EA94
_0807E878
Jump script_0800E1E0
SCRIPT_START script_0800E200
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0004
DoPostScriptAction 0x000a
CheckLocalFlag 0x0073
JumpIfNot script_0800E232
_0807E9D4
SetEntityPositionRelative 0x0070, 0x0168
_0807EB44 0x0002
CallWithArg sub_0807F3D8, 0x00000000
EndBlock
Jump script_0800E32E
script_0800E232:
CheckLocalFlag 0x0095
JumpIf script_0800E29A
_0807E930 0x0010
CallWithArg sub_0807F8E8, 0x00000002
EndBlock
script_0800E24A:
CheckRoomFlag 0x0002
JumpIfNot script_0800E24A
_0807E864
Wait 0x001e
DoPostScriptAction 0x0010
PlaySound SFX_1C9
_0807E930 0x0015
Wait 0x003c
PlaySound SFX_1CA
DoPostScriptAction 0x0010
Wait 0x001e
PlaySound SFX_SECRET
Wait 0x0078
DoPostScriptAction 0x0004
Wait 0x001e
DoPostScriptAction 0x0000
_0807EB8C
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
SetLocalFlag 0x0095
script_0800E29A:
DoPostScriptAction 0x0000
CallWithArg sub_0807F3D8, 0x00000000
_0807E9D4
_0807E878
EndBlock
script_0800E2AE:
EndBlock
BeginBlock
CheckEntityInteractType
JumpIf script_0800E312
CheckLocalFlag 0x0093
JumpIfNot script_0800E2AE
CheckLocalFlag 0x0094
JumpIfNot script_0800E2AE
CheckLocalFlag 0x0095
JumpIfNot script_0800E2AE
_0807E9DC
SetLocalFlag 0x0073
EndBlock
_0807EB44 0x0000
CallWithArg sub_0807F3D8, 0x00000004
_0807EDD4 0x0088, 0x0168
_0807EB44 0x0006
CallWithArg sub_0807F3D8, 0x00000004
_0807EDD4 0x0070, 0x0168
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
_0807E9D4
Jump script_0800E32E
script_0800E312:
_0807E864
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
EndBlock
TextboxNoOverlap 0x2404
_0807EA94
_0807E878
Jump script_0800E2AE
script_0800E32E:
CheckEntityInteractType
JumpIfNot script_0800E32E
_0807E864
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
TextboxNoOverlap 0x2403
_0807EA94
_0807E878
Jump script_0800E32E
.2byte 0x0000
SCRIPT_START script_0800E350
BeginBlock
_0807EB44 0x0004
DoPostScriptAction 0x000a
CheckLocalFlag 0x0071
JumpIf script_0800E3E8
CheckLocalFlag 0x0096
JumpIf script_0800E3BE
_0807E930 0x000c
CallWithArg sub_0807F8E8, 0x00000000
EndBlock
script_0800E37A:
CheckRoomFlag 0x0000
JumpIfNot script_0800E37A
_0807E864
Wait 0x001e
DoPostScriptAction 0x0010
PlaySound SFX_1C9
_0807E930 0x000d
Wait 0x003c
PlaySound SFX_1CA
DoPostScriptAction 0x0010
Wait 0x001e
PlaySound SFX_SECRET
Wait 0x0078
DoPostScriptAction 0x0004
Wait 0x001e
DoPostScriptAction 0x0000
_0807EB74
SetLocalFlag 0x0096
script_0800E3BE:
DoPostScriptAction 0x0000
_0807E9D4
_0807E878
EndBlock
script_0800E3C8:
CheckEntityInteractType
JumpIfNot script_0800E3C8
_0807E864
_0807EB74
TextboxNoOverlap 0x240c
_0807EA94
Wait 0x000f
_0807F034 0x0053
WaitPlayerAction8
SetLocalFlag 0x0071
_0807E878
script_0800E3E8:
_0807E9D4
_0807E878
EndBlock
script_0800E3EE:
CheckEntityInteractType
JumpIfNot script_0800E3EE
_0807E864
_0807EB74
TextboxNoOverlap 0x240d
_0807EA94
Wait 0x000f
_0807E878
Jump script_0800E3EE
SCRIPT_START script_0800E408
BeginBlock
_0807EB44 0x0002
DoPostScriptAction 0x000a
Call sub_080668F0
EndBlock
script_0800E41A:
CheckEntityInteractType
JumpIfNot script_0800E41A
_0807E864
_0807EB74
TextboxNoOverlap 0x2406
_0807EA94
Wait 0x000f
_0807E878
Jump script_0800E41A
SCRIPT_START script_0800E434
BeginBlock
_0807EB44 0x0002
CallWithArg sub_0807F3D8, 0x00000000
DoPostScriptAction 0x000a
_0807E9D4
EndBlock
script_0800E44C:
CheckEntityInteractType
JumpIfNot script_0800E44C
_0807E864
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
TextboxNoOverlap 0x2405
_0807EA94
_0807E878
Jump script_0800E44C
SCRIPT_START script_0800E46C
BeginBlock
_0807EB44 0x0004
CallWithArg sub_0807F3D8, 0x00000000
DoPostScriptAction 0x000a
_0807E9D4
EndBlock
script_0800E484:
CheckEntityInteractType
JumpIfNot script_0800E484
_0807E864
_0807EB74
CallWithArg sub_0807F3D8, 0x00000000
TextboxNoOverlap 0x2407
_0807EA94
_0807E878
Jump script_0800E484
SCRIPT_START script_0800E4A4
BeginBlock
Call sub_0807F354
EndBlock
CheckLocalFlag 0x007c
JumpIf script_0800E4FA
script_0800E4B6:
.ifdef JP
CheckPlayerInRegion 0x0088, 0x0100, 0x0820
.else
.ifdef EU
CheckPlayerInRegion 0x0088, 0x0100, 0x0820
.else
CheckPlayerInRegion 0x0088, 0x00f8, 0x0820
.endif
.endif
JumpIfNot script_0800E4B6
BeginBlock
_0807E864
.ifdef JP
Call sub_0805E544
.else
.ifdef EU
Call sub_0805E544
.endif
.endif
EndBlock
Call sub_0807F3F8
Wait 0x003c
TextboxNoOverlapFollow 0x160c
_0807EA94
Wait 0x001e
TextboxNoOverlapFollow 0x160d
_0807EA94
Wait 0x001e
_0807EB28 0x160e
Wait 0x003c
_0807EA94
BeginBlock
PlayBgm BGM_FIGHT_THEME2
SetLocalFlag 0x007c
.ifdef JP
Call UnfreezeTime
.else
.ifdef EU
Call UnfreezeTime
.endif
.endif
script_0800E4FA:
_0807E878
DoPostScriptAction 0x0006
EndBlock
SCRIPT_END
|