forked from historicalsource/pinballfantasies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSDEV.ASM
5196 lines (4579 loc) · 105 KB
/
SDEV.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: SPEED DEVILS **
;** **
;******************************************************************************
INCLUDELIB Sdev.LIB
flipgfxfilesize=168
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
std_lgt_speed=15 ;som pilarna blinkar i ju . . .
TurboDelay=60*3
blet=1 ;hur m†nga ggr f”r l„nge mellan looparna
DATAFLIP SEGMENT PARA PUBLIC 'DATA'
MAXDIFS1=114+5
MAXDIFS2=114+5
MAXDIFS3=114+5
maxdifs=114
if create_flip_data
LEFTFLIPTAB DW 42*(2*MAXDIFS1) DUP (1)
RIGHTFLIPTAB DW 42*(2*MAXDIFS2) DUP (1)
LEFTFLIP2TAB DW 30*(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
MODUL DB 'TABLE2.MOD',0,'$'
if create_flip_data
flipdatafil_L DB 'flipdata.2L',0
flipdatafil_R DB 'flipdata.2R',0
flipdatafil_L2 DB 'flipdata.2L2',0
flipgfxfil DB 'flipgfx.2',0
flipSTRUCfil DB 'flipSTRU.2',0
endif
hi_score_file db 'table2.hi',0
hi_score_list db 0,0,0, 1,0,0, 0,0,0, 0,0,0,'TSP',0
db 0,0,0, 0,5,0, 0,0,0, 0,0,0,'J L',0
db 0,0,0, 0,2,5, 0,0,0, 0,0,0,'ICE',0
db 0,0,0, 0,1,0, 0,0,0, 0,0,0,'ANY',0
;******************************************************************************
;******************************** DEFINITIONS *********************************
;******************************************************************************
stones=0 ;true
TOTCENT=16
CYCLONECOUNTER DW ? ;HEXADECIMAL
cyclonecounterBCD DB ?,?,?, ?,?,?, ?,?,?, ?,?,? ;BCD CODED
CYCLONESCOREBCD DB ?,?,?, ?,?,?, ?,?,?, ?,?,? ;BCD CODED
XXBALLE DB ?
;******************** SYSTEM **********************
RGB_BUFFER_LEN=1500
MAX_NO_OF_LIGHTS_FLASHING=64
MAX_NO_OF_WAIT_SYNCS=50
NOOFTASKS=20
;******************** FLIPPER & BALL **********************
BALLH=16
BANH=576
STARTX=310-BALLH/2+3
STARTY=543-BALLH/2
F3TOP=168
F3HEIGHT=53
;******************** FLASHING **********************
MATRIXHI=62H
MATRIXLO=80H
MATRIXCOLS=MATRIXHI*256+MATRIXLO
BIT2COL DB 0,0,0,0,31,1,52,0 ;flipper f„rgerna
PARTY_ON_SPEED=3 ;?
SHOOT_AGAIN_SPEED=3 ;?
POS_SYNCER DB ? ;LIGHT SYNC
;******************** GAME TIMING ********************
;******************** HOLES **********************
;******************************************************************************
;****************************** GENERAL VARS **********************************
;******************************************************************************
if create_flip_data
FlipLInfo 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 144,168,4,53,0,320,100,300,188,198,0,(53*8*3)
DW 0,0,0,14,14*ADJUST,-5*tt/nn,4*tt/nn,-68*tt/nn,48*tt/nn
DW ?,?,?,?,LEFTFLIP2TAB,LEFTFLIP2TAB,maxdifs3*4
DW FLIPLEFT2+(4*(53*8*3))/16
DB 0,0
else
extrn fliplinfo:flipstruc
endif
no_of_ramps equ 6
RAMPTABLE DW 0,10*tt/nn
DW 0,15*tt/nn
DW 0,25*tt/nn
DW -1,10*tt/nn
DW 0,20*tt/nn
DW 12*tt/nn,10*tt/nn
DW 0,0
RAMPTABLE_hi DW 0,10
DW 0,15
DW 0,25
DW -1,10
DW 0,20
DW 12,10
DW 0,0
PLAYER_STRUC STRUC
P_SIFFRORNA DB 12 DUP(?)
P_BONUSSIFFRORNA DB 12 DUP(?)
p_cyclonecounterBCD db 12 dup(?)
p_cyclonecount dw ?
p_speeden dw ?
p_gearet dw ?
p_nextjump dw ?
p_nextoffroad dw ?
p_pos_light dw ?
p_pos_flash dw ?
p_goallight db ?
p_gear db ? ;Gyllenhammar??
p_ear db ?
p_aron db ?
p_rapa db ? ;Ja hoppas den e bra . .
p_part1 db ?
p_part2 db ?
p_part3 db ?
p_part4 db ?
p_part5 db ?
p_part1_l db ?
p_part2_l db ?
p_part3_l db ?
p_part4_l db ?
p_part5_l db ?
p_Carparten DW ?
p_hbcount db ?
p_tm_total db 12 dup (?)
p_or_total DB 12 dup (?)
ENDS
PLAYER_AREA DB SIZE PLAYER_STRUC * NO_OF_PLAYERS DUP(0)
;******************************************************************************
;********************************* 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
Turboeffect dw SJingle21
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 0
jump_at dw 0
db 35
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 Jump_At_TS
offroad_at_10 dw 0
db 35
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 offroad_At_10_TS
xball_at_20 dw 0
db 35
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 Xball_At_20_TS
OffRoad_at dw 0
db 35
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 OffRoad_At_TS
SuperJack dw SJingle3
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 SuperJackTS
JackPot dw SJingle2
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
SuperJack2 dw SJingle3
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 superJack2TS
HoldBonus dw S_Lock
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 BonusHeldTS
NumberOne dw SJingle18
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 0
XBall dw SJingle4
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 XballTS
litXBall dw 0
db 90
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 litXballTS
dw 0
Jump dw SJingle11
db 0,0,0, 0,1,0, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW JumpTS
lgt_Jump dw SJingle10
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 litJumpTS
Part1 dw SJingle15
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 Part1TS
Part2 dw SJingle15
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 Part2TS
Part3 dw SJingle15
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 Part3TS
Part4 dw SJingle15
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 Part4TS
Part5 dw SJingle15
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 Part5TS
GearChange dw SJingle16
db 0,0,0, 0,0,0, 5,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,2,5, 0,0,0
dw GearTS
Speedo dw Sjingle8 ;CP! Olika f”r varje speed!!
db 0,0,0, 0,0,0, 2,5,0, 0,0,0
db 0,0,0, 0,0,0, 0,2,5, 0,0,0
DW PedalTS
OverTake dw SJingle17
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 OverTakeTS
GoalLit dw SJingle12
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 0
GetGoal dw SJingle7 ;13
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
LOSTBALL DW 0 ;S_LOSTBALL
DB 255
; 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
BygelSetA DW S_Tilt ;sidotrill ned . .
db 0,0,0, 0,0,0, 0,5,0, 0,7,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW 0
BygelSetB dw 0
db 200 ;r”rnedfall . .
db 0,0,0, 0,0,0, 0,1,0, 0,1,0
db 0,0,0, 0,0,0, 0,0,1, 0,3,0
DW 0
BygelSetC dw 0
db 200 ;P I T
db 0,0,0, 0,0,0, 0,1,0, 0,2,0
db 0,0,0, 0,0,0, 0,0,1, 0,1,0
DW 0
MBLit dw Sjingle9 ;Multi Bonus Lit
db 0,0,0, 0,0,0, 0,1,0, 0,2,0
db 0,0,0, 0,0,0, 0,0,1, 0,1,0
DW 0
BygelSetD dw 0
db 200 ;Ut ur OffRoad . .
db 0,0,0, 0,0,0, 0,1,0, 0,4,0
db 0,0,0, 0,0,0, 0,0,1, 0,5,0
DW 0
BygelSetE dw 0
db 200 ;In i offroad . .
db 0,0,0, 0,0,0, 0,1,0, 0,4,0
db 0,0,0, 0,0,0, 0,0,1, 0,9,0
DW 0
DB ?
Million dw Sjingle6 ;In i offroad, full bonus
db 0,0,0, 0,0,1, 0,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
dw MillionTS
DB ?
;Speeds (Loops get higher score for higher speeds)
SScore1 dw 0
db 30
db 0,0,0, 0,0,0, 0,2,5, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore2 dw 0
db 30
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 MilesTS
SScore3 dw 0
db 30
db 0,0,0, 0,0,0, 0,7,5, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore4 dw 0
db 30
db 0,0,0, 0,0,0, 1,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore5 dw 0
db 30
db 0,0,0, 0,0,0, 1,2,5, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore6 dw 0
db 30
db 0,0,0, 0,0,0, 1,5,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore7 dw 0
db 30
db 0,0,0, 0,0,0, 1,7,5, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore8 dw 0
db 30
db 0,0,0, 0,0,0, 2,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore9 dw 0
db 30
db 0,0,0, 0,0,0, 2,2,5, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore10 dw 0
db 30
db 0,0,0, 0,0,0, 2,5,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore11 dw 0
db 30
db 0,0,0, 0,0,0, 2,7,5, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
SScore12 dw 0
db 30
db 0,0,0, 0,0,0, 3,0,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,0, 0,0,0
DW MilesTS
;Multiply Bonus vill ligga t„tt ihop ;-)
M2 DW SJingle1
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,0,0
DW m2TS
M3 DW SJingle1
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,1, 0,0,0
DW m3TS
M4 DW SJingle1
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,2, 0,0,0
DW m4TS
M5 DW SJingle1
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,3, 0,0,0
DW m5TS
M6 DW SJingle1
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,4, 0,0,0
DW m6TS
M7 DW SJingle1
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,5, 0,0,0
DW m7TS
M8 DW SJingle1
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,6, 0,0,0
DW m8TS
M9 DW SJingle1
db 0,0,0, 0,0,0, 0,1,0, 0,0,0
db 0,0,0, 0,0,0, 0,0,7, 0,0,0
DW m9TS
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 ?,?,?, ?,?,?, ?,?,?, ?,?,?
JACKVALUE DB ?,?,?, ?,?,?, ?,?,?, ?,?,? ;JACKPOT CURRENT
JACKRAISE DB 0,0,0, 0,0,0, 1,0,0, 0,0,0 ;JACKPOT STEP
JACKINIT DB 0,0,0, 0,0,5, 0,0,0, 0,0,0 ;JACKPOT START
etta db 0,0,0,0,0,0,0,0,0,0,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
;******************************************************************************
;**************************** SOUND STRUCTURES ********************************
;******************************************************************************
;SAMPLE,PERIOD,EFFECT,CHANNEL
sbase Equ 21+1
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 (sbase+4),18,0,3
SNewBall db (sbase+6),18,0,3
SKicker db (sbase+7),18,0,3
SFjader db (sbase+8),18,0,3
SGrop db (sbase+1),18,0,3
;***********************************************************************
ebase Equ 26+1
;????????????????????????????????????????????
S_AddPlayer2 db (ebase+0),20,0,3
;????????????????????????????????????????????
SBygel1 db (ebase+0),10,0,3
SBygel2 db (ebase+0),12,0,3
SBygel3 db (ebase+0),8,0,3
SBygel4 db (ebase+0),17,0,3
SBygel5 db (ebase+0),8,0,3
S_Touch1 db (ebase+0),14,0,3
S_Touch2 db (ebase+0),10,0,3
S_MultiLjud db (ebase+0),10,0,3
S_ScoreLjud db (ebase+0),18,0,3
S_TripCount db (ebase+0),15,0,3
;***********************************************************************
;* Here comes the jingles . . . *
;***********************************************************************
emptyjingle equ 55
springjingle equ 0
mainjingle equ 2
lastmainpos equ 9
S_Empty db 55,0,0
S_Spring db 0,0,0
S_Main db 2,0,0
S_NoHigh db 10,0,0
S_Danger db 40,1,250
S_Tilt db 39,1,250
S_GameOver db 26,0,0
S_GameOver2 db 61,0,255 ;0
S_LostBall db 24,1,255 ;200 ???
S_AddPlayer db 0,0,0
S_Lock db 27,1,90 ;Bonus Locked
S_Mystery db 0,0,0
S_EndFig db 50,1,0
S_Knacket db 51,1,230
S_BEATEN DB 51,1,249
;***********************************************************************
SJingle1 db 25,1,60 ;Multi Bonus
SJingle2 db 38,1,190 ;Jackpot
SJingle3 db 41,4,200 ;Super Jackpot
SJingle4 db 28,1,180 ;Extra Ball
SJingle5 db 30,1,100 ;Jackpot Lit
SJingle6 db 44,1,61 ;Million
SJingle7 db 34,0,255 ;Turbo (0)
SJingle8 db 42,1,50 ;Add Speed
SJingle9 db 48,1,60 ;Multi Bonus Lit
SJingle10 db 32,1,40 ;Jump Lit
SJingle11 db 43,1,70 ;Jump
SJingle12 db 45,1,100 ;Goal Lit
SJingle13 db 46,1,200 ;Goal
SJingle15 db 33,1,110 ;Extra Features
SJingle16 db 29,1,80 ;Change Gear
SJingle17 db 37,1,62 ;Overtake
SJingle18 db 49,1,200 ;Number One
SJingle19 db 31,1,100 ;Double Bonus
SJingle20 db 36,1,255 ;Turbo End (0)
SJingle21 db 24,1,30 ;Ramps
SJingle22 db 56,0,254 ;Off Road (0)
SJingle23 db 60,1,255 ;Off Road End (60)
;******************************************************************************
;***************************** DETECTION AREAS ********************************
;******************************************************************************
BumperLista_L dw 52,193,76,217
dw Bumper1
dw 5,223,28,247
dw Bumper2
dw 52,253,67,274
dw Bumper3
dw 5,283,28,307
dw Bumper4
BumperLista_U dw -1,-1,-1,-1
dw 0
Bumper2Lista_L dw 50,415,80,470 ;Just to add power
dw Kicker1 ;No Scores or effects
dw 219,415,249,470
dw Kicker2
Bumper2Lista_U dw -1,-1,-1,-1
dw 0
bumper1 dw sbumper
db 0,0,0, 0,0,0, 0,0,1, 0,3,0 ;1,030
bumper2 dw sbumper
db 0,0,0, 0,0,0, 0,0,1, 0,3,0 ;1,030
bumper3 dw sbumper
db 0,0,0, 0,0,0, 0,0,1, 0,3,0 ;1,030
bumper4 dw sbumper
db 0,0,0, 0,0,0, 0,0,1, 0,3,0 ;1,030
kicker1 dw skicker
db 0,0,0, 0,0,0, 0,0,0, 5,1,0 ;510
kicker2 dw skicker
db 0,0,0, 0,0,0, 0,0,0, 5,1,0 ;510
ZonLista_L label word
DW 168,235,183,250,bricka_b
DW 183,246,199,258,bricka_u
DW 199,254,215,266,bricka_r
DW 261,261,271,278,bricka_n
DW 271,278,278,294,bricka_i
DW 278,294,290,310,bricka_nn
dw 0
comment\
dw 168,235,215,265
dw TouchSetA ;B U R
dw 261,261,290,310
dw TouchSetB ;N I N'
\
ZonLista_U label word
dw 0
AreaLista_L label word
dw 260,35,275,60 ;PITSTOP
dw GropA
dw 295,50,320,70 ;Game On
dw Close1
dw 140,50,170,70 ;Jump
dw Bygel16
dw 10,65,40,95
dw Bygel9 ;OffRoad . .
; dw 255,85,285,110 ;ing†ng till P I T
; dw Close2
dw 140,90,160,110 ;ing†ng under jump
dw Bygel17
;P I T
dw 253,124,263,130
dw Bygel7
dw 228,132,238,138
dw Bygel6
dw 205,140,215,146
dw Bygel5
;Utg†ng Offroad
dw 25,310,35,320
dw Bygel8
;H”ger och V„nster R”r
dw 25,435,35,445
dw Bygel3
dw 263,435,273,445
dw Bygel4
;Sidelanes
dw 5,455,15,465
dw Bygel1
dw 284,455,294,465
dw Bygel2
;Spring Invalid
dw 300,480,320,500
dw Open2
dw 305,512,320,576 ;Spring Valid
dw Bygel28
dw 0
AreaLista_U label word
dw 145,13,180,35
dw Bygel10 ;”vre loop
dw 295,50,320,60 ;nedsl„pp
dw nedslapp
dw 120,64,150,78
dw Bygel12 ;Jump
dw 1,250,20,290
dw Bygel11 ;nedre loop
dw 0
AREALISTA_L_T LABEL WORD
AREALISTA_U_T LABEL WORD
DW 0
level1lista label word
dw 160,40,195,70
; dw 295,50,320,70 ;nedsl„pp
dw 70,140,100,180
dw 295,200,320,250
dw 230,210,280,250
dw 100,270,130,360
dw 60,320,100,350
dw 260,450,277,470
dw 0,450,50,470
dw -1
level2lista label word
dw 70,115,100,140
dw 295,150,320,200
dw 245,170,290,200
dw 60,280,80,320
dw -1
;******************************************************************************
;************************ DEMO MODE LIGHT FLASHING ****************************
;******************************************************************************
FLASHLIST LABEL WORD
T1=5
T2=T1*10
DW 0,T1*0,T2,T2,42 ;BONUS
DW 0,T1*1,T2,T2,43
DW 0,T1*2,T2,T2,44
DW 0,T1*3,T2,T2,45
DW 0,T1*4,T2,T2,46
DW 0,T1*5,T2,T2,47
DW 0,T1*6,T2,T2,48
DW 0,T1*7,T2,T2,49
T2=10 ;BURNIN'
DW 0,0,T2,T2,16
DW 0,0,T2,T2,18
DW 0,T2,T2,T2,17
DW 0,0,T2,T2,19
DW 0,0,T2,T2,21
DW 0,T2,T2,T2,20
T2=12 ;P I T
DW 0,0,T2,T2,6
DW 0,0,T2,T2,8
DW 0,T2,T2,T2,7
T2=13 ;G E A R
DW 0,0,T2,T2,22
DW 0,T2,T2,T2,23
DW 0,0,T2,T2,24
DW 0,T2,T2,T2,25
T2=10 ;VŽXELLDAN
DW 0,0,T2,T2,26
DW 0,T2,T2,T2,27
DW 0,0,T2,T2,28
DW 0,T2,T2,T2,29
DW 0,0,T2,T2,30
DW 0,T2,T2,T2,31
T2=15 ;TŽNDSTIFT
DW 0,0,T2,T2,55
DW -1
;******************************************************************************
;**************************** LIGHT PALETTE DATA ******************************
;******************************************************************************
NOOFLIGHTS=67
LON1 DB 253 ;XBALL
DB 3
DB 77,0,0
DB 58,0,0
DB 95,0,0
LON2 DB 250 ;HOLDBONUS
DB 3
DB 77,0,0
DB 58,0,0
DB 95,0,0
LON3 DB 247 ;SUPER
DB 3
DB 77,0,0
DB 58,0,0
DB 95,0,0
LON4 DB 244 ;MB
DB 3
DB 58,0,0
DB 77,0,0
DB 95,0,0
LON14 DB 242 ;GET PART 3
DB 2
DB 95,77,0
DB 95,95,52
LON6 DB 240 ;P
DB 2
DB 58,58,58
DB 95,95,95
LON7 DB 238 ;I
DB 2
DB 58,58,58
DB 95,95,95
LON8 DB 236 ;T
DB 2
DB 58,58,58
DB 95,95,95
LON9 DB 234 ;GOAL
DB 2
DB 95,95,95
DB 58,58,58
LON10 DB 232 ;GET PART 5
DB 2
DB 95,77,0
DB 95,95,52
LON11 DB 230 ;GET PART 1
DB 2
DB 95,77,0
DB 95,95,52
LON12 DB 228 ;GET PART 4
DB 2
DB 95,77,0
DB 95,95,52
LON13 DB 226 ;GET PART 2
DB 2
DB 95,77,0
DB 95,95,52
LON5 DB 224 ;JUMP
DB 2
DB 70,70,70
DB 95,95,95
LON15 DB 221 ;JP
DB 3
DB 77,0,0
DB 58,0,0
DB 95,0,0
LON16 DB 219 ;B
DB 2
DB 70,70,70
DB 95,95,95
LON17 DB 217 ;U
DB 2
DB 70,70,70
DB 95,95,95
LON18 DB 215 ;R
DB 2
DB 70,70,70
DB 95,95,95
LON19 DB 213 ;N
DB 2
DB 27,64,39
DB 14,83,72
LON20 DB 211 ;I
DB 2
DB 27,64,39
DB 14,83,72
LON21 DB 209 ;N'
DB 2
DB 27,64,39
DB 14,83,72
LON22 DB 207 ;G
DB 2
DB 58,0,0
DB 95,0,0
LON23 DB 205 ;E
DB 2
DB 58,0,0
DB 95,0,0
LON24 DB 203 ;A
DB 2
DB 58,0,0
DB 95,0,0
LON25 DB 201 ;R
DB 2
DB 58,0,0
DB 95,0,0
LON26 DB 199 ;VŽXEL 1
DB 2
DB 95,89,0
DB 95,95,52
LON27 DB 197 ;VŽXEL 2
DB 2
DB 95,89,0
DB 95,95,52
LON28 DB 195 ;VŽXEL 3
DB 2
DB 95,89,0
DB 95,95,52
LON29 DB 193 ;VŽXEL 4
DB 2
DB 95,89,0
DB 95,95,52
LON30 DB 191 ;VŽXEL 5
DB 2
DB 95,89,0
DB 95,95,52
LON31 DB 189 ;VŽXEL 6
DB 2
DB 95,89,0
DB 95,95,52
LON41 DB 188 ;POS 1
DB 1
DB 95,95,52
LON40 DB 187 ;POS 2
DB 1
DB 95,95,52
LON39 DB 186 ;POS 3
DB 1
DB 95,89,0
LON38 DB 185 ;POS 4
DB 1
DB 95,89,0
LON37 DB 184 ;POS 5
DB 1
DB 95,77,0
LON36 DB 183 ;POS 6
DB 1
DB 95,77,0
LON35 DB 182 ;POS 7
DB 1
DB 58,58,83
LON34 DB 181 ;POS 8
DB 1
DB 58,58,83
LON33 DB 180 ;POS 9
DB 1
DB 70,39,64
LON32 DB 179 ;POS 10
DB 1
DB 70,39,64
LON42 DB 177 ;BONUS X2
DB 2
DB 58,0,0
DB 95,0,0
LON43 DB 175 ;BONUS X3
DB 2
DB 58,0,0
DB 95,0,0
LON44 DB 173 ;BONUS X4
DB 2
DB 58,0,0
DB 95,0,0
LON45 DB 171 ;BONUS X5
DB 2
DB 58,0,0
DB 95,0,0
LON46 DB 169 ;BONUS X6
DB 2
DB 58,0,0
DB 95,0,0
LON47 DB 167 ;BONUS X7
DB 2
DB 58,0,0
DB 95,0,0
LON48 DB 165 ;BONUS X8
DB 2
DB 58,0,0
DB 95,0,0
LON49 DB 163 ;BONUS X9
DB 2
DB 58,0,0
DB 95,0,0
LON53 DB 162 ;MOTOR
DB 1
DB 95,0,0
LON50 DB 160 ;KJOLAR
DB 2
DB 58,0,0
DB 95,0,0
LON51 DB 158 ;FJŽDRING
DB 2
DB 58,0,0
DB 95,0,0
LON54 DB 156 ;RATT
DB 2
DB 58,0,0
DB 95,0,0
LON52 DB 154 ;SPOJLER VINGE
DB 2
DB 58,0,0
DB 95,0,0
LON55 DB 153 ;TŽNDSTIFT
DB 1
DB 95,0,0
LON56 DB 152-1 ;speedometer
DB 2
DB 58,58,58
DB 95,95,95
LON57 DB 150-1 ;speedometer
DB 2
DB 58,58,58
DB 95,95,95
LON58 DB 148-1 ;speedometer
DB 2
DB 58,58,58
DB 95,95,95
LON59 DB 146-1 ;speedometer
DB 2