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
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
|
SlateportCity_Harbor_MapScripts:: @ 8155F5D
map_script 3, SlateportCity_Harbor_MapScript1_155F63
.byte 0
SlateportCity_Harbor_MapScript1_155F63:: @ 8155F63
warp6 SlateportCity, 255, 28, 13
setvar 0x4001, 0
compare 0x40a0, 1
callif 1, SlateportCity_Harbor_EventScript_155F89
checkflag 2052
callif 1, SlateportCity_Harbor_EventScript_155F85
end
SlateportCity_Harbor_EventScript_155F85:: @ 8155F85
clearflag 860
return
SlateportCity_Harbor_EventScript_155F89:: @ 8155F89
playmusicbattle BGM_EVIL_TEAM
movespriteperm 4, 12, 13
spritebehave 4, 9
setflag 905
return
SlateportCity_Harbor_EventScript_155F9B:: @ 8155F9B
lockall
setvar 0x8008, 0
jump SlateportCity_Harbor_EventScript_155FD5
end
SlateportCity_Harbor_EventScript_155FA7:: @ 8155FA7
lockall
setvar 0x8008, 1
jump SlateportCity_Harbor_EventScript_155FD5
end
SlateportCity_Harbor_EventScript_155FB3:: @ 8155FB3
lockall
setvar 0x8008, 2
jump SlateportCity_Harbor_EventScript_155FD5
end
SlateportCity_Harbor_EventScript_155FBF:: @ 8155FBF
lockall
setvar 0x8008, 3
move 255, SlateportCity_Harbor_Movement_1560C2
waitmove 0
jump SlateportCity_Harbor_EventScript_155FD5
end
SlateportCity_Harbor_EventScript_155FD5:: @ 8155FD5
move 7, SlateportCity_Harbor_Movement_1A0845
waitmove 0
move 255, SlateportCity_Harbor_Movement_1A0841
waitmove 0
msgbox SlateportCity_Harbor_Text_17FD7D, 4
closebutton
move 6, SlateportCity_Harbor_Movement_15609B
move 7, SlateportCity_Harbor_Movement_15609B
move 8, SlateportCity_Harbor_Movement_1560A5
waitmove 0
disappear 6
disappear 7
disappear 8
setvar 0x40a0, 2
compare 0x8008, 0
callif 1, SlateportCity_Harbor_EventScript_15605C
compare 0x8008, 1
callif 1, SlateportCity_Harbor_EventScript_156071
compare 0x8008, 2
callif 1, SlateportCity_Harbor_EventScript_156086
compare 0x8008, 3
callif 1, SlateportCity_Harbor_EventScript_156086
msgbox SlateportCity_Harbor_Text_17FE60, 4
closebutton
setflag 821
setflag 822
moveoffscreen 4
spritebehave 4, 10
releaseall
end
SlateportCity_Harbor_EventScript_15605C:: @ 815605C
move 4, SlateportCity_Harbor_Movement_1560B3
waitmove 0
move 255, SlateportCity_Harbor_Movement_1A0845
waitmove 0
return
SlateportCity_Harbor_EventScript_156071:: @ 8156071
move 4, SlateportCity_Harbor_Movement_1560B9
waitmove 0
move 255, SlateportCity_Harbor_Movement_1A0843
waitmove 0
return
SlateportCity_Harbor_EventScript_156086:: @ 8156086
move 4, SlateportCity_Harbor_Movement_1560BE
waitmove 0
move 255, SlateportCity_Harbor_Movement_1A0843
waitmove 0
return
SlateportCity_Harbor_Movement_15609B:: @ 815609B
step_14
step_14
step_43
step_54
step_end
@ 81560A0
step_14
step_14
step_43
step_54
step_end
SlateportCity_Harbor_Movement_1560A5:: @ 81560A5
step_14
step_14
step_14
step_14
step_right
step_right
step_right
step_18
step_18
step_18
step_18
step_18
step_18
step_end
SlateportCity_Harbor_Movement_1560B3:: @ 81560B3
step_left
step_left
step_left
step_left
step_up
step_end
SlateportCity_Harbor_Movement_1560B9:: @ 81560B9
step_left
step_left
step_up
step_left
step_end
SlateportCity_Harbor_Movement_1560BE:: @ 81560BE
step_left
step_left
step_left
step_end
SlateportCity_Harbor_Movement_1560C2:: @ 81560C2
step_up
step_end
SlateportCity_Harbor_EventScript_1560C4:: @ 81560C4
lock
faceplayer
checkflag 2052
jumpeq SlateportCity_Harbor_EventScript_1560D9
msgbox SlateportCity_Harbor_Text_17FA0A, 4
release
end
SlateportCity_Harbor_EventScript_1560D9:: @ 81560D9
msgbox SlateportCity_Harbor_Text_17FA73, 4
checkitem ITEM_SS_TICKET, 1
compare RESULT, 0
jumpeq SlateportCity_Harbor_EventScript_156135
message SlateportCity_Harbor_Text_17FB0A
waittext
jump SlateportCity_Harbor_EventScript_1560FD
end
SlateportCity_Harbor_EventScript_1560FD:: @ 81560FD
multichoicedef 18, 6, 52, 2, 0
switch RESULT
case 0, SlateportCity_Harbor_EventScript_15613F
case 1, SlateportCity_Harbor_EventScript_156167
case 2, SlateportCity_Harbor_EventScript_1561DA
case 127, SlateportCity_Harbor_EventScript_1561DA
end
SlateportCity_Harbor_EventScript_156135:: @ 8156135
msgbox SlateportCity_Harbor_Text_17FAAD, 4
release
end
SlateportCity_Harbor_EventScript_15613F:: @ 815613F
msgbox SlateportCity_Harbor_Text_17FB81, 5
compare RESULT, 0
jumpeq SlateportCity_Harbor_EventScript_15618A
setvar 0x40b4, 1
call SlateportCity_Harbor_EventScript_156196
warp SSTidalCorridor, 255, 1, 10
waitstate
release
end
SlateportCity_Harbor_EventScript_156167:: @ 8156167
msgbox SlateportCity_Harbor_Text_17FB9C, 5
compare RESULT, 0
jumpeq SlateportCity_Harbor_EventScript_15618A
call SlateportCity_Harbor_EventScript_156196
warp BattleTower_Outside, 255, 19, 23
waitstate
release
end
SlateportCity_Harbor_EventScript_15618A:: @ 815618A
message SlateportCity_Harbor_Text_17FBE5
waittext
jump SlateportCity_Harbor_EventScript_1560FD
end
SlateportCity_Harbor_EventScript_156196:: @ 8156196
msgbox SlateportCity_Harbor_Text_17FBB6, 4
closebutton
move LAST_TALKED, SlateportCity_Harbor_Movement_1A0841
waitmove 0
pause 30
spriteinvisible LAST_TALKED, 9, 8
compare FACING, 2
callif 1, SlateportCity_Harbor_EventScript_1561EF
compare FACING, 4
callif 1, SlateportCity_Harbor_EventScript_1561E4
pause 30
spriteinvisible 255, 0, 0
setvar 0x8004, 5
call SlateportCity_Harbor_EventScript_1A040E
return
SlateportCity_Harbor_EventScript_1561DA:: @ 81561DA
msgbox SlateportCity_Harbor_Text_17FB5F, 4
release
end
SlateportCity_Harbor_EventScript_1561E4:: @ 81561E4
move 255, SlateportCity_Harbor_Movement_1561FA
waitmove 0
return
SlateportCity_Harbor_EventScript_1561EF:: @ 81561EF
move 255, SlateportCity_Harbor_Movement_1561FD
waitmove 0
return
SlateportCity_Harbor_Movement_1561FA:: @ 81561FA
step_right
step_26
step_end
SlateportCity_Harbor_Movement_1561FD:: @ 81561FD
step_up
step_end
SlateportCity_Harbor_EventScript_1561FF:: @ 81561FF
msgbox SlateportCity_Harbor_Text_17FC07, 2
end
SlateportCity_Harbor_EventScript_156208:: @ 8156208
msgbox SlateportCity_Harbor_Text_17FC7C, 2
end
SlateportCity_Harbor_EventScript_156211:: @ 8156211
lock
faceplayer
checkflag 2061
jumpeq SlateportCity_Harbor_EventScript_15626F
checkflag 271
jumpeq SlateportCity_Harbor_EventScript_156265
checkflag 112
jumpeq SlateportCity_Harbor_EventScript_156258
compare 0x40a0, 2
jumpeq SlateportCity_Harbor_EventScript_15624E
msgbox SlateportCity_Harbor_Text_17FD1C, 4
closebutton
move LAST_TALKED, SlateportCity_Harbor_Movement_1A083D
waitmove 0
release
end
SlateportCity_Harbor_EventScript_15624E:: @ 815624E
msgbox SlateportCity_Harbor_Text_17FE60, 4
release
end
SlateportCity_Harbor_EventScript_156258:: @ 8156258
setflag 271
msgbox SlateportCity_Harbor_Text_17FF35, 4
release
end
SlateportCity_Harbor_EventScript_156265:: @ 8156265
msgbox SlateportCity_Harbor_Text_1800A0, 4
release
end
SlateportCity_Harbor_EventScript_15626F:: @ 815626F
compare 0x4001, 1
jumpeq SlateportCity_Harbor_EventScript_156380
checkitem ITEM_SCANNER, 1
compare RESULT, 1
jumpeq SlateportCity_Harbor_EventScript_1562A7
checkflag 2052
jumpeq SlateportCity_Harbor_EventScript_15629D
msgbox SlateportCity_Harbor_Text_18017B, 4
release
end
SlateportCity_Harbor_EventScript_15629D:: @ 815629D
msgbox SlateportCity_Harbor_Text_1801EA, 4
release
end
SlateportCity_Harbor_EventScript_1562A7:: @ 81562A7
message SlateportCity_Harbor_Text_18028B
waittext
jump SlateportCity_Harbor_EventScript_1562B3
end
SlateportCity_Harbor_EventScript_1562B3:: @ 81562B3
multichoice 0, 0, 46, 0
switch RESULT
case 0, SlateportCity_Harbor_EventScript_1562EA
case 1, SlateportCity_Harbor_EventScript_15632A
case 2, SlateportCity_Harbor_EventScript_15636A
case 127, SlateportCity_Harbor_EventScript_15636A
end
SlateportCity_Harbor_EventScript_1562EA:: @ 81562EA
msgbox SlateportCity_Harbor_Text_1803DD, 5
compare RESULT, 0
jumpeq SlateportCity_Harbor_EventScript_156374
giveitem ITEM_DEEP_SEA_TOOTH
compare RESULT, 0
jumpeq SlateportCity_Harbor_EventScript_1A029B
removeitem ITEM_SCANNER, 1
msgbox SlateportCity_Harbor_Text_18046B, 4
setflag 294
jump SlateportCity_Harbor_EventScript_156380
end
SlateportCity_Harbor_EventScript_15632A:: @ 815632A
msgbox SlateportCity_Harbor_Text_180412, 5
compare RESULT, 0
jumpeq SlateportCity_Harbor_EventScript_156374
giveitem ITEM_DEEP_SEA_SCALE
compare RESULT, 0
jumpeq SlateportCity_Harbor_EventScript_1A029B
removeitem ITEM_SCANNER, 1
msgbox SlateportCity_Harbor_Text_18046B, 4
setflag 294
jump SlateportCity_Harbor_EventScript_156380
end
SlateportCity_Harbor_EventScript_15636A:: @ 815636A
msgbox SlateportCity_Harbor_Text_180360, 4
release
end
SlateportCity_Harbor_EventScript_156374:: @ 8156374
message SlateportCity_Harbor_Text_180447
waittext
jump SlateportCity_Harbor_EventScript_1562B3
end
SlateportCity_Harbor_EventScript_156380:: @ 8156380
setvar 0x4001, 1
msgbox SlateportCity_Harbor_Text_180491, 4
release
end
|