summaryrefslogtreecommitdiff
path: root/data/scripts/players_house.inc
blob: 81ea878718201c8bd16261f8f4d941322c7a3dec (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
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
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
LittlerootTown_BrendansHouse_2F_EventScript_2926FE:: @ 82926FE
LittlerootTown_MaysHouse_2F_EventScript_2926FE:: @ 82926FE
	setvar VAR_0x4092, 5
	return

LittlerootTown_BrendansHouse_1F_EventScript_292704:: @ 8292704
LittlerootTown_MaysHouse_1F_EventScript_292704:: @ 8292704
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7A1C, MSGBOX_DEFAULT
	applymovement VAR_0x8004, LittlerootTown_BrendansHouse_1F_Movement_27259E
	waitmovement 0
	compare VAR_0x8005, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_29274D
	compare VAR_0x8005, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292758
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7A46, MSGBOX_DEFAULT
	closemessage
	setvar VAR_0x4092, 4
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292763
	applymovement VAR_0x8004, LittlerootTown_BrendansHouse_1F_Movement_2725A6
	waitmovement 0
	releaseall
	end

LittlerootTown_BrendansHouse_1F_EventScript_29274D:: @ 829274D
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_2725A8
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292758:: @ 8292758
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_2725A4
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_Movement_292763: @ 8292763
	walk_up
	step_end

LittlerootTown_BrendansHouse_1F_EventScript_292765:: @ 8292765
LittlerootTown_MaysHouse_1F_EventScript_292765:: @ 8292765
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7B24, MSGBOX_DEFAULT
	closemessage
	applymovement VAR_0x8004, LittlerootTown_BrendansHouse_1F_Movement_2725A6
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292AF0
	waitmovement 0
	releaseall
	end

LittlerootTown_BrendansHouse_2F_EventScript_292781:: @ 8292781
	lockall
	setvar VAR_0x8004, 0
	goto LittlerootTown_BrendansHouse_2F_EventScript_292799
	end

LittlerootTown_MaysHouse_2F_EventScript_29278D:: @ 829278D
	lockall
	setvar VAR_0x8004, 1
	goto LittlerootTown_MaysHouse_2F_EventScript_292799
	end

LittlerootTown_BrendansHouse_2F_EventScript_292799:: @ 8292799
LittlerootTown_MaysHouse_2F_EventScript_292799:: @ 8292799
	checkflag FLAG_0x051
	goto_eq LittlerootTown_BrendansHouse_2F_EventScript_29283F
	msgbox LittlerootTown_BrendansHouse_2F_Text_1F8668, MSGBOX_DEFAULT
	call LittlerootTown_BrendansHouse_2F_EventScript_292849
	delay 30
	setvar VAR_0x4092, 6
	setflag FLAG_0x051
	setflag FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_1
	setflag FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_HOUSE_VIGOROTH_2
	checkplayergender
	compare VAR_RESULT, 0
	call_if 1, LittlerootTown_BrendansHouse_2F_EventScript_2927DF
	compare VAR_RESULT, 1
	call_if 1, LittlerootTown_BrendansHouse_2F_EventScript_29280F
	playse SE_KAIDAN
	removeobject VAR_0x8008
	releaseall
	end

LittlerootTown_BrendansHouse_2F_EventScript_2927DF:: @ 82927DF
	setvar VAR_0x8008, 14
	addobject VAR_0x8008
	applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_292850
	waitmovement 0
	applymovement 255, LittlerootTown_BrendansHouse_2F_Movement_2725A8
	waitmovement 0
	msgbox LittlerootTown_BrendansHouse_2F_Text_1F869A, MSGBOX_DEFAULT
	closemessage
	applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_292857
	waitmovement 0
	return

LittlerootTown_BrendansHouse_2F_EventScript_29280F:: @ 829280F
	setvar VAR_0x8008, 14
	addobject VAR_0x8008
	applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_29285B
	waitmovement 0
	applymovement 255, LittlerootTown_BrendansHouse_2F_Movement_2725A4
	waitmovement 0
	msgbox LittlerootTown_BrendansHouse_2F_Text_1F869A, MSGBOX_DEFAULT
	closemessage
	applymovement VAR_0x8008, LittlerootTown_BrendansHouse_2F_Movement_292862
	waitmovement 0
	return

LittlerootTown_BrendansHouse_2F_EventScript_29283F:: @ 829283F
	incrementgamestat 45
	fadescreen 1
	special Special_ViewWallClock
	waitstate
	releaseall
	end

LittlerootTown_BrendansHouse_2F_EventScript_292849:: @ 8292849
	fadescreen 1
	special StartWallClock
	waitstate
	return

LittlerootTown_BrendansHouse_2F_Movement_292850: @ 8292850
	delay_8
	walk_down
	walk_in_place_fastest_left
	delay_16
	delay_8
	walk_left
	step_end

LittlerootTown_BrendansHouse_2F_Movement_292857: @ 8292857
	walk_right
	walk_up
	delay_8
	step_end

LittlerootTown_BrendansHouse_2F_Movement_29285B: @ 829285B
	delay_8
	walk_down
	walk_in_place_fastest_right
	delay_16
	delay_8
	walk_right
	step_end

LittlerootTown_BrendansHouse_2F_Movement_292862: @ 8292862
	walk_left
	walk_up
	delay_8
	step_end

LittlerootTown_BrendansHouse_1F_EventScript_292866:: @ 8292866
LittlerootTown_MaysHouse_1F_EventScript_292866:: @ 8292866
	setvar VAR_0x4092, 7
	releaseall
	end

LittlerootTown_BrendansHouse_1F_EventScript_29286D:: @ 829286D
	applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_2725A8
	waitmovement 0
	call LittlerootTown_BrendansHouse_1F_EventScript_29294B
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292AE0
	waitmovement 0
	playbgm MUS_INTER_V, 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7BBC, MSGBOX_DEFAULT
	closemessage
	applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_2929B7
	waitmovement 0
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292AE6
	waitmovement 0
	call LittlerootTown_BrendansHouse_1F_EventScript_29296C
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_2725A4
	waitmovement 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7BF1, MSGBOX_DEFAULT
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7C35, MSGBOX_DEFAULT
	closemessage
	setvar VAR_TEMP_1, 1
	applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_2929BD
	waitmovement 0
	goto LittlerootTown_BrendansHouse_1F_EventScript_292866
	end

LittlerootTown_MaysHouse_1F_EventScript_2928DC:: @ 82928DC
	applymovement VAR_0x8005, LittlerootTown_MaysHouse_1F_Movement_2725A4
	waitmovement 0
	call LittlerootTown_MaysHouse_1F_EventScript_29294B
	applymovement 255, LittlerootTown_MaysHouse_1F_Movement_292AE8
	waitmovement 0
	playbgm MUS_INTER_V, 0
	msgbox LittlerootTown_MaysHouse_1F_Text_1F7BBC, MSGBOX_DEFAULT
	closemessage
	applymovement VAR_0x8005, LittlerootTown_MaysHouse_1F_Movement_2929BA
	waitmovement 0
	applymovement 255, LittlerootTown_MaysHouse_1F_Movement_292AEE
	waitmovement 0
	call LittlerootTown_MaysHouse_1F_EventScript_29296C
	applymovement 255, LittlerootTown_MaysHouse_1F_Movement_2725A8
	waitmovement 0
	msgbox LittlerootTown_MaysHouse_1F_Text_1F7BF1, MSGBOX_DEFAULT
	msgbox LittlerootTown_MaysHouse_1F_Text_1F7C35, MSGBOX_DEFAULT
	closemessage
	setvar VAR_TEMP_1, 1
	applymovement VAR_0x8005, LittlerootTown_MaysHouse_1F_Movement_2929C1
	waitmovement 0
	goto LittlerootTown_MaysHouse_1F_EventScript_292866
	end

LittlerootTown_BrendansHouse_1F_EventScript_29294B:: @ 829294B
LittlerootTown_MaysHouse_1F_EventScript_29294B:: @ 829294B
	playse SE_PIN
	applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_272598
	waitmovement 0
	applymovement VAR_0x8005, LittlerootTown_BrendansHouse_1F_Movement_27259A
	waitmovement 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7B96, MSGBOX_DEFAULT
	closemessage
	return

LittlerootTown_BrendansHouse_1F_EventScript_29296C:: @ 829296C
LittlerootTown_MaysHouse_1F_EventScript_29296C:: @ 829296C
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_2725A6
	waitmovement 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7EC6, MSGBOX_DEFAULT
	fadedefaultbgm
	special TurnOffTVScreen
	setflag FLAG_SYS_TV_HOME
	delay 35
	return

LittlerootTown_BrendansHouse_1F_Movement_292989: @ 8292989
	walk_up
	walk_right
	walk_right
	walk_right
	walk_right
	walk_down
	walk_in_place_fastest_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292991: @ 8292991
	walk_up
	walk_left
	walk_left
	walk_left
	walk_left
	walk_down
	walk_in_place_fastest_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292999: @ 8292999
	walk_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_29299B: @ 829299B
	walk_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_29299D: @ 829299D
	walk_in_place_fastest_left
	delay_16
	delay_16
	delay_16
	delay_16
	walk_in_place_fastest_right
	delay_16
	delay_16
	step_end

LittlerootTown_BrendansHouse_1F_Movement_2929A6: @ 82929A6
	walk_in_place_fastest_right
	delay_16
	delay_16
	delay_16
	delay_16
	walk_in_place_fastest_left
	delay_16
	delay_16
	step_end

LittlerootTown_BrendansHouse_1F_Movement_2929AF: @ 82929AF
	walk_up
	walk_left
	walk_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_2929B3: @ 82929B3
	walk_up
	walk_right
	walk_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_2929B7: @ 82929B7
	walk_left
	walk_in_place_fastest_right
	step_end

LittlerootTown_MaysHouse_1F_Movement_2929BA: @ 82929BA
	walk_right
	walk_in_place_fastest_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_2929BD: @ 82929BD
	walk_left
	walk_down
	walk_in_place_fastest_right
	step_end

LittlerootTown_MaysHouse_1F_Movement_2929C1: @ 82929C1
	walk_right
	walk_down
	walk_in_place_fastest_left
	step_end

LittlerootTown_BrendansHouse_1F_EventScript_2929C5:: @ 82929C5
LittlerootTown_MaysHouse_1F_EventScript_2929C5:: @ 82929C5
	lock
	faceplayer
	compare VAR_0x4082, 4
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292A0F
	compare VAR_0x408C, 4
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292A0F
	checkflag FLAG_HAS_MATCH_CALL
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292A19
	checkflag FLAG_0x052
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292A86
	compare VAR_TEMP_1, 1
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292A94
	compare VAR_0x4092, 7
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292AB0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7A1C, MSGBOX_DEFAULT
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_292A0F:: @ 8292A0F
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7DBE, MSGBOX_DEFAULT
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_292A19:: @ 8292A19
	checkflag FLAG_0x0D8
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292A43
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7E0E, MSGBOX_DEFAULT
	closemessage
	delay 30
	playfanfare MUS_ME_TORE_EYE
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7E89, MSGBOX_DEFAULT
	waitfanfare
	closemessage
	delay 30
	setflag FLAG_0x0D8
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_292A43:: @ 8292A43
	checkflag FLAG_BADGE05_GET
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292A51
	goto LittlerootTown_BrendansHouse_1F_EventScript_292A86

LittlerootTown_BrendansHouse_1F_EventScript_292A51:: @ 8292A51
	checkflag FLAG_0x085
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_292A86
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7D73, MSGBOX_DEFAULT
	giveitem_std ITEM_AMULET_COIN
	compare VAR_RESULT, 0
	goto_eq LittlerootTown_BrendansHouse_1F_EventScript_272054
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7DBE, MSGBOX_DEFAULT
	setflag FLAG_0x085
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_292A86:: @ 8292A86
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7D08, MSGBOX_DEFAULT
	goto LittlerootTown_BrendansHouse_1F_EventScript_292A9E
	end

LittlerootTown_BrendansHouse_1F_EventScript_292A94:: @ 8292A94
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7CC3, MSGBOX_DEFAULT
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_292A9E:: @ 8292A9E
	closemessage
	call LittlerootTown_BrendansHouse_1F_EventScript_272083
	incrementgamestat 16
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7D5C, MSGBOX_DEFAULT
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_292AB0:: @ 8292AB0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7CD8, MSGBOX_DEFAULT
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_292ABA:: @ 8292ABA
LittlerootTown_MaysHouse_1F_EventScript_292ABA:: @ 8292ABA
	lock
	faceplayer
	waitse
	playmoncry SPECIES_VIGOROTH, 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7EA8, MSGBOX_DEFAULT
	waitmoncry
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_292ACD:: @ 8292ACD
LittlerootTown_MaysHouse_1F_EventScript_292ACD:: @ 8292ACD
	lock
	faceplayer
	waitse
	playmoncry SPECIES_VIGOROTH, 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F7EB3, MSGBOX_DEFAULT
	waitmoncry
	release
	end

LittlerootTown_BrendansHouse_1F_Movement_292AE0: @ 8292AE0
	walk_down
	walk_down
	walk_left
	walk_left
	walk_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292AE6: @ 8292AE6
	walk_left
	step_end

LittlerootTown_MaysHouse_1F_Movement_292AE8: @ 8292AE8
	walk_down
	walk_down
	walk_right
	walk_right
	walk_right
	step_end

LittlerootTown_MaysHouse_1F_Movement_292AEE: @ 8292AEE
	walk_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292AF0: @ 8292AF0
	walk_up
	step_end

LittlerootTown_BrendansHouse_1F_EventScript_292AF2:: @ 8292AF2
LittlerootTown_MaysHouse_1F_EventScript_292AF2:: @ 8292AF2
	lockall
	checkplayergender
	compare VAR_RESULT, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292C76
	compare VAR_RESULT, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292C86
	compare VAR_0x8008, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D08
	compare VAR_0x8008, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D13
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_27259E
	waitmovement 0
	playse SE_PIN
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_272598
	waitmovement 0
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_27259A
	waitmovement 0
	delay 20
	compare VAR_0x8008, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292C96
	compare VAR_0x8008, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292CA1
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F800E, MSGBOX_DEFAULT
	giveitem_std ITEM_SS_TICKET
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F80FE, MSGBOX_DEFAULT
	closemessage
	delay 20
	compare VAR_0x8008, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292CAC
	compare VAR_0x8008, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292CC1
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F815B, MSGBOX_DEFAULT
	closemessage
	compare VAR_0x8008, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292CD6
	compare VAR_0x8008, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292CEF
	playse SE_DOOR
	removeobject VAR_0x8009
	setflag FLAG_0x123
	delay 30
	compare VAR_0x8008, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D48
	compare VAR_0x8008, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D5D
	delay 20
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F81B9, MSGBOX_DEFAULT
	closemessage
	setflag FLAG_SYS_TV_LATI
	special TurnOnTVScreen
	delay 60
	compare VAR_0x8008, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D72
	compare VAR_0x8008, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D7D
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F824B, MSGBOX_DEFAULT
	closemessage
	compare VAR_0x8008, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D1E
	compare VAR_0x8008, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D33
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F826F, MSGBOX_DEFAULT
	closemessage
	clearflag FLAG_SYS_TV_LATI
	setflag FLAG_0x0FF
	special TurnOffTVScreen
	compare VAR_0x8008, 0
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D88
	compare VAR_0x8008, 1
	call_if 1, LittlerootTown_BrendansHouse_1F_EventScript_292D9D
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F8351, MSGBOX_DEFAULT
	multichoice 22, 8, 108, 1
	copyvar VAR_0x8004, VAR_RESULT
	special InitRoamer
	copyvar VAR_0x40D5, VAR_RESULT
	msgbox LittlerootTown_BrendansHouse_1F_Text_1F83A1, MSGBOX_DEFAULT
	closemessage
	setvar VAR_0x4082, 4
	setvar VAR_0x408C, 4
	releaseall
	end

LittlerootTown_BrendansHouse_1F_EventScript_292C72:: @ 8292C72
	setflag FLAG_SYS_TV_LATI
	return

LittlerootTown_BrendansHouse_1F_EventScript_292C76:: @ 8292C76
	setvar VAR_0x8008, 0
	setvar VAR_0x8009, 5
	setvar VAR_0x800A, 1
	return

LittlerootTown_BrendansHouse_1F_EventScript_292C86:: @ 8292C86
	setvar VAR_0x8008, 1
	setvar VAR_0x8009, 5
	setvar VAR_0x800A, 1
	return

LittlerootTown_BrendansHouse_1F_EventScript_292C96:: @ 8292C96
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DB2
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292CA1:: @ 8292CA1
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DB5
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292CAC:: @ 8292CAC
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292989
	waitmovement 0
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DB8
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292CC1:: @ 8292CC1
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292991
	waitmovement 0
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DBA
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292CD6:: @ 8292CD6
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292DCC
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292DCC
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DBC
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292CEF:: @ 8292CEF
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292DCC
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292DCC
	applymovement VAR_0x8009, LittlerootTown_BrendansHouse_1F_Movement_292DC1
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D08:: @ 8292D08
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292DC6
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D13:: @ 8292D13
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292DD1
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D1E:: @ 8292D1E
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292DD7
	waitmovement 0
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_2725A4
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D33:: @ 8292D33
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_292DDE
	waitmovement 0
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_2725A8
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D48:: @ 8292D48
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_292999
	waitmovement 0
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_2725A4
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D5D:: @ 8292D5D
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_29299B
	waitmovement 0
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_2725A8
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D72:: @ 8292D72
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_29299D
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D7D:: @ 8292D7D
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_2929A6
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D88:: @ 8292D88
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_2929AF
	waitmovement 0
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_2725A8
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_292D9D:: @ 8292D9D
	applymovement VAR_0x800A, LittlerootTown_BrendansHouse_1F_Movement_2929B3
	waitmovement 0
	applymovement 255, LittlerootTown_BrendansHouse_1F_Movement_2725A4
	waitmovement 0
	return

LittlerootTown_BrendansHouse_1F_Movement_292DB2: @ 8292DB2
	walk_right
	walk_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DB5: @ 8292DB5
	walk_left
	walk_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DB8: @ 8292DB8
	face_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DBA: @ 8292DBA
	face_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DBC: @ 8292DBC
	walk_down
	walk_right
	walk_down
	delay_8
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DC1: @ 8292DC1
	walk_down
	walk_left
	walk_down
	delay_8
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DC6: @ 8292DC6
	delay_16
	walk_down
	walk_down
	walk_down
	walk_in_place_fastest_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DCC: @ 8292DCC
	delay_8
	delay_16
	delay_16
	walk_in_place_fastest_down
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DD1: @ 8292DD1
	delay_16
	walk_down
	walk_down
	walk_down
	walk_in_place_fastest_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DD7: @ 8292DD7
	walk_up
	walk_left
	walk_left
	walk_left
	walk_left
	walk_in_place_fastest_up
	step_end

LittlerootTown_BrendansHouse_1F_Movement_292DDE: @ 8292DDE
	walk_up
	walk_right
	walk_right
	walk_right
	walk_right
	walk_in_place_fastest_up
	step_end