summaryrefslogtreecommitdiff
path: root/data/scripts/maps/MauvilleCity_GameCorner.inc
blob: 6d3e0c317561cfbb587f525efd0bdb543c376b90 (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
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
MauvilleCity_GameCorner_MapScripts:: @ 820FBB8
	.byte 0

MauvilleCity_GameCorner_EventScript_20FBB9:: @ 820FBB9
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_210460, 4
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_20FCB7
	message MauvilleCity_GameCorner_Text_2104DF
	waitmessage
	showmoneybox 0, 0, 0
	showcoinsbox 1, 6
	goto MauvilleCity_GameCorner_EventScript_20FBE5

MauvilleCity_GameCorner_EventScript_20FBE5:: @ 820FBE5
	multichoicedefault 15, 0, 49, 0, 0
	switch VAR_RESULT
	case 0, MauvilleCity_GameCorner_EventScript_20FC33
	case 1, MauvilleCity_GameCorner_EventScript_20FC75
	goto MauvilleCity_GameCorner_EventScript_20FCD1
	end

MauvilleCity_GameCorner_EventScript_20FC0C:: @ 820FC0C
	multichoicedefault 15, 0, 49, 1, 0
	switch VAR_RESULT
	case 0, MauvilleCity_GameCorner_EventScript_20FC33
	case 1, MauvilleCity_GameCorner_EventScript_20FC75
	goto MauvilleCity_GameCorner_EventScript_20FCD1
	end

MauvilleCity_GameCorner_EventScript_20FC33:: @ 820FC33
	checkcoins VAR_0x4001
	compare VAR_0x4001, 9950
	goto_if 4, MauvilleCity_GameCorner_EventScript_20FCE1
	checkmoney 0x3e8, 0
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_20FCC1
	givecoins 50
	takemoney 0x3e8, 0
	updatemoneybox 0, 0
	nop
	updatecoinsbox 1, 6
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_210529, 4
	hidemoneybox
	nop
	nop
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_20FC75:: @ 820FC75
	checkcoins VAR_0x4001
	compare VAR_0x4001, 9500
	goto_if 4, MauvilleCity_GameCorner_EventScript_20FCE1
	checkmoney 0x2710, 0
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_20FCC1
	givecoins 500
	takemoney 0x2710, 0
	updatemoneybox 0, 0
	nop
	updatecoinsbox 1, 6
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_210529, 4
	hidemoneybox
	nop
	nop
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_20FCB7:: @ 820FCB7
	msgbox MauvilleCity_GameCorner_Text_21047E, 4
	release
	end

MauvilleCity_GameCorner_EventScript_20FCC1:: @ 820FCC1
	msgbox MauvilleCity_GameCorner_Text_210553, 4
	hidemoneybox
	nop
	nop
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_20FCD1:: @ 820FCD1
	msgbox MauvilleCity_GameCorner_Text_21059A, 4
	hidemoneybox
	nop
	nop
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_20FCE1:: @ 820FCE1
	msgbox MauvilleCity_GameCorner_Text_21057E, 4
	hidemoneybox
	nop
	nop
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_20FCF1:: @ 820FCF1
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_2105D7, 4
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 1
	goto_eq MauvilleCity_GameCorner_EventScript_20FD0D
	release
	end

MauvilleCity_GameCorner_EventScript_20FD0D:: @ 820FD0D
	message MauvilleCity_GameCorner_Text_21060D
	waitmessage
	setvar VAR_0x4001, 0
	showcoinsbox 1, 1
	goto MauvilleCity_GameCorner_EventScript_20FD2B

MauvilleCity_GameCorner_EventScript_20FD20:: @ 820FD20
	message MauvilleCity_GameCorner_Text_21060D
	waitmessage
	goto MauvilleCity_GameCorner_EventScript_20FD2B

MauvilleCity_GameCorner_EventScript_20FD2B:: @ 820FD2B
	multichoice 12, 0, 48, 0
	switch VAR_RESULT
	case 0, MauvilleCity_GameCorner_EventScript_20FD67
	case 1, MauvilleCity_GameCorner_EventScript_20FD75
	case 2, MauvilleCity_GameCorner_EventScript_20FD83
	case 3, MauvilleCity_GameCorner_EventScript_20FE92
	goto MauvilleCity_GameCorner_EventScript_20FE92
	end

MauvilleCity_GameCorner_EventScript_20FD67:: @ 820FD67
	setvar VAR_0x4001, 1
	bufferdecorationname 0, 88
	goto MauvilleCity_GameCorner_EventScript_20FD91

MauvilleCity_GameCorner_EventScript_20FD75:: @ 820FD75
	setvar VAR_0x4001, 2
	bufferdecorationname 0, 89
	goto MauvilleCity_GameCorner_EventScript_20FD91

MauvilleCity_GameCorner_EventScript_20FD83:: @ 820FD83
	setvar VAR_0x4001, 3
	bufferdecorationname 0, 90
	goto MauvilleCity_GameCorner_EventScript_20FD91

MauvilleCity_GameCorner_EventScript_20FD91:: @ 820FD91
	msgbox MauvilleCity_GameCorner_Text_210705, 5
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_20FE92
	switch VAR_0x4001
	case 1, MauvilleCity_GameCorner_EventScript_20FDCB
	case 2, MauvilleCity_GameCorner_EventScript_20FE05
	case 3, MauvilleCity_GameCorner_EventScript_20FE3F
	end

MauvilleCity_GameCorner_EventScript_20FDCB:: @ 820FDCB
	checkcoins VAR_0x4002
	compare VAR_0x4002, 1000
	goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79
	bufferdecorationname 1, 88
	checkdecorspace 88
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_20FE87
	takecoins 1000
	givedecoration 88
	updatecoinsbox 1, 1
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_210646, 4
	goto MauvilleCity_GameCorner_EventScript_20FD20
	end

MauvilleCity_GameCorner_EventScript_20FE05:: @ 820FE05
	checkcoins VAR_0x4002
	compare VAR_0x4002, 1000
	goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79
	bufferdecorationname 1, 89
	checkdecorspace 89
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_20FE87
	takecoins 1000
	givedecoration 89
	updatecoinsbox 1, 1
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_210646, 4
	goto MauvilleCity_GameCorner_EventScript_20FD20
	end

MauvilleCity_GameCorner_EventScript_20FE3F:: @ 820FE3F
	checkcoins VAR_0x4002
	compare VAR_0x4002, 1000
	goto_if 0, MauvilleCity_GameCorner_EventScript_20FE79
	bufferdecorationname 1, 90
	checkdecorspace 90
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_20FE87
	takecoins 1000
	givedecoration 90
	updatecoinsbox 1, 1
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_210646, 4
	goto MauvilleCity_GameCorner_EventScript_20FD20
	end

MauvilleCity_GameCorner_EventScript_20FE79:: @ 820FE79
	msgbox MauvilleCity_GameCorner_Text_210673, 4
	goto MauvilleCity_GameCorner_EventScript_20FD20
	end

MauvilleCity_GameCorner_EventScript_20FE87:: @ 820FE87
	call MauvilleCity_GameCorner_EventScript_272071
	goto MauvilleCity_GameCorner_EventScript_20FD20
	end

MauvilleCity_GameCorner_EventScript_20FE92:: @ 820FE92
	msgbox MauvilleCity_GameCorner_Text_2106BF, 4
	hidecoinsbox 0, 0
	release
	end

MauvilleCity_GameCorner_EventScript_20FE9F:: @ 820FE9F
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_2105D7, 4
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 1
	goto_eq MauvilleCity_GameCorner_EventScript_20FEBB
	release
	end

MauvilleCity_GameCorner_EventScript_20FEBB:: @ 820FEBB
	message MauvilleCity_GameCorner_Text_21060D
	waitmessage
	setvar VAR_0x4001, 0
	showcoinsbox 1, 1
	goto MauvilleCity_GameCorner_EventScript_20FED9

MauvilleCity_GameCorner_EventScript_20FECE:: @ 820FECE
	message MauvilleCity_GameCorner_Text_21060D
	waitmessage
	goto MauvilleCity_GameCorner_EventScript_20FED9

MauvilleCity_GameCorner_EventScript_20FED9:: @ 820FED9
	multichoice 12, 0, 55, 0
	switch VAR_RESULT
	case 0, MauvilleCity_GameCorner_EventScript_20FF2B
	case 1, MauvilleCity_GameCorner_EventScript_20FF3E
	case 2, MauvilleCity_GameCorner_EventScript_20FF51
	case 3, MauvilleCity_GameCorner_EventScript_20FF64
	case 4, MauvilleCity_GameCorner_EventScript_20FF77
	case 5, MauvilleCity_GameCorner_EventScript_210118
	goto MauvilleCity_GameCorner_EventScript_210118
	end

MauvilleCity_GameCorner_EventScript_20FF2B:: @ 820FF2B
	setvar VAR_0x4001, 1
	bufferitemname 0, ITEM_TM32
	setvar VAR_0x8004, 320
	goto MauvilleCity_GameCorner_EventScript_20FF8A

MauvilleCity_GameCorner_EventScript_20FF3E:: @ 820FF3E
	setvar VAR_0x4001, 2
	bufferitemname 0, ITEM_TM29
	setvar VAR_0x8004, 317
	goto MauvilleCity_GameCorner_EventScript_20FF8A

MauvilleCity_GameCorner_EventScript_20FF51:: @ 820FF51
	setvar VAR_0x4001, 3
	bufferitemname 0, ITEM_TM35
	setvar VAR_0x8004, 323
	goto MauvilleCity_GameCorner_EventScript_20FF8A

MauvilleCity_GameCorner_EventScript_20FF64:: @ 820FF64
	setvar VAR_0x4001, 4
	bufferitemname 0, ITEM_TM24
	setvar VAR_0x8004, 312
	goto MauvilleCity_GameCorner_EventScript_20FF8A

MauvilleCity_GameCorner_EventScript_20FF77:: @ 820FF77
	setvar VAR_0x4001, 5
	bufferitemname 0, ITEM_TM13
	setvar VAR_0x8004, 301
	goto MauvilleCity_GameCorner_EventScript_20FF8A

MauvilleCity_GameCorner_EventScript_20FF8A:: @ 820FF8A
	special sub_81398C0
	msgbox MauvilleCity_GameCorner_Text_210629, 5
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210118
	switch VAR_0x4001
	case 1, MauvilleCity_GameCorner_EventScript_20FFDD
	case 2, MauvilleCity_GameCorner_EventScript_210017
	case 3, MauvilleCity_GameCorner_EventScript_210051
	case 4, MauvilleCity_GameCorner_EventScript_21008B
	case 5, MauvilleCity_GameCorner_EventScript_2100C5
	end

MauvilleCity_GameCorner_EventScript_20FFDD:: @ 820FFDD
	checkcoins VAR_0x4002
	compare VAR_0x4002, 1500
	goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
	checkitemspace ITEM_TM32, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_21010D
	takecoins 1500
	giveitem ITEM_TM32, 1
	updatecoinsbox 1, 1
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_21071B, 4
	goto MauvilleCity_GameCorner_EventScript_20FECE
	end

MauvilleCity_GameCorner_EventScript_210017:: @ 8210017
	checkcoins VAR_0x4002
	compare VAR_0x4002, 3500
	goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
	checkitemspace ITEM_TM29, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_21010D
	takecoins 3500
	giveitem ITEM_TM29, 1
	updatecoinsbox 1, 1
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_21071B, 4
	goto MauvilleCity_GameCorner_EventScript_20FECE
	end

MauvilleCity_GameCorner_EventScript_210051:: @ 8210051
	checkcoins VAR_0x4002
	compare VAR_0x4002, 4000
	goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
	checkitemspace ITEM_TM35, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_21010D
	takecoins 4000
	giveitem ITEM_TM35, 1
	updatecoinsbox 1, 1
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_21071B, 4
	goto MauvilleCity_GameCorner_EventScript_20FECE
	end

MauvilleCity_GameCorner_EventScript_21008B:: @ 821008B
	checkcoins VAR_0x4002
	compare VAR_0x4002, 4000
	goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
	checkitemspace ITEM_TM24, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_21010D
	takecoins 4000
	giveitem ITEM_TM24, 1
	updatecoinsbox 1, 1
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_21071B, 4
	goto MauvilleCity_GameCorner_EventScript_20FECE
	end

MauvilleCity_GameCorner_EventScript_2100C5:: @ 82100C5
	checkcoins VAR_0x4002
	compare VAR_0x4002, 4000
	goto_if 0, MauvilleCity_GameCorner_EventScript_2100FF
	checkitemspace ITEM_TM13, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_21010D
	takecoins 4000
	giveitem ITEM_TM13, 1
	updatecoinsbox 1, 1
	playse SE_REGI
	msgbox MauvilleCity_GameCorner_Text_21071B, 4
	goto MauvilleCity_GameCorner_EventScript_20FECE
	end

MauvilleCity_GameCorner_EventScript_2100FF:: @ 82100FF
	msgbox MauvilleCity_GameCorner_Text_210673, 4
	goto MauvilleCity_GameCorner_EventScript_20FECE
	end

MauvilleCity_GameCorner_EventScript_21010D:: @ 821010D
	call MauvilleCity_GameCorner_EventScript_27205E
	goto MauvilleCity_GameCorner_EventScript_20FECE
	end

MauvilleCity_GameCorner_EventScript_210118:: @ 8210118
	msgbox MauvilleCity_GameCorner_Text_2106BF, 4
	hidecoinsbox 0, 0
	release
	end

MauvilleCity_GameCorner_EventScript_210125:: @ 8210125
	msgbox MauvilleCity_GameCorner_Text_2109D3, 2
	end

MauvilleCity_GameCorner_EventScript_21012E:: @ 821012E
	msgbox MauvilleCity_GameCorner_Text_210A05, 2
	end

MauvilleCity_GameCorner_EventScript_210137:: @ 8210137
	lock
	faceplayer
	checkflag FLAG_0x0E2
	goto_eq MauvilleCity_GameCorner_EventScript_210213
	msgbox MauvilleCity_GameCorner_Text_210750, 5
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210209
	switch VAR_FIRST_POKE
	case 0, MauvilleCity_GameCorner_EventScript_21017C
	case 1, MauvilleCity_GameCorner_EventScript_2101A6
	case 2, MauvilleCity_GameCorner_EventScript_2101D0
	end

MauvilleCity_GameCorner_EventScript_21017C:: @ 821017C
	bufferdecorationname 1, 88
	checkdecorspace 88
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_2101FA
	msgbox MauvilleCity_GameCorner_Text_21079C, 4
	givedecoration_std 88
	setflag FLAG_0x0E2
	goto MauvilleCity_GameCorner_EventScript_210213
	end

MauvilleCity_GameCorner_EventScript_2101A6:: @ 82101A6
	bufferdecorationname 1, 89
	checkdecorspace 89
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_2101FA
	msgbox MauvilleCity_GameCorner_Text_21079C, 4
	givedecoration_std 89
	setflag FLAG_0x0E2
	goto MauvilleCity_GameCorner_EventScript_210213
	end

MauvilleCity_GameCorner_EventScript_2101D0:: @ 82101D0
	bufferdecorationname 1, 90
	checkdecorspace 90
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_2101FA
	msgbox MauvilleCity_GameCorner_Text_21079C, 4
	givedecoration_std 90
	setflag FLAG_0x0E2
	goto MauvilleCity_GameCorner_EventScript_210213
	end

MauvilleCity_GameCorner_EventScript_2101FA:: @ 82101FA
	call MauvilleCity_GameCorner_EventScript_272071
	msgbox MauvilleCity_GameCorner_Text_2107A9, 4
	release
	end

MauvilleCity_GameCorner_EventScript_210209:: @ 8210209
	msgbox MauvilleCity_GameCorner_Text_2107CE, 4
	release
	end

MauvilleCity_GameCorner_EventScript_210213:: @ 8210213
	msgbox MauvilleCity_GameCorner_Text_2107FB, 4
	release
	end

MauvilleCity_GameCorner_EventScript_21021D:: @ 821021D
	lock
	faceplayer
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 1
	goto_eq MauvilleCity_GameCorner_EventScript_21023D
	msgbox MauvilleCity_GameCorner_Text_210830, 4
	goto MauvilleCity_GameCorner_EventScript_2102A9
	end

MauvilleCity_GameCorner_EventScript_21023D:: @ 821023D
	checkflag FLAG_0x0E1
	goto_eq MauvilleCity_GameCorner_EventScript_21026B
	checkcoins VAR_0x4001
	compare VAR_0x4001, 1
	goto_if 4, MauvilleCity_GameCorner_EventScript_21026B
	setflag FLAG_0x0E1
	givecoins 20
	msgbox MauvilleCity_GameCorner_Text_2108A0, 4
	playse SE_REGI
	goto MauvilleCity_GameCorner_EventScript_21026B
	end

MauvilleCity_GameCorner_EventScript_21026B:: @ 821026B
	msgbox MauvilleCity_GameCorner_Text_2108EF, 4
	goto MauvilleCity_GameCorner_EventScript_2102A9
	end

MauvilleCity_GameCorner_EventScript_210279:: @ 8210279
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_210932, 4
	goto MauvilleCity_GameCorner_EventScript_2102A9
	end

MauvilleCity_GameCorner_EventScript_210289:: @ 8210289
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_21098E, 4
	goto MauvilleCity_GameCorner_EventScript_2102A9
	end

MauvilleCity_GameCorner_EventScript_210299:: @ 8210299
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_210A51, 4
	goto MauvilleCity_GameCorner_EventScript_2102A9
	end

MauvilleCity_GameCorner_EventScript_2102A9:: @ 82102A9
	closemessage
	applymovement VAR_LAST_TALKED, MauvilleCity_GameCorner_Movement_2725A2
	waitmovement 0
	release
	end

MauvilleCity_GameCorner_EventScript_2102B6:: @ 82102B6
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_210A82, 4
	goto MauvilleCity_GameCorner_EventScript_2102A9
	end

MauvilleCity_GameCorner_EventScript_2102C6:: @ 82102C6
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_210B04, 4
	goto MauvilleCity_GameCorner_EventScript_2102A9
	end

MauvilleCity_GameCorner_EventScript_2102D6:: @ 82102D6
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 0
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_2102F6:: @ 82102F6
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 1
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_210316:: @ 8210316
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 2
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_210336:: @ 8210336
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 3
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_210356:: @ 8210356
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 4
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_210376:: @ 8210376
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 5
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_210396:: @ 8210396
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 6
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_2103B6:: @ 82103B6
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 7
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_2103D6:: @ 82103D6
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 8
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_2103F6:: @ 82103F6
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 9
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_210416:: @ 8210416
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 10
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_210436:: @ 8210436
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare VAR_RESULT, 0
	goto_eq MauvilleCity_GameCorner_EventScript_210456
	setvar VAR_0x8004, 11
	specialvar VAR_RESULT, sub_8139248
	playslotmachine VAR_RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_210456:: @ 8210456
	msgbox MauvilleCity_GameCorner_Text_210C2E, 4
	releaseall
	end

MauvilleCity_GameCorner_Text_210460: @ 8210460
	.string "This is MAUVILLE GAME CORNER.$"

MauvilleCity_GameCorner_Text_21047E: @ 821047E
	.string "Okay, you wanted some COINS for\n"
	.string "the games?\p"
	.string "But you don’t have a COIN CASE for\n"
	.string "stowing the COINS.$"

MauvilleCity_GameCorner_Text_2104DF: @ 82104DF
	.string "Were you looking for COINS?\p"
	.string "It’s ¥1000 for 50 COINS.\n"
	.string "Would you like some?$"

MauvilleCity_GameCorner_Text_210529: @ 8210529
	.string "Thank you very much!\n"
	.string "Here are your COINS!$"

MauvilleCity_GameCorner_Text_210553: @ 8210553
	.string "Um… You don’t appear to have\n"
	.string "enough money…$"

MauvilleCity_GameCorner_Text_21057E: @ 821057E
	.string "Oh?\n"
	.string "Your COIN CASE is full.$"

MauvilleCity_GameCorner_Text_21059A: @ 821059A
	.string "Oh… You don’t need COINS, then?\n"
	.string "Good luck on your adventure!$"

MauvilleCity_GameCorner_Text_2105D7: @ 82105D7
	.string "Welcome.\p"
	.string "You can exchange your COINS for\n"
	.string "prizes here.$"

MauvilleCity_GameCorner_Text_21060D: @ 821060D
	.string "Which prize would you like?$"

MauvilleCity_GameCorner_Text_210629: @ 8210629
	.string "So your choice is\n"
	.string "the {STR_VAR_1} {STR_VAR_2}?$"

MauvilleCity_GameCorner_Text_210646: @ 8210646
	.string "Thank you!\n"
	.string "We’ll send it to your PC at home.$"

MauvilleCity_GameCorner_Text_210673: @ 8210673
	.string "You don’t have enough COINS.$"

MauvilleCity_GameCorner_Text_210690: @ 8210690
	.string "There isn’t any room available for\n"
	.string "placing {STR_VAR_1}.$"

MauvilleCity_GameCorner_Text_2106BF: @ 82106BF
	.string "Oh, is that so? \n"
	.string "You need to save some COINS before\l"
	.string "coming back here.$"

MauvilleCity_GameCorner_Text_210705: @ 8210705
	.string "So your choice is {STR_VAR_1}?$"

MauvilleCity_GameCorner_Text_21071B: @ 821071B
	.string "Here you go!$"

MauvilleCity_GameCorner_Text_210728: @ 8210728
	.string "Oh, you can’t carry any more than that.$"

MauvilleCity_GameCorner_Text_210750: @ 8210750
	.string "I made a mistake and got two of\n"
	.string "the same DOLLS.\p"
	.string "Would you like one of them?$"

MauvilleCity_GameCorner_Text_21079C: @ 821079C
	.string "Here you go!$"

MauvilleCity_GameCorner_Text_2107A9: @ 82107A9
	.string "Huh?\n"
	.string "You want it, but not right now?$"

MauvilleCity_GameCorner_Text_2107CE: @ 82107CE
	.string "Oh, don’t be so negative!\n"
	.string "You can have this!$"

MauvilleCity_GameCorner_Text_2107FB: @ 82107FB
	.string "There’s a prize I want, but I can’t win\n"
	.string "the jackpot.$"

MauvilleCity_GameCorner_Text_210830: @ 8210830
	.string "Hey, kid, if you want to play here,\n"
	.string "you need a COIN CASE.\p"
	.string "I think the young lady next door\n"
	.string "had one. Go see her!$"

MauvilleCity_GameCorner_Text_2108A0: @ 82108A0
	.string "My luck can only last so long.\n"
	.string "This is too much for me.\l"
	.string "Here, take some COINS!$"

MauvilleCity_GameCorner_Text_2108EF: @ 82108EF
	.string "MAUVILLE has something for\n"
	.string "everyone.\p"
	.string "For me, it’s the GAME CORNER.$"

MauvilleCity_GameCorner_Text_210932: @ 8210932
	.string "The ROULETTE tables have different\n"
	.string "rates.\p"
	.string "Check your COINS if you’re going to\n"
	.string "pick a table.$"

MauvilleCity_GameCorner_Text_21098E: @ 821098E
	.string "It’s easy to lose track of time in here. \n"
	.string "I should get back to work.$"

MauvilleCity_GameCorner_Text_2109D3: @ 82109D3
	.string "COINS are needed to play here\n"
	.string "in the GAME CORNER.$"

MauvilleCity_GameCorner_Text_210A05: @ 8210A05
	.string "This ROULETTE thing…\n"
	.string "It’s rather demanding.\p"
	.string "Win or lose, it’s only by luck.$"

MauvilleCity_GameCorner_Text_210A51: @ 8210A51
	.string "Up to three COINS can be used to play\n"
	.string "the SLOTS.$"

MauvilleCity_GameCorner_Text_210A82: @ 8210A82
	.string "It’s very difficult to make it stop\n"
	.string "right on “7.”\p"
	.string "If it stops on “7” during the REEL TIME\n"
	.string "bonus game, you’ll receive extra COINS.$"

MauvilleCity_GameCorner_Text_210B04: @ 8210B04
	.string "Here’s some information for you\n"
	.string "about the SLOTS.\p"
	.string "The more lightning bolts you stock,\n"
	.string "the more REEL TIME chances you get.\p"
	.string "In a game with the maximum five\n"
	.string "REEL TIME chances…\p"
	.string "It is possible to receive four regular\n"
	.string "bonuses, then a big bonus.\p"
	.string "That would total 660 COINS, but it’s\n"
	.string "very difficult to get.$"

MauvilleCity_GameCorner_Text_210C2E: @ 8210C2E
	.string "You can’t play if you don’t have\n"
	.string "a COIN CASE.$"