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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
|
Route110_TrickHousePuzzle7_MapScripts:: @ 826E091
map_script 5, Route110_TrickHousePuzzle7_MapScript1_26E0A6
map_script 3, Route110_TrickHousePuzzle7_MapScript1_26E198
map_script 1, Route110_TrickHousePuzzle7_MapScript1_26E1B4
map_script 2, Route110_TrickHousePuzzle7_MapScript2_26E1C0
.byte 0
Route110_TrickHousePuzzle7_MapScript1_26E0A6: @ 826E0A6
call Route110_TrickHousePuzzle7_EventScript_26E0AC
end
Route110_TrickHousePuzzle7_EventScript_26E0AC:: @ 826E0AC
checkflag FLAG_0x0C2
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E0DA
checkflag FLAG_0x0C3
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E0ED
checkflag FLAG_0x0C4
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E100
checkflag FLAG_0x0C5
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E113
checkflag FLAG_0x0C6
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E126
return
Route110_TrickHousePuzzle7_EventScript_26E0DA:: @ 826E0DA
setmetatile 13, 17, 610, 0
setmetatile 12, 16, 575, 1
return
Route110_TrickHousePuzzle7_EventScript_26E0ED:: @ 826E0ED
setmetatile 12, 13, 610, 0
setmetatile 12, 11, 575, 1
return
Route110_TrickHousePuzzle7_EventScript_26E100:: @ 826E100
setmetatile 7, 12, 610, 0
setmetatile 5, 10, 575, 1
return
Route110_TrickHousePuzzle7_EventScript_26E113:: @ 826E113
setmetatile 6, 6, 636, 0
setmetatile 4, 4, 575, 1
return
Route110_TrickHousePuzzle7_EventScript_26E126:: @ 826E126
setmetatile 8, 4, 609, 0
setmetatile 7, 5, 575, 1
return
Route110_TrickHousePuzzle7_EventScript_26E139:: @ 826E139
setmetatile 13, 17, 611, 0
setmetatile 12, 16, 574, 1
return
Route110_TrickHousePuzzle7_EventScript_26E14C:: @ 826E14C
setmetatile 12, 13, 609, 0
setmetatile 12, 11, 574, 1
return
Route110_TrickHousePuzzle7_EventScript_26E15F:: @ 826E15F
setmetatile 7, 12, 611, 0
setmetatile 5, 10, 574, 1
return
Route110_TrickHousePuzzle7_EventScript_26E172:: @ 826E172
setmetatile 6, 6, 635, 0
setmetatile 4, 4, 574, 1
return
Route110_TrickHousePuzzle7_EventScript_26E185:: @ 826E185
setmetatile 8, 4, 608, 0
setmetatile 7, 5, 574, 1
return
Route110_TrickHousePuzzle7_MapScript1_26E198: @ 826E198
compare VAR_0x40B6, 1
goto_eq Route110_TrickHousePuzzle7_EventScript_26E1B3
clearflag FLAG_0x0C2
clearflag FLAG_0x0C3
clearflag FLAG_0x0C4
clearflag FLAG_0x0C5
clearflag FLAG_0x0C6
end
Route110_TrickHousePuzzle7_EventScript_26E1B3:: @ 826E1B3
end
Route110_TrickHousePuzzle7_MapScript1_26E1B4: @ 826E1B4
compare VAR_0x40B6, 1
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E0AC
end
Route110_TrickHousePuzzle7_MapScript2_26E1C0: @ 826E1C0
map_script_2 VAR_0x40B6, 1, Route110_TrickHousePuzzle7_EventScript_26E1CA
.2byte 0
Route110_TrickHousePuzzle7_EventScript_26E1CA:: @ 826E1CA
setvar VAR_0x40B6, 0
end
Route110_TrickHousePuzzle7_EventScript_26E1D0:: @ 826E1D0
lockall
compare VAR_0x40B1, 0
goto_eq Route110_TrickHousePuzzle7_EventScript_26E1E2
goto Route110_TrickHousePuzzle7_EventScript_26A3DB
end
Route110_TrickHousePuzzle7_EventScript_26E1E2:: @ 826E1E2
setvar VAR_0x40B1, 1
goto Route110_TrickHousePuzzle7_EventScript_26A3E5
end
Route110_TrickHousePuzzle7_EventScript_26E1ED:: @ 826E1ED
lockall
setvar VAR_0x40B6, 1
warpteleport MAP_ROUTE110_TRICK_HOUSE_PUZZLE7, 255, 3, 19
waitstate
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E1FE:: @ 826E1FE
lockall
delay 32
checkflag FLAG_0x0C2
call_if 0, Route110_TrickHousePuzzle7_EventScript_26E0DA
checkflag FLAG_0x0C2
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E139
special DrawWholeMapView
playse SE_TK_KASYA
checkflag FLAG_0x0C2
goto_if 0, Route110_TrickHousePuzzle7_EventScript_26E2E9
checkflag FLAG_0x0C2
goto_eq Route110_TrickHousePuzzle7_EventScript_26E2EE
end
Route110_TrickHousePuzzle7_EventScript_26E22D:: @ 826E22D
lockall
delay 32
checkflag FLAG_0x0C3
call_if 0, Route110_TrickHousePuzzle7_EventScript_26E0ED
checkflag FLAG_0x0C3
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E14C
special DrawWholeMapView
playse SE_TK_KASYA
checkflag FLAG_0x0C3
goto_if 0, Route110_TrickHousePuzzle7_EventScript_26E2F3
checkflag FLAG_0x0C3
goto_eq Route110_TrickHousePuzzle7_EventScript_26E2F8
end
Route110_TrickHousePuzzle7_EventScript_26E25C:: @ 826E25C
lockall
delay 32
checkflag FLAG_0x0C4
call_if 0, Route110_TrickHousePuzzle7_EventScript_26E100
checkflag FLAG_0x0C4
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E15F
special DrawWholeMapView
playse SE_TK_KASYA
checkflag FLAG_0x0C4
goto_if 0, Route110_TrickHousePuzzle7_EventScript_26E2FD
checkflag FLAG_0x0C4
goto_eq Route110_TrickHousePuzzle7_EventScript_26E302
end
Route110_TrickHousePuzzle7_EventScript_26E28B:: @ 826E28B
lockall
delay 32
checkflag FLAG_0x0C5
call_if 0, Route110_TrickHousePuzzle7_EventScript_26E113
checkflag FLAG_0x0C5
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E172
special DrawWholeMapView
playse SE_TK_KASYA
checkflag FLAG_0x0C5
goto_if 0, Route110_TrickHousePuzzle7_EventScript_26E307
checkflag FLAG_0x0C5
goto_eq Route110_TrickHousePuzzle7_EventScript_26E30C
end
Route110_TrickHousePuzzle7_EventScript_26E2BA:: @ 826E2BA
lockall
delay 32
checkflag FLAG_0x0C6
call_if 0, Route110_TrickHousePuzzle7_EventScript_26E126
checkflag FLAG_0x0C6
call_if 1, Route110_TrickHousePuzzle7_EventScript_26E185
special DrawWholeMapView
playse SE_TK_KASYA
checkflag FLAG_0x0C6
goto_if 0, Route110_TrickHousePuzzle7_EventScript_26E311
checkflag FLAG_0x0C6
goto_eq Route110_TrickHousePuzzle7_EventScript_26E316
end
Route110_TrickHousePuzzle7_EventScript_26E2E9:: @ 826E2E9
setflag FLAG_0x0C2
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E2EE:: @ 826E2EE
clearflag FLAG_0x0C2
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E2F3:: @ 826E2F3
setflag FLAG_0x0C3
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E2F8:: @ 826E2F8
clearflag FLAG_0x0C3
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E2FD:: @ 826E2FD
setflag FLAG_0x0C4
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E302:: @ 826E302
clearflag FLAG_0x0C4
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E307:: @ 826E307
setflag FLAG_0x0C5
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E30C:: @ 826E30C
clearflag FLAG_0x0C5
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E311:: @ 826E311
setflag FLAG_0x0C6
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E316:: @ 826E316
clearflag FLAG_0x0C6
releaseall
end
Route110_TrickHousePuzzle7_EventScript_26E31B:: @ 826E31B
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
mossdeepgym3 1
mossdeepgym1 0
waitmovement 0
mossdeepgym2
waitmovement 0
mossdeepgym4
end
Route110_TrickHousePuzzle7_EventScript_26E331:: @ 826E331
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
mossdeepgym3 1
mossdeepgym1 1
waitmovement 0
mossdeepgym2
waitmovement 0
mossdeepgym4
end
Route110_TrickHousePuzzle7_EventScript_26E347:: @ 826E347
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
mossdeepgym3 1
mossdeepgym1 2
waitmovement 0
mossdeepgym2
waitmovement 0
mossdeepgym4
end
Route110_TrickHousePuzzle7_EventScript_26E35D:: @ 826E35D
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
mossdeepgym3 1
mossdeepgym1 3
waitmovement 0
mossdeepgym2
waitmovement 0
mossdeepgym4
end
Route110_TrickHousePuzzle7_EventScript_26E373:: @ 826E373
playse SE_MU_PACHI
waitse
playse SE_TU_SAA
mossdeepgym3 1
mossdeepgym1 4
waitmovement 0
mossdeepgym2
waitmovement 0
mossdeepgym4
end
Route110_TrickHousePuzzle7_EventScript_26E389:: @ 826E389
trainerbattle_single TRAINER_JOSHUA, Route110_TrickHousePuzzle7_Text_26E481, Route110_TrickHousePuzzle7_Text_26E4C1
msgbox Route110_TrickHousePuzzle7_Text_26E4F4, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3A0:: @ 826E3A0
trainerbattle_single TRAINER_PATRICIA, Route110_TrickHousePuzzle7_Text_26E531, Route110_TrickHousePuzzle7_Text_26E564
msgbox Route110_TrickHousePuzzle7_Text_26E57F, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3B7:: @ 826E3B7
trainerbattle_single TRAINER_ALEXIS, Route110_TrickHousePuzzle7_Text_26E5C0, Route110_TrickHousePuzzle7_Text_26E604
msgbox Route110_TrickHousePuzzle7_Text_26E61E, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3CE:: @ 826E3CE
trainerbattle_single TRAINER_MARIELA, Route110_TrickHousePuzzle7_Text_26E66B, Route110_TrickHousePuzzle7_Text_26E69C
msgbox Route110_TrickHousePuzzle7_Text_26E6BC, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3E5:: @ 826E3E5
trainerbattle_single TRAINER_ALVARO, Route110_TrickHousePuzzle7_Text_26E6DA, Route110_TrickHousePuzzle7_Text_26E700
msgbox Route110_TrickHousePuzzle7_Text_26E722, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3FC:: @ 826E3FC
trainerbattle_single TRAINER_EVERETT, Route110_TrickHousePuzzle7_Text_26E78D, Route110_TrickHousePuzzle7_Text_26E7AB
msgbox Route110_TrickHousePuzzle7_Text_26E7C4, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E413:: @ 826E413
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is huggable.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle7_Text_26E481: @ 826E481
.string "The TRICK MASTER always vanishes\n"
.string "like smoke. How does he do it?$"
Route110_TrickHousePuzzle7_Text_26E4C1: @ 826E4C1
.string "Aiyeeeh! You’re much too strong!\n"
.string "How do you do it?$"
Route110_TrickHousePuzzle7_Text_26E4F4: @ 826E4F4
.string "I wish I could appear and disappear as\n"
.string "if I were smoke, too.$"
Route110_TrickHousePuzzle7_Text_26E531: @ 826E531
.string "Going around the same spot…\n"
.string "It begets ill fortune…$"
Route110_TrickHousePuzzle7_Text_26E564: @ 826E564
.string "Defeated!\n"
.string "It’s a bad sign…$"
Route110_TrickHousePuzzle7_Text_26E57F: @ 826E57F
.string "I’ve circled the same spot over ten\n"
.string "times now… It’s ill fortune…$"
Route110_TrickHousePuzzle7_Text_26E5C0: @ 826E5C0
.string "Whoever wins will get through here\n"
.string "first. That’s the feeling I get.$"
Route110_TrickHousePuzzle7_Text_26E604: @ 826E604
.string "Oh!\n"
.string "Well, go ahead, then!$"
Route110_TrickHousePuzzle7_Text_26E61E: @ 826E61E
.string "You’re solving all the puzzles in the\n"
.string "TRICK HOUSE. That’s the feeling I get.$"
Route110_TrickHousePuzzle7_Text_26E66B: @ 826E66B
.string "Nufufufu, here at last!\n"
.string "Let’s get right with it!$"
Route110_TrickHousePuzzle7_Text_26E69C: @ 826E69C
.string "You’re so casual about winning!$"
Route110_TrickHousePuzzle7_Text_26E6BC: @ 826E6BC
.string "Humph! I’m not upset!\n"
.string "Not me!$"
Route110_TrickHousePuzzle7_Text_26E6DA: @ 826E6DA
.string "I ever so closely watched you coming!$"
Route110_TrickHousePuzzle7_Text_26E700: @ 826E700
.string "This outcome I didn’t see coming…$"
Route110_TrickHousePuzzle7_Text_26E722: @ 826E722
.string "Well, anyway, we both picked a weird\n"
.string "place to get acquainted.\p"
.string "As one weirdo to another,\n"
.string "let’s do our best!$"
Route110_TrickHousePuzzle7_Text_26E78D: @ 826E78D
.string "It’s awfully cramped in here…$"
Route110_TrickHousePuzzle7_Text_26E7AB: @ 826E7AB
.string "Oh, yes, strong you are.$"
Route110_TrickHousePuzzle7_Text_26E7C4: @ 826E7C4
.string "I was hoping to switch places with you\n"
.string "when I beat you, but…$"
|