summaryrefslogtreecommitdiff
path: root/data/scripts/maps/MauvilleCity_GameCorner.inc
blob: c2b7852549db98462815311447f81215a17b9ba9 (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
MauvilleCity_GameCorner_MapScripts:: @ 8156A33
	.byte 0

MauvilleCity_GameCorner_EventScript_156A34:: @ 8156A34
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_181C35, 4
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156B32
	message MauvilleCity_GameCorner_Text_181CB4
	waitmessage
	showmoneybox 0, 0
	nop
	showcoinsbox 0, 5
	goto MauvilleCity_GameCorner_EventScript_156A60

MauvilleCity_GameCorner_EventScript_156A60:: @ 8156A60
	multichoicedefault 15, 0, 49, 0, 0
	switch RESULT
	case 0, MauvilleCity_GameCorner_EventScript_156AAE
	case 1, MauvilleCity_GameCorner_EventScript_156AF0
	goto MauvilleCity_GameCorner_EventScript_156B4C
	end

@ 8156A87
	multichoicedefault 15, 0, 49, 1, 0
	switch RESULT
	case 0, MauvilleCity_GameCorner_EventScript_156AAE
	case 1, MauvilleCity_GameCorner_EventScript_156AF0
	goto MauvilleCity_GameCorner_EventScript_156B4C
	end

MauvilleCity_GameCorner_EventScript_156AAE:: @ 8156AAE
	checkcoins VAR_TEMP_1
	compare VAR_TEMP_1, 9950
	goto_if 4, MauvilleCity_GameCorner_EventScript_156B5C
	checkmoney 0x3e8, 0
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156B3C
	givecoins 50
	takemoney 0x3e8, 0
	updatemoneybox 0, 0
	nop
	updatecoinsbox 0, 5
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181CFE, 4
	hidemoneybox 0, 0
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_156AF0:: @ 8156AF0
	checkcoins VAR_TEMP_1
	compare VAR_TEMP_1, 9500
	goto_if 4, MauvilleCity_GameCorner_EventScript_156B5C
	checkmoney 0x2710, 0
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156B3C
	givecoins 500
	takemoney 0x2710, 0
	updatemoneybox 0, 0
	nop
	updatecoinsbox 0, 5
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181CFE, 4
	hidemoneybox 0, 0
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_156B32:: @ 8156B32
	msgbox MauvilleCity_GameCorner_Text_181C53, 4
	release
	end

MauvilleCity_GameCorner_EventScript_156B3C:: @ 8156B3C
	msgbox MauvilleCity_GameCorner_Text_181D28, 4
	hidemoneybox 0, 0
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_156B4C:: @ 8156B4C
	msgbox MauvilleCity_GameCorner_Text_181D73, 4
	hidemoneybox 0, 0
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_156B5C:: @ 8156B5C
	msgbox MauvilleCity_GameCorner_Text_181D57, 4
	hidemoneybox 0, 0
	hidecoinsbox 0, 5
	release
	end

MauvilleCity_GameCorner_EventScript_156B6C:: @ 8156B6C
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_181DE1, 4
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 1
	goto_if_eq MauvilleCity_GameCorner_EventScript_156B88
	release
	end

MauvilleCity_GameCorner_EventScript_156B88:: @ 8156B88
	message MauvilleCity_GameCorner_Text_181E17
	waitmessage
	showcoinsbox 0, 0
	setvar VAR_TEMP_1, 0
	goto MauvilleCity_GameCorner_EventScript_156BA6

MauvilleCity_GameCorner_EventScript_156B9B:: @ 8156B9B
	message MauvilleCity_GameCorner_Text_181E17
	waitmessage
	goto MauvilleCity_GameCorner_EventScript_156BA6

MauvilleCity_GameCorner_EventScript_156BA6:: @ 8156BA6
	multichoice 12, 0, 48, 0
	switch RESULT
	case 0, MauvilleCity_GameCorner_EventScript_156BE2
	case 1, MauvilleCity_GameCorner_EventScript_156BF0
	case 2, MauvilleCity_GameCorner_EventScript_156BFE
	case 3, MauvilleCity_GameCorner_EventScript_156D0D
	goto MauvilleCity_GameCorner_EventScript_156D0D
	end

MauvilleCity_GameCorner_EventScript_156BE2:: @ 8156BE2
	setvar VAR_TEMP_1, 1
	bufferdecorationname 0, 88
	goto MauvilleCity_GameCorner_EventScript_156C0C

MauvilleCity_GameCorner_EventScript_156BF0:: @ 8156BF0
	setvar VAR_TEMP_1, 2
	bufferdecorationname 0, 89
	goto MauvilleCity_GameCorner_EventScript_156C0C

MauvilleCity_GameCorner_EventScript_156BFE:: @ 8156BFE
	setvar VAR_TEMP_1, 3
	bufferdecorationname 0, 90
	goto MauvilleCity_GameCorner_EventScript_156C0C

MauvilleCity_GameCorner_EventScript_156C0C:: @ 8156C0C
	msgbox MauvilleCity_GameCorner_Text_181E33, 5
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156D0D
	switch VAR_TEMP_1
	case 1, MauvilleCity_GameCorner_EventScript_156C46
	case 2, MauvilleCity_GameCorner_EventScript_156C80
	case 3, MauvilleCity_GameCorner_EventScript_156CBA
	end

MauvilleCity_GameCorner_EventScript_156C46:: @ 8156C46
	checkcoins VAR_TEMP_2
	compare VAR_TEMP_2, 1000
	goto_if 0, MauvilleCity_GameCorner_EventScript_156CF4
	bufferdecorationname 1, 88
	checkdecorspace 88
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156D02
	takecoins 1000
	givedecoration 88
	updatecoinsbox 0, 0
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181E49, 4
	goto MauvilleCity_GameCorner_EventScript_156B9B
	end

MauvilleCity_GameCorner_EventScript_156C80:: @ 8156C80
	checkcoins VAR_TEMP_2
	compare VAR_TEMP_2, 1000
	goto_if 0, MauvilleCity_GameCorner_EventScript_156CF4
	bufferdecorationname 1, 89
	checkdecorspace 89
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156D02
	takecoins 1000
	givedecoration 89
	updatecoinsbox 0, 0
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181E49, 4
	goto MauvilleCity_GameCorner_EventScript_156B9B
	end

MauvilleCity_GameCorner_EventScript_156CBA:: @ 8156CBA
	checkcoins VAR_TEMP_2
	compare VAR_TEMP_2, 1000
	goto_if 0, MauvilleCity_GameCorner_EventScript_156CF4
	bufferdecorationname 1, 90
	checkdecorspace 90
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156D02
	takecoins 1000
	givedecoration 90
	updatecoinsbox 0, 0
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181E49, 4
	goto MauvilleCity_GameCorner_EventScript_156B9B
	end

MauvilleCity_GameCorner_EventScript_156CF4:: @ 8156CF4
	msgbox MauvilleCity_GameCorner_Text_181E76, 4
	goto MauvilleCity_GameCorner_EventScript_156B9B
	end

MauvilleCity_GameCorner_EventScript_156D02:: @ 8156D02
	call MauvilleCity_GameCorner_EventScript_1A02B8
	goto MauvilleCity_GameCorner_EventScript_156B9B
	end

MauvilleCity_GameCorner_EventScript_156D0D:: @ 8156D0D
	msgbox MauvilleCity_GameCorner_Text_181EC2, 4
	hidecoinsbox 0, 0
	release
	end

MauvilleCity_GameCorner_EventScript_156D1A:: @ 8156D1A
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_181DE1, 4
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 1
	goto_if_eq MauvilleCity_GameCorner_EventScript_156D36
	release
	end

MauvilleCity_GameCorner_EventScript_156D36:: @ 8156D36
	message MauvilleCity_GameCorner_Text_181E17
	waitmessage
	showcoinsbox 0, 0
	setvar VAR_TEMP_1, 0
	goto MauvilleCity_GameCorner_EventScript_156D54

MauvilleCity_GameCorner_EventScript_156D49:: @ 8156D49
	message MauvilleCity_GameCorner_Text_181E17
	waitmessage
	goto MauvilleCity_GameCorner_EventScript_156D54

MauvilleCity_GameCorner_EventScript_156D54:: @ 8156D54
	multichoice 12, 0, 55, 0
	switch RESULT
	case 0, MauvilleCity_GameCorner_EventScript_156DA6
	case 1, MauvilleCity_GameCorner_EventScript_156DB4
	case 2, MauvilleCity_GameCorner_EventScript_156DC2
	case 3, MauvilleCity_GameCorner_EventScript_156DD0
	case 4, MauvilleCity_GameCorner_EventScript_156DDE
	case 5, MauvilleCity_GameCorner_EventScript_156F77
	goto MauvilleCity_GameCorner_EventScript_156F77
	end

MauvilleCity_GameCorner_EventScript_156DA6:: @ 8156DA6
	setvar VAR_TEMP_1, 1
	bufferitemname 0, ITEM_TM32
	goto MauvilleCity_GameCorner_EventScript_156DEC

MauvilleCity_GameCorner_EventScript_156DB4:: @ 8156DB4
	setvar VAR_TEMP_1, 2
	bufferitemname 0, ITEM_TM29
	goto MauvilleCity_GameCorner_EventScript_156DEC

MauvilleCity_GameCorner_EventScript_156DC2:: @ 8156DC2
	setvar VAR_TEMP_1, 3
	bufferitemname 0, ITEM_TM35
	goto MauvilleCity_GameCorner_EventScript_156DEC

MauvilleCity_GameCorner_EventScript_156DD0:: @ 8156DD0
	setvar VAR_TEMP_1, 4
	bufferitemname 0, ITEM_TM24
	goto MauvilleCity_GameCorner_EventScript_156DEC

MauvilleCity_GameCorner_EventScript_156DDE:: @ 8156DDE
	setvar VAR_TEMP_1, 5
	bufferitemname 0, ITEM_TM13
	goto MauvilleCity_GameCorner_EventScript_156DEC

MauvilleCity_GameCorner_EventScript_156DEC:: @ 8156DEC
	msgbox MauvilleCity_GameCorner_Text_181E33, 5
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156F77
	switch VAR_TEMP_1
	case 1, MauvilleCity_GameCorner_EventScript_156E3C
	case 2, MauvilleCity_GameCorner_EventScript_156E76
	case 3, MauvilleCity_GameCorner_EventScript_156EB0
	case 4, MauvilleCity_GameCorner_EventScript_156EEA
	case 5, MauvilleCity_GameCorner_EventScript_156F24
	end

MauvilleCity_GameCorner_EventScript_156E3C:: @ 8156E3C
	checkcoins VAR_TEMP_2
	compare VAR_TEMP_2, 1500
	goto_if 0, MauvilleCity_GameCorner_EventScript_156F5E
	checkitemspace ITEM_TM32, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156F6C
	takecoins 1500
	giveitem ITEM_TM32, 1
	updatecoinsbox 0, 0
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181F08, 4
	goto MauvilleCity_GameCorner_EventScript_156D49
	end

MauvilleCity_GameCorner_EventScript_156E76:: @ 8156E76
	checkcoins VAR_TEMP_2
	compare VAR_TEMP_2, 3500
	goto_if 0, MauvilleCity_GameCorner_EventScript_156F5E
	checkitemspace ITEM_TM29, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156F6C
	takecoins 3500
	giveitem ITEM_TM29, 1
	updatecoinsbox 0, 0
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181F08, 4
	goto MauvilleCity_GameCorner_EventScript_156D49
	end

MauvilleCity_GameCorner_EventScript_156EB0:: @ 8156EB0
	checkcoins VAR_TEMP_2
	compare VAR_TEMP_2, 4000
	goto_if 0, MauvilleCity_GameCorner_EventScript_156F5E
	checkitemspace ITEM_TM35, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156F6C
	takecoins 4000
	giveitem ITEM_TM35, 1
	updatecoinsbox 0, 0
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181F08, 4
	goto MauvilleCity_GameCorner_EventScript_156D49
	end

MauvilleCity_GameCorner_EventScript_156EEA:: @ 8156EEA
	checkcoins VAR_TEMP_2
	compare VAR_TEMP_2, 4000
	goto_if 0, MauvilleCity_GameCorner_EventScript_156F5E
	checkitemspace ITEM_TM24, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156F6C
	takecoins 4000
	giveitem ITEM_TM24, 1
	updatecoinsbox 0, 0
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181F08, 4
	goto MauvilleCity_GameCorner_EventScript_156D49
	end

MauvilleCity_GameCorner_EventScript_156F24:: @ 8156F24
	checkcoins VAR_TEMP_2
	compare VAR_TEMP_2, 4000
	goto_if 0, MauvilleCity_GameCorner_EventScript_156F5E
	checkitemspace ITEM_TM13, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_156F6C
	takecoins 4000
	giveitem ITEM_TM13, 1
	updatecoinsbox 0, 0
	playse 95
	msgbox MauvilleCity_GameCorner_Text_181F08, 4
	goto MauvilleCity_GameCorner_EventScript_156D49
	end

MauvilleCity_GameCorner_EventScript_156F5E:: @ 8156F5E
	msgbox MauvilleCity_GameCorner_Text_181E76, 4
	goto MauvilleCity_GameCorner_EventScript_156D49
	end

MauvilleCity_GameCorner_EventScript_156F6C:: @ 8156F6C
	call MauvilleCity_GameCorner_EventScript_1A02A5
	goto MauvilleCity_GameCorner_EventScript_156D49
	end

MauvilleCity_GameCorner_EventScript_156F77:: @ 8156F77
	msgbox MauvilleCity_GameCorner_Text_181EC2, 4
	hidecoinsbox 0, 0
	release
	end

MauvilleCity_GameCorner_EventScript_156F84:: @ 8156F84
	msgbox MauvilleCity_GameCorner_Text_1821C1, 2
	end

MauvilleCity_GameCorner_EventScript_156F8D:: @ 8156F8D
	msgbox MauvilleCity_GameCorner_Text_1821F3, 2
	end

MauvilleCity_GameCorner_EventScript_156F96:: @ 8156F96
	lock
	faceplayer
	checkflag FLAG_RECEIVED_STARTER_DOLL
	goto_if_eq MauvilleCity_GameCorner_EventScript_157072
	msgbox MauvilleCity_GameCorner_Text_181F3D, 5
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_157068
	switch VAR_STARTER_MON
	case 0, MauvilleCity_GameCorner_EventScript_156FDB
	case 1, MauvilleCity_GameCorner_EventScript_157005
	case 2, MauvilleCity_GameCorner_EventScript_15702F
	end

MauvilleCity_GameCorner_EventScript_156FDB:: @ 8156FDB
	bufferdecorationname 1, DECOR_TREECKO_DOLL
	checkdecorspace DECOR_TREECKO_DOLL
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_157059
	msgbox MauvilleCity_GameCorner_Text_181F89, 4
	givedecoration_std DECOR_TREECKO_DOLL
	setflag FLAG_RECEIVED_STARTER_DOLL
	goto MauvilleCity_GameCorner_EventScript_157072
	end

MauvilleCity_GameCorner_EventScript_157005:: @ 8157005
	bufferdecorationname 1, DECOR_TORCHIC_DOLL
	checkdecorspace DECOR_TORCHIC_DOLL
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_157059
	msgbox MauvilleCity_GameCorner_Text_181F89, 4
	givedecoration_std DECOR_TORCHIC_DOLL
	setflag FLAG_RECEIVED_STARTER_DOLL
	goto MauvilleCity_GameCorner_EventScript_157072
	end

MauvilleCity_GameCorner_EventScript_15702F:: @ 815702F
	bufferdecorationname 1, DECOR_MUDKIP_DOLL
	checkdecorspace DECOR_MUDKIP_DOLL
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_157059
	msgbox MauvilleCity_GameCorner_Text_181F89, 4
	givedecoration_std DECOR_MUDKIP_DOLL
	setflag FLAG_RECEIVED_STARTER_DOLL
	goto MauvilleCity_GameCorner_EventScript_157072
	end

MauvilleCity_GameCorner_EventScript_157059:: @ 8157059
	call MauvilleCity_GameCorner_EventScript_1A02B8
	msgbox MauvilleCity_GameCorner_Text_181F97, 4
	release
	end

MauvilleCity_GameCorner_EventScript_157068:: @ 8157068
	msgbox MauvilleCity_GameCorner_Text_181FBC, 4
	release
	end

MauvilleCity_GameCorner_EventScript_157072:: @ 8157072
	msgbox MauvilleCity_GameCorner_Text_181FE9, 4
	release
	end

MauvilleCity_GameCorner_EventScript_15707C:: @ 815707C
	lock
	faceplayer
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 1
	goto_if_eq MauvilleCity_GameCorner_EventScript_15709C
	msgbox MauvilleCity_GameCorner_Text_18201E, 4
	goto MauvilleCity_GameCorner_EventScript_157108
	end

MauvilleCity_GameCorner_EventScript_15709C:: @ 815709C
	checkflag FLAG_RECEIVED_20_COINS
	goto_if_eq MauvilleCity_GameCorner_EventScript_1570CA
	checkcoins VAR_TEMP_1
	compare VAR_TEMP_1, 1
	goto_if 4, MauvilleCity_GameCorner_EventScript_1570CA
	setflag FLAG_RECEIVED_20_COINS
	givecoins 20
	msgbox MauvilleCity_GameCorner_Text_18208E, 4
	playse 95
	goto MauvilleCity_GameCorner_EventScript_1570CA
	end

MauvilleCity_GameCorner_EventScript_1570CA:: @ 81570CA
	msgbox MauvilleCity_GameCorner_Text_1820DD, 4
	goto MauvilleCity_GameCorner_EventScript_157108
	end

MauvilleCity_GameCorner_EventScript_1570D8:: @ 81570D8
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_182120, 4
	goto MauvilleCity_GameCorner_EventScript_157108
	end

MauvilleCity_GameCorner_EventScript_1570E8:: @ 81570E8
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_18217C, 4
	goto MauvilleCity_GameCorner_EventScript_157108
	end

MauvilleCity_GameCorner_EventScript_1570F8:: @ 81570F8
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_182241, 4
	goto MauvilleCity_GameCorner_EventScript_157108
	end

MauvilleCity_GameCorner_EventScript_157108:: @ 8157108
	closemessage
	applymovement LAST_TALKED, MauvilleCity_GameCorner_Movement_1A083D
	waitmovement 0
	release
	end

MauvilleCity_GameCorner_EventScript_157115:: @ 8157115
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_182272, 4
	goto MauvilleCity_GameCorner_EventScript_157108
	end

MauvilleCity_GameCorner_EventScript_157125:: @ 8157125
	lock
	faceplayer
	msgbox MauvilleCity_GameCorner_Text_1822F4, 4
	goto MauvilleCity_GameCorner_EventScript_157108
	end

MauvilleCity_GameCorner_EventScript_157135:: @ 8157135
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 0
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_157155:: @ 8157155
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 1
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_157175:: @ 8157175
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 2
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_157195:: @ 8157195
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 3
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_1571B5:: @ 81571B5
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 4
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_1571D5:: @ 81571D5
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 5
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_1571F5:: @ 81571F5
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 6
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_157215:: @ 8157215
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 7
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_157235:: @ 8157235
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 8
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_157255:: @ 8157255
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 9
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_157275:: @ 8157275
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 10
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_157295:: @ 8157295
	lockall
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
	setvar VAR_SPECIAL_4, 11
	specialvar RESULT, GetSlotMachineId
	playslotmachine RESULT
	releaseall
	end

MauvilleCity_GameCorner_EventScript_1572B5:: @ 81572B5
	msgbox MauvilleCity_GameCorner_Text_182420, 4
	releaseall
	end