-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathSHOW.ASM
4457 lines (3966 loc) · 89.8 KB
/
SHOW.ASM
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
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;******************************************************************************
;** **
;** P I N B A L L F A N T A S I E S **
;** TABLE 3: BILLION DOLLAR GAME SHOW **
;** **
;******************************************************************************
INCLUDELIB BILLION
INCLUDELIB CLEAR
flipgfxfilesize=220
FIRSTMASK_GFXADR=BPL*(SPLH+BANH)
GFXADR_FOR_FLIP_ANIM_DATA=FIRSTMASK_GFXADR+BPL*40
springsourceadr=GFXADR_FOR_FLIP_ANIM_DATA-3*23 ;3*23 ŽR F™R FJŽDERNS GFX
springdestadr=(splh+556)*bpl+304/4
DATAFLIP SEGMENT PARA PUBLIC 'DATA'
MAXDIFS1=114+5
MAXDIFS2=114+5
MAXDIFS3=137+5
maxdifs=137
if create_flip_data
LEFTFLIPTAB DW 42*(2*MAXDIFS1) DUP (1)
RIGHTFLIPTAB DW 42*(2*MAXDIFS2) DUP (1)
LEFTFLIP2TAB DW 26*(2*MAXDIFS3) DUP (1)
TEMPTAB DW 2*MAXDIFS DUP (1)
else
extrn leftfliptab,rightfliptab,leftflip2tab
endif
DATAFLIP ENDS
DATA SEGMENT PARA PUBLIC 'DATA'
ASSUME CS:CODE,DS:DATA
BALL_LOCK_YPOS EQU 537
MODUL DB 'TABLE3.MOD',0,'$'
if create_flip_data
flipdatafil_L DB 'flipdata.3L',0
flipdatafil_R DB 'flipdata.3R',0
flipdatafil_L2 DB 'flipdata.3L2',0
flipgfxfil DB 'flipgfx.3',0
flipSTRUCfil DB 'flipSTRU.3',0
endif
hi_score_file db 'table3.hi',0
hi_score_list db 0,0,0, 0,5,0, 0,0,0, 0,0,0,'TSP',0
db 0,0,0, 0,2,5, 0,0,0, 0,0,0,'ANY',0
db 0,0,0, 0,1,0, 0,0,0, 0,0,0,'J L',0
db 0,0,0, 0,0,5, 0,0,0, 0,0,0,'ICE',0
;******************************************************************************
;******************************** DEFINITIONS *********************************
;******************************************************************************
TOTCENT=16
;******************** SYSTEM **********************
MAX_NO_OF_LIGHTS_FLASHING=30
MAX_NO_OF_WAIT_SYNCS=50
NOOFTASKS=20
RGB_BUFFER_LEN=500
;******************** FLIPPER & BALL **********************
BALLH=16
BANH=576
STARTX=310-BALLH/2+2
STARTY=543-BALLH/2
F3TOP=176
F3HEIGHT=53
;******************** FLASHING **********************
MATRIXlo=153
MATRIXhi=114
MATRIXCOLS=matrixhi*256+matrixlo
PARTY_ON_SPEED=3 ;?
SHOOT_AGAIN_SPEED=3 ;?
BIT2COL DB 0,0,0,0,6,1,41,0 ;flipper f„rgerna
;******************** GAME TIMING ********************
LM_TIME=10*60
TV_Time=4*60
BOAT_Time=10*60
HOUSE_Time=10*60
PLANE_Time=10*60
SJP_TIME=5*60
JP_TIME=25*60
TRIP_Time=4*60
CAR_Time=4*60
cash5_time=11*60 ;cpw!
MB_time=4*60 ;cpw!
sfspeed=10
LOOPS_N_TRAPS DB ?
PARTYFLASH DB FALSE
syncflasher db 0
evendata
LOOP_MILLION_COUNTER DW 0
SJP_counter dw 0
JP_counter dw 0
MBcounter dw 0
TVcounter dw 0
BOATcounter dw 0
HOUSEcounter dw 0
PLANEcounter dw 0
TRIPcounter dw 0
CARcounter dw 0
cash5counter dw 0
nextSPINtime dw ?
SPINTIMES_HI dw 15 dup(4),5,5,6,7,7,7,7,8,8,8,9,10,10,10,10,11,11,11,11,12,12,14,16,19,22,25,50,-1
SPINTIMES dw 15 dup(4),5,5,5,6,6,6,6,7,7,7,8,8,8,8,9,9,10,10,12,14,17,20,24,32,47,-1
SPINcounter dw ?
SPINlight db 0
rm db 0,0,0,0,0,0,0,0,0,0,0,0
Tjufemtusen db 0,0,0,0,0,0,0,2,5,0,0,0
SPINscores db 0,0,0,'*'-'A'+10,'*'-'A'+10,'*'-'A'+10,'*'-'A'+10,2,5,0,0,0 ;rensar tv† f”rsta
_50K db 0,0,0,0,0,0,0,5,0,0,0,0
_100K db 0,0,0,0,0,0,1,0,0,0,0,0
_250K db 0,0,0,0,0,0,2,5,0,0,0,0
_500K db 0,0,0,0,0,0,5,0,0,0,0,0
_1000K db 0,0,0,0,0,1,0,0,0,0,0,0
_2500K db 0,0,0,0,0,2,5,0,0,0,0,0
_5000K db 0,0,0,0,0,5,0,0,0,0,0,0
CASHPOTSTEP DB 0,0,0,0,0,0,0,0,7,1,3,0
CASHPOTSTEP2 DB 0,0,0,0,0,0,2,2,7,8,3,0
;******************** HOLES **********************
;******************************************************************************
;****************************** GENERAL VARS **********************************
;******************************************************************************
TURBOMODE DB FALSE
OFFROADMODE DB FALSE
TVflag db ?
BILLION_ENABLED DB ?
TRIPflag db ?
CARflag db ?
HOUSEflag db ?
BOATflag db ?
PLANEflag db ?
top_three db ?
all_six db ?
bonusmultiplier db ?
BONUSTABLE DB 2,3,4,6,8,10 ;DE OLIKA BONUSMULTIPLIERNA
BONUS_ANIMS DW _bonusx2TS,_bonusx3TS,_bonusx4TS,_bonusx6TS,_bonusx8TS,_bonusx10TS
SKILLCOUNTER equ cyclonecounterbcd
ETTA DB 11 DUP(0),1
HUNDRATUSEN db 0,0,0,0,0,0,1,0,0,0,0,0
BCDfemmillioner db 0,0,0,0,0,5,0,0,0,0,0,0
bcd7510 db 0,0,0,0,0,0,0,0,7,5,1,0
bcd7520 db 0,0,0,0,0,0,0,0,7,5,2,0
bcd550 db 0,0,0,0,0,0,0,0,0,5,5,0
bcd570 db 0,0,0,0,0,0,0,0,0,5,7,0
bcdhundratusen db 0,0,0,0,0,0,1,0,0,0,0,0
if create_flip_data
FlipLInfo LABEL FLIPSTRUC
DB FlipperL,222
DW 80,510,4,53,0,142,400,576,95,536,0,(53*8*3)
DW 0,0,0,20,20*ADJUST,-7*tt/nn,4*tt/nn,-68*tt/nn,48*tt/nn
DW ?,?,?,?,LEFTFLIPTAB,LEFTFLIPTAB,MAXDIFS1*4
DW FLIPLEFT
DB FlipperR,222
DW 160,510,4,53,143,320,400,576,204,536,0,(53*8*3)
DW 0,0,0,20,20*ADJUST,-7*tt/nn,4*tt/nn,-68*tt/nn,48*tt/nn
DW ?,?,?,?,RIGHTFLIPTAB,RIGHTFLIPTAB,MAXDIFS2*4
DW FLIPRIGHT
DB FlipperR,222
DW 240,176,3,51,220,320,0,250,286,182,-1,(51*6*3)
DW 0,0,0,12,12*ADJUST,-9*tt/nn,4*tt/nn,-68*tt/nn,48*tt/nn
DW ?,?,?,?,LEFTFLIP2TAB,LEFTFLIP2TAB,MAXDIFS3*4
Dw flipLEFT2
DB 0,0 ;END OF FLIPSTRUC
else
extrn fliplinfo:flipstruc
endif
no_of_ramps equ 5 ;cpw!?!?
RampTable DW 0,10*tt/nn
DW 4*tt/nn,13*tt/nn
DW 0,15*tt/nn
DW 2,10*tt/nn
DW 6*tt/nn,14*tt/nn
DW 0,0 ;ska den va me??? CP!!
RampTable_hi DW 0,10
DW 4,13-1
DW 0,15-1
DW 2,10-1
DW 6,14-1
DW 0,0 ;ska den va me??? CP!!
PLAYER_STRUC STRUC
P_SIFFRORNA DB 12 DUP(?)
P_BONUSSIFFRORNA DB 12 DUP(?)
P_TOP_THREE DB ?
P_ALL_SIX DB ?
P_CYCLONECOUNTERBCD DB 12 DUP(?)
P_CYCLONECOUNTER DW ?
ENDS
PLAYER_AREA DB SIZE PLAYER_STRUC * NO_OF_PLAYERS DUP(?)
CYCLONECOUNTER DW ? ;HEXADECIMAL
cyclonecounterBCD DB ?,?,?, ?,?,?, ?,?,?, ?,?,? ;BCD CODED
CYCLONESCOREBCD DB ?,?,?, ?,?,?, ?,?,?, ?,?,? ;BCD CODED
XXBALLE DB ?
;******************************************************************************
;********************************* EFFECTS ************************************
;******************************************************************************
EFFECT_STRUC STRUC
THEJINGLE DW ?
TSCORE DB 0,0,0, 0,0,0, 0,0,0, 0,0,0 ;12 ST!!
TBONUS DB 0,0,0, 0,0,0, 0,0,0, 0,0,0 ;12 ST!!
DOTMATRIX DW ?
ENDS
SHOOTTHEBALL DW SJINGLE12
DB 0,0,0, 0,0,0, 0,0,0, 0,0,0 ;CP?
DB 0,0,0, 0,0,0, 0,0,0, 0,0,0 ;CP?
DW SHOOTTHEBALLTS
BILLION DW SJINGLE1
DB 0,0,1, 0,0,0, 0,0,0, 0,0,0 ;CP?
DB 0,0,0, 0,0,5, 0,0,0, 0,0,0 ;CP?
DW BILLIONTS
;BygelSetA Dc.L 0,SBygel1,0,$50000,0,0,0
bygelsetA dw 0
db 0
db 0,0,0, 0,0,0, 0,5,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
dw 0
;BygelSetB Dc.L 0,SBygel2,0,$10000,0,$1020,0
bygelsetB dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,2,0
dw 0
;BygelSetC Dc.L 0,0,0,$10000,0,$1030,R6
bygelsetC dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,3,0
dw 0
;BygelSetD Dc.L 0,0,0,$10000,0,$1040,R5
bygelsetD dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,4,0
dw 0
;BygelSetE Dc.L 0,0,0,$10000,0,$1050,R3
bygelsetE dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,5,0
dw 0
;BygelSetF Dc.L 0,0,0,$10000,0,$1060,0
bygelsetF dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,6,0
dw 0
;BygelSetG Dc.L 0,0,0,$10000,0,$1070,0
bygelsetG dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,7,0
dw 0
;BygelSetH Dc.L 0,0,0,$10000,0,$1080,R4
bygelsetH dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,8,0
dw 0
;BygelSetI Dc.L 0,0,0,$10000,0,$1090,R1
bygelsetI dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,9,0
dw 0
;BygelSetJ Dc.L 0,0,0,$10000,0,$1010,R2
bygelsetJ dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,1,0
dw 0
;BygelSetK Dc.L 0,0,0,$10000,0,$1030,0
bygelsetK dw 0
db 0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,3,0
dw 0
youwinTV dw sjingle7
db 0,0,0, 0,0,0, 5,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,5,0, 0,0,0
DW youwinTVTS
youwinTrip dw sjingle7
db 0,0,0, 0,0,1, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,5,0, 0,0,0
DW youwinTRIPTS
youwinCAR dw sjingle7
db 0,0,0, 0,0,3, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,5,0, 0,0,0
DW youwinCARTS
youwinBOAT dw sjingle7
db 0,0,0, 0,0,5, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 2,5,0, 0,0,0
DW youwinBOATTS
youwinHOUSE dw sjingle7
db 0,0,0, 0,0,7, 5,0,0, 0,0,0
db 0,0,0, 0,0,0, 5,0,0, 0,0,0
DW youwinHOUSETS
youwinPLANE dw sjingle7
db 0,0,0, 0,1,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 5,0,0, 0,0,0
DW youwinPLANETS
moneymania dw sjingle9
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW turboTS
moneymania2 dw sjingle9
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW turbo2TS
JACKPOT dw sjingle14
JACKVALUE db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW jackpotTS
JACKINIT DB 0,0,0, 0,1,0, 0,0,0, 0,0,0
S_JACKPOT dw sjingle15
db 0,0,0, 0,5,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,1, 0,0,0, 0,0,0
DW 0
EXTRA_BALL dw sjingle11
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW _xtraballTS
RAISING_M dw sjingle16
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW rmTS
SKILLSHOt DW sjingle6
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW skillshotTS
SKILLSHOt_XB DW sjingle6
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW skillshotXBTS
cashpot DW sjingle5
;dd 0,0 ;cp! fel po„ng&bonus
CASHPOTVAL db 0,0,0, 0,0,0, 5,0,7, 5,0,0
db 0,0,0, 0,0,0, 0,0,0, 5,1,0
DW cashpotTS
cashpot5 DW sjingle18
;dd 0,0 ;cp! fel po„ng&bonus
CASHPOT5VAL db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 5,1,0
DW cashpot5TS
TouchB DW 0
DB 0
db 0,0,0, 0,0,0, 0,0,7, 5,0,0
db 0,0,0, 0,0,0, 0,0,0, 5,3,0
DW 0
TouchC DW 0
DB 0
db 0,0,0, 0,0,0, 0,0,7, 5,0,0
db 0,0,0, 0,0,0, 0,0,0, 5,7,0
DW 0
dollartouch DW 0
DB 0
db 0,0,0, 0,0,0, 0,0,7, 5,0,0
db 0,0,0, 0,0,0, 0,0,0, 5,1,0
DW 0
dollartouch2 DW sjingle20
db 0,0,0, 0,0,0, 0,0,7, 5,0,0
db 0,0,0, 0,0,0, 0,0,0, 5,1,0
DW 0
LOOPMILLION DW SJINGLE17
db 0,0,0, 0,0,1, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,7,5, 0,0,0
DW millionTS ;CP!
TVLIT DW SJINGLE6
; DD 0,0
db 0,0,0, 0,0,0, 1,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,5, 0,0,0
DW TVlitTS
TRIPLIT DW SJINGLE6
; DD 0,0
db 0,0,0, 0,0,0, 2,5,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,5, 0,0,0
DW TRIPlitTS
CARLIT DW SJINGLE16
; DD 0,0
db 0,0,0, 0,0,1, 2,5,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,5, 0,0,0
DW CARlitTS
BOATLIT DW SJINGLE21
; DD 0,0
db 0,0,0, 0,0,0, 5,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,5,0, 0,0,0
DW BOATlitTS
HOUSElit DW SJINGLE21
; DD 0,0
db 0,0,0, 0,0,0, 5,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,5,0, 0,0,0
DW HOUSElitTS
PLANELIT DW SJINGLE21
; DD 0,0
db 0,0,0, 0,0,0, 5,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,5,0, 0,0,0
DW PLANElitTS
LOSTBALL DW S_LOSTBALL
; DD 0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW ball_lostTS
if demover
MINUTE5 DW S_GAMEOVER2
; DD 0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW minute5TS
endif
BONUS_X DB ?
TEMPBONUSBCD DB ?,?,?, ?,?,?, ?,?,?, ?,?,?
;******************************************************************************
;**************************** SOUND STRUCTURES ********************************
;******************************************************************************
sbase Equ 16H
SBrickNer DB (sbase+0),18,0,3
SBrickUpp DB (sbase+1),18,0,3
SBumper DB (sbase+2),18,0,3
SFlippUpp DB (sbase+3),22,0,3
SRinner DB 1ch,18,0,3 ;CP?
SNewBall DB 1ch,18,0,3
SKicker DB 1DH,18,0,3
SFjader DB 1eh,18,0,3
SGrop DB (sbase+1),18,0,3
;***********************************************************************
ebase Equ 15
SBygel1 DB (ebase-8),10,0,3
SBygel2 DB (ebase-8),12,0,3
SBygel3 DB (ebase-8),8,0,3
SBygel4 DB (ebase+0),17,0,3
SBygel5 DB (ebase+0),8,0,3
S_Touch1 DB (ebase-8),14,0,3
S_Touch2 DB (ebase+0),10,0,3
S_MultiLjud DB (ebase-8),10,0,3
S_ScoreLjud DB (ebase+0),18,0,3
S_TripCount DB (ebase+0),15,0,3
;***********************************************************************
;JINGLE,NOOFPTNS (0=4EVER),PRIORITY
;S_MULTILJUD DB 39,1,255 ;255?
emptyjingle equ 55
springjingle equ 0
mainjingle equ 1
lastmainpos equ 6
S_Empty DB 55,0,0
S_Spring DB 0,0,0
S_Main DB 1,0,0
S_NoHigh DB 18,0,0
S_Danger DB 44,1,255
S_Tilt DB 43,1,255
S_GameOver DB 28,0,0
S_GameOver2 DB 7,0,0
S_LostBall DB 30,1,200
S_AddPlayer DB 53,0,200
;S_AddPlayer2 DB 53,0,200 ;cp!?
S_AddPlayer2 DB (ebase+0),20,0,3 ;cp!?
S_Lock DB 29,1,90 ;Bonus Locked
S_Mystery DB 49,1,150
S_EndFig DB 52,1,0
S_Knacket DB 54,1,230
S_BEATEN DB 54,1,200 ;CP!!!
S_BEATEN_XB DB 54,1,200
;***********************************************************************
SJingle1 DB 23,3,200 ;Billion
SJingle2 DB 27,1,10 ;Multi Bonus
SJingle3 DB 31,1,10 ;Jackpot Lit
SJingle4 DB 32,1,10 ;Ball Locked
SJingle5 DB 33,1,10 ;Cash Pot
SJingle6 DB 34,1,10 ;Ramp Count
SJingle7 DB 35,1,10 ;10 Millions
SJingle8 DB 36,1,10 ;Price lit
SJingle9 DB 38,0,255 ;Money Mania
SJingle10 DB 41,1,255 ;Money Mania End
SJingle11 DB 42,1,120 ;Extra Ball
SJingle12 DB 47,1,10 ;Billion Lit
SJingle13 DB 48,1,10 ;Ball Lock Enabled
SJingle14 DB 50,1,110 ;Jackpot
SJingle15 DB 51,1,150 ;Super Jackpot
SJingle16 DB 45,1,110 ;Million Plus
SJingle17 DB 46,1,50 ;Million
SJingle18 DB 56,1,10 ;5*Cash Pot
SJingle19 DB 57,1,110 ;Extra Ball Lit
SJingle20 DB 58,1,150 ;Spin Wheel Enabled
SJingle21 DB 59,1,110 ;Price(2) Lit
SJingle22 DB 60,1,50 ;Ball Trap Open
;******************************************************************************
;***************************** DETECTION AREAS ********************************
;******************************************************************************
BumperLista_L DW 44,145,68,169
DW Bumper1
DW 74,201,98,226
DW Bumper2
DW 11,231,35,247
DW Bumper3
BumperLista_U DW -1,-1,-1,-1
DW -1
Bumper2Lista_L DW 50,415,80,470 ;Just to add power
DW Kicker ;No Scores or effects
DW 219,415,249,470
DW Kicker
Bumper2Lista_U DW -1,-1,-1,-1
DW -1
bumper1 dw sbumper
db 0,0,0, 0,0,0, 0,0,1, 0,0,0 ;CP!!!
bumper2 dw sbumper
db 0,0,0,0,0,0,0,0,1,0,0,0
bumper3 dw sbumper
db 0,0,0,0,0,0,0,0,1,0,0,0
kicker dw skicker
db 0,0,0,0,0,0,0,0,0,5,0,0
ZonLista_L label word
DW 159,122,180,131
dw dropa1
DW 180,127,202,136
dw dropa2
DW 139,225,148,244
dw dropb1
DW 135,245,144,264
dw dropb2
DW 30,264,39,283
dw dropc1
DW 26,284,35,303
dw dropc2
DW 0
AreaLista_L LABEL WORD
DW 230,280,260,330 ;Game On
DW Close1
DW 305,512,320,576 ;Spring Valid
DW Bygel28
DW 300,400,320,450 ;Spring invalid?
DW Open1
DW 102,23,122,45
DW Bygel11 ;l„ngst upp i loopen
DW 190,25,210,45
DW Bygel12 ;till h”ger i loopen
DW 103,233,122,254
DW GropA
DW 1,520,20,555 ;CP! SKA VA X1=0
DW GropB
DW 1,460,25,500 ;CP! SKA VA X1=0
DW Close4
DW 25,435,35,445
DW Bygel3
DW 263,435,273,445
DW Bygel4
DW 5,455,15,465
DW Bygel1
DW 284,455,294,465
DW Bygel2
DW 120,130,130,140 ;SKILL
DW Bygel9
DW 222,104,232,114
DW Bygel8
DW 90,152,100,162
DW Bygel13
DW 0
AreaLista_U LABEL WORD
DW 1,30,20,50 ;CP! SKA VA X1=0
DW Bygel6
DW 45,70,70,95
DW Close3
DW 31,78,51,98
DW Bygel10
DW 290,90,320,125
DW Bygel5
DW 155,75,185,105
DW Bygel7
DW 222,104,232,114
DW Bygel8
DW 120,130,130,140
DW Bygel9
DW 1,50,20,70 ;cp x1 ska va 0
DW Bygel6b
COMMENT\
DW 180,125,205,160
DW Open2
DW 25,200,50,255
DW Close2
DW 280,360,300,380
DW Open5
DW 25,435,35,445
DW Open3
\
DW 0
AREALISTA_L_T LABEL WORD
DW 1,520,20,555 ;CP! SKA VA X1=0
DW GropB
DW 0
AREALISTA_U_T LABEL WORD
DW 0
LEVEL1LISTA LABEL WORD ;AREOR SOM ANGER HOPP TILL LEVEL 1 FRN LEVEL 2
DW 100,70,125,98
DW 250,70,270,100
DW 255,85,277,120
DW 210,110,250,140
DW 290,125,320,145
DW 140,125,170,170
DW 95,155,120,190
DW 260,450,277,470
DW 20,450,50,470
DW 0,525,25,555
DW -1
LEVEL2LISTA LABEL WORD ;AREOR SOM ANGER HOPP TILL LEVEL 2 FRN LEVEL 1
DW 125,70,150,100
DW 190,75,230,100
DW 200,80,240,100
DW 290,105,320,125
DW 110,110,140,150
DW -1
;******************************************************************************
;************************ DEMO MODE LIGHT FLASHING ****************************
;******************************************************************************
FLASHLIST LABEL WORD
T2=15
DW 0,0,T2,T2,1 ;SKILL
T2=12
DW 0,0,T2,T2,6 ;lock
T1=6 ;DOLLAR SIGNS
T2=T1*2
DW 0,0,T2,T2,2
DW 0,T2,T2,T2,3
T1=6 ;SPIN DOCTORS
T2=T1*8
DW 0,T1*0,T2,T2,19
DW 0,T1*1,T2,T2,20
DW 0,T1*2,T2,T2,21
DW 0,T1*3,T2,T2,22
DW 0,T1*4,T2,T2,23
DW 0,T1*5,T2,T2,24
DW 0,T1*6,T2,T2,25
DW 0,T1*7,T2,T2,26
T1=12
T2=T1
DW 0,0,T2,T2,33
DW 0,T1,T2,T2,34
DW 0,0,T2,T2,35
DW 0,T1+T1/2,T2,T2,36
DW 0,T1/2,T2,T2,37
DW 0,T1+T1/2,T2,T2,38
DW -1
;******************************************************************************
;**************************** LIGHT PALETTE DATA ******************************
;******************************************************************************
NOOFLIGHTS=38
LON1 DB 254 ;skill
DB 2
DB 64,0,0
DB 95,0,0
LON2 DB 251 ;$1
DB 3
DB 14,70,64
DB 8,64,58
DB 14,83,77
LON3 DB 248 ;$2
DB 3
DB 14,70,64
DB 8,64,58
DB 14,83,77
LON4 DB 245 ;loop mil
DB 3
DB 77,39,0
DB 83,52,8
DB 89,70,33
LON5 DB 243 ;50M
DB 2
DB 58,0,0
DB 95,0,0
LON6 DB 240 ;lock
DB 3
DB 70,70,70
DB 83,83,83
DB 95,95,95
LON7 DB 235 ;”vre bricka
DB 5
DB 14,33,52
DB 8,39,64
DB 27,52,77
DB 45,64,77
DB 70,70,70
LON8 DB 230 ;nedre bricka
DB 5
DB 14,33,52
DB 8,39,64
DB 27,52,77
DB 45,64,77
DB 70,70,70
LON9 DB 225 ;bricka
DB 5
DB 14,33,52
DB 8,39,64
DB 27,52,77
DB 45,64,77
DB 70,70,70
LON10 DB 220 ;bricka
DB 5
DB 14,33,52
DB 8,39,64
DB 27,52,77
DB 45,64,77
DB 70,70,70
LON11 DB 218 ;xb
DB 2
DB 58,0,0
DB 95,0,0
LON12 DB 215 ;Cx5
DB 3
DB 58,58,58
DB 70,70,70
DB 95,95,95
LON13 DB 213 ;tv
DB 2
DB 8,39,64
DB 39,64,95
LON14 DB 211 ;trip
DB 2
DB 45,45,45
DB 70,39,89
LON15 DB 209 ;car
DB 2
DB 8,39,64
DB 39,64,95
LON16 DB 207 ;jp
DB 2
DB 58,0,0
DB 95,0,0
LON17 DB 204 ;col. prize
DB 3
DB 58,58,58
DB 70,70,70
DB 95,95,95
LON18 DB 201 ;spin wheel
DB 3
DB 14,33,52
DB 8,39,64
DB 27,52,77
LON19 DB 199 ;spinindikator
DB 2
DB 0,58,27
DB 0,95,0
LON20 DB 197
DB 2
DB 0,58,27
DB 0,95,0
LON21 DB 195
DB 2
DB 0,58,27
DB 0,95,0
LON22 DB 193
DB 2
DB 0,58,27
DB 0,95,0
LON23 DB 191
DB 2
DB 0,58,27
DB 0,95,0
LON24 DB 189
DB 2
DB 0,58,27
DB 0,95,0
LON25 DB 187
DB 2
DB 0,58,27
DB 0,95,0
LON26 DB 185
DB 2
DB 0,58,27
DB 0,95,0
LON27 DB 183 ;1 billion
DB 2
DB 58,0,0
DB 95,0,0
LON28 DB 181 ;boat
DB 2
DB 8,39,64
DB 39,64,95
LON29 DB 179 ;house
DB 2
DB 45,45,45
DB 70,39,89
LON30 DB 177 ;plane
DB 2
DB 8,39,64
DB 39,64,95
LON31 DB 175 ;mo' money
DB 2
DB 58,0,0
DB 95,0,0
LON32 DB 173 ;money mania
DB 2
DB 58,0,0
DB 95,0,0
LON33 DB 170 ;x2
DB 3
DB 58,58,58
DB 70,70,70
DB 95,95,95
LON34 DB 167 ;x3
DB 3
DB 58,58,58
DB 70,70,70
DB 95,95,95
LON35 DB 164 ;x4
DB 3
DB 58,58,58
DB 70,70,70
DB 95,95,95
LON36 DB 161 ;x6
DB 3
DB 83,52,8
DB 89,70,33
DB 89,95,45
LON37 DB 158 ;x8
DB 3
DB 83,52,8
DB 89,70,33
DB 89,95,45
LON38 DB 155 ;x10
DB 3
DB 83,52,8
DB 89,70,33
DB 89,95,45
MATRIXON DB matrixlo ;(MATRIXCOL LOW BYTE)
DB 1
DB 95,70,27
LONEND DB 0
LONINDEX LABEL WORD
DW OFFSET LON1
DW OFFSET LON2
DW OFFSET LON3
DW OFFSET LON4
DW OFFSET LON5
DW OFFSET LON6
DW OFFSET LON7
DW OFFSET LON8
DW OFFSET LON9
DW OFFSET LON10
DW OFFSET LON11
DW OFFSET LON12
DW OFFSET LON13
DW OFFSET LON14
DW OFFSET LON15
DW OFFSET LON16
DW OFFSET LON17
DW OFFSET LON18
DW OFFSET LON19
DW OFFSET LON20
DW OFFSET LON21
DW OFFSET LON22
DW OFFSET LON23
DW OFFSET LON24
DW OFFSET LON25
DW OFFSET LON26
DW OFFSET LON27
DW OFFSET LON28
DW OFFSET LON29
DW OFFSET LON30
DW OFFSET LON31
DW OFFSET LON32
DW OFFSET LON33
DW OFFSET LON34
DW OFFSET LON35
DW OFFSET LON36
DW OFFSET LON37
DW OFFSET LON38
MATRIXOFF DB matrixlo
DB 3
DB 3 DUP(27*64/100)
;******************************************************************************
;************************* GATES & BYGLARS DATA AREOR *************************
;******************************************************************************
extrn gate1o:byte
extrn gate1c:byte