forked from historicalsource/wwf-wrestlemania
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CROWD.ASM
executable file
·1195 lines (976 loc) · 22.2 KB
/
CROWD.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
**************************************************************
*
* Software: Jason Skiles
* Initiated: 28 Apr 94
*
* COPYRIGHT (C) 1993 WILLIAMS ELECTRONICS GAMES, INC.
*
*.Last mod - 4/28/94 22:12
**************************************************************
.file "crowd.asm"
.title "crowd stuff"
.width 132
.option b,d,l,t
.mnolist
.include "mproc.equ" ;Mproc equates
.include "display.equ" ;Display proc equates
.include "gsp.equ" ;Gsp asm equates
.include "sys.equ"
.include "game.equ"
.include "audit.equ"
.include "macros.h"
.include "link.equ"
.include "sound.h"
.INCLUDE "SOUND.EQU"
.include "crowdimg.tbl"
.include "crowdimg.glo"
.include "bgndtbl.glo"
.include "imgtbl.glo"
#*****************************************************************************
.ref BAKLST,RNDRNG0,RNDPER,START_FLASHES,no_debris,reduce_bog
#*****************************************************************************
DEF_ANISPD equ 8
SPD_FOREVER equ 7FFFh
CROWD_OBJS equ 0h
CROWD_NORMANIM equ 20h
CROWD_CHEERANIM equ 40h
CANI_GOTO equ 0 + 8000h
CANI_RNDWAIT equ 1 + 8000h
CANI_END equ 2 + 8000H
CANI_CODE EQU 3 + 8000H
CANI_REPEAT EQU 4 + 8000H
CANI_SHOULD_REPEAT EQU 5 + 8000H
*STRUCT BOBJANIM
SCPTR .set 000 ;UHL script pointer (next instruction)
TIME .set 020h ;UHW time to hold
FRAME .set 030h ;UHL current obj
CHEER1 .set 050h ;UHL cheer1 jump point
CHEER2 .set 070h ;UHL cheer2 jump point
REPEAT_P .SET 090H ;UHL REPEAT POINT TO JUMP BACK TO
REPEAT_N .SET 0B0H ;UHW REPEAT THIS NUMBER OF TIMES
*ENDSTRUCT
BSIZE equ REPEAT_N+10h
NUMCROWD equ 30
HICROWDZ equ 58/2 ;high z (after shift)
BSSX CROWDDATA,(NUMCROWD+1)*BSIZE
BSSX crowd_process,32
#*****************************************************************************
* Main crowd control process
*
;NOTE: The background stuff is doing SOMETHING with ODXOFF and ODYOFF, so
; I'm storing anim points in OXVEL and OYVEL instead. Those seem safe.
SUBR crowd_anim
move a13,@crowd_process,L
;initialize
movi NUMCROWD,a0
movi CROWD_ANIMS,a1
movi CROWDDATA,a2
#initloop
move *a1+,a3,L
move *a3+,a14,W
move a14,*a2(TIME),W
move *a3+,a14,L
move a14,*a2(FRAME),L
move a3,*a2(SCPTR),L
move *a1+,a14,L
move a14,*a2(CHEER1),L
move *a1+,a14,L
move a14,*a2(CHEER2),L
CLR A14
MOVE A14,*A2(REPEAT_P),L
MOVE A14,*A2(REPEAT_N)
addi BSIZE,a2
dsj a0,#initloop
clr a14
move a14,*a2(SCPTR),L
#main_loop
;if we're in reduce_bog mode, sleep until someone wakes us up.
movk 1,a0
move @reduce_bog,a14
jrz #slp
movi 7FFFh,a0
#slp SLEEPR a0
;update CROWDDATA
movi CROWDDATA-BSIZE,a4
#cd_loop
addi BSIZE,a4
move *a4(SCPTR),a14,L
jrz #cd_done
callr animate_back
jruc #cd_loop
SUBR animate_back
move *a4(TIME),a14,W
dec a14
jrz #next_command
move a14,*a4(TIME),W
MOVK 1,A14
rets
#next_command
move *a4(SCPTR),a5,L
#next_in_the_QUEUE
move *a5+,a14,W
jrn #cani_command
move a14,*a4(TIME),W
move *a5+,a14,L
move a14,*a4(FRAME),L
move a5,*a4(SCPTR),L
;You think a simple CLR would do the job here? Try it. I dare you.
MOVK 1,A14
DEC A14
rets
#cani_command
andi 7FFFh,a14
X32 a14
addi #cani_commands,a14
move *a14,a14,L
jump a14
#cani_commands
.long #_goto
.long #_rndwait
.LONG #_END_ANIM
.LONG #_CODE
.LONG #_RANDOM_REPEAT
.LONG #_SHOULD_WE_WE_REPEAT
**********
#_CODE
MOVE *A5+,A0,L
MMTM SP,A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A14
CALL A0
MMFM SP,A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A14
jruc #next_in_the_QUEUE
#_END_ANIM
MOVI -1,A14
RETS
#_goto
move *a5+,a5,L
move a5,*a4(SCPTR),L
jruc #next_command
**********
#_rndwait
move *a5+,a0,W
calla RNDRNG0
move a0,*a4(TIME),W
move a5,*a4(SCPTR),L
rets
#_RANDOM_REPEAT
MOVE *A5+,A0
MOVE A5,*A4(REPEAT_P),L
CALLA RNDRNG0
MOVE A0,*A4(REPEAT_N)
jruc #next_in_the_QUEUE
#_SHOULD_WE_WE_REPEAT
MOVE *A4(REPEAT_N),A0
DEC A0
MOVE A0,*A4(REPEAT_N)
JRZ REACHED_LAST_LOOP
JRN REACHED_LAST_LOOP
MOVE *A4(REPEAT_P),*A4(SCPTR),L
MOVE *A4(REPEAT_P),A5,L
jruc #next_in_the_QUEUE
REACHED_LAST_LOOP
CLR A0
MOVE A0,*A4(REPEAT_N)
jruc #next_in_the_QUEUE
#cd_done
.ref PCNT
move @PCNT,a14
btst 0,a14
jrz #main_loop
;update BAKLST
move @BAKLST,a8,L
#bakloop
move *a8(OZPOS),a0,W
srl 1,a0
jrc #bakskip
cmpi HICROWDZ,a0
jrgt #bakskip
move a0,a1
X64 a1
X128 a0
add a1,a0
addi CROWDDATA,a0
move *a0(FRAME),a0,L
move *a8(OIMG),a1,L
cmp a0,a1
jreq #bakskip
; callr anibobj
move *a8(OCTRL),a1,W
move *a8(OXPOS),a2,W
move *a8(OXVEL),a3,W
move *a0(IANIOFFX),a4,W
clr a5
btst B_FLIPH,a1
jrz #noflip
;obj is horz-flipped. negate the Xanim point and adjust X pos
; by XSZold-XSZnew
neg a4
move *a8(OSIZEX),a5,W
move *a0(ISIZEX),a14,W
sub a14,a5
#noflip
add a3,a2
sub a4,a2
add a5,a2
move a2,*a8(OXPOS),W
move a4,*a8(OXVEL),W
move *a8(OYPOS),a2,W
move *a8(OYVEL),a3,W
move *a0(IANIOFFY),a4,W
add a3,a2
sub a4,a2
move a2,*a8(OYPOS),W
move a4,*a8(OYVEL),W
move a0,a2
move a1,a3
move a2,*a8(OIMG),L
move *a2(0),*a8(OSIZE),L
move *a2(ISAG),*a8(OSAG),L
setf 5,0,0
move *a2(ICTRL+7),*a8(OCTRL+7) ;Write 5 z comp bits
; setf 6,0,0
; move a3,*a8(OCTRL) ;Write 6 low bits
setf 16,1,0
#bakskip
move *a8,a8,L
jrnz #bakloop
jruc #main_loop
;crowd anim starting points
CROWD_ANIMS
.long #jasoncrd_norm, #jasoncrd_cheer1,#jasoncrd_cheer2
.long #tonycrd_norm, #tonycrd_cheer1 ,#tonycrd_cheer1
.long #vogel_norm, #vogel_cheer1 ,#vogel_cheer2
.long #tobias_norm, #tobias_cheer1 ,#tobias_cheer2
.long #alex_norm, #alex_cheer1 ,#alex_cheer2
.long #marine_norm, #marine_cheer1 ,#marine_cheer2
.long #jake_norm, #jake_cheer1 ,#jake_cheer2
.long #johnc_norm, #johnc_cheer1 ,#johnc_cheer2
.long #dewey_norm, #dewey_cheer1 ,#dewey_cheer2
.long #jason_norm, #jason_cheer1 ,#jason_cheer2
.long #jamie_norm, #jamie_cheer1 ,#jamie_cheer2
.long #sheridan_norm, #sheridan_cheer1,#sheridan_cheer2
.long #sal_norm, #sal_cheer1 ,#sal_cheer2
.long #josh_norm, #josh_cheer1 ,#josh_cheer2
.long #mark_norm, #mark_cheer1 ,#mark_cheer1
.long #tony_norm, #tony_cheer1 ,#tony_cheer2
.long #carlos_norm, #carlos_cheer1 ,#carlos_cheer2
.long #newc_norm, #newc_cheer1 ,#newc_cheer2
.long #joy_norm, #joy_cheer1 ,#joy_cheer1
.long #side1_norm, #side1_cheer1 ,#side1_cheer1
.long #side2_norm, #side2_cheer1 ,#side2_cheer1
.long #side3_norm, #side3_cheer1 ,#side3_cheer1
.long #george_norm, #george_cheer1 ,#george_cheer1
.long #dave_norm, #dave_cheer1 ,#dave_cheer1
.long #sophia_norm, #sophia_cheer1 ,#sophia_cheer2
.long #mancow_norm, #mancow_cheer1 ,#mancow_cheer2
.long #jak2_norm, #jak2_cheer1 ,#jak2_cheer2
.long #eugene_norm, #eugene_cheer1 ,#eugene_cheer2
.long #penacho_norm, #penacho_cheer1 ,#penacho_cheer2
.long #jenni_norm, #jenni_cheer1 ,#jenni_cheer2
**********
* SOPHIA
#SOPHIA_SPD equ 7
#sophia_norm
WL SPD_FOREVER,SOFI1
WL CANI_GOTO,#sophia_norm
#sophia_cheer1
WL #SOPHIA_SPD,SOFI2
WL #SOPHIA_SPD,SOFI3
WL #SOPHIA_SPD,SOFI4
WL #SOPHIA_SPD,SOFI3
WL #SOPHIA_SPD,SOFI2
WL CANI_GOTO,#sophia_norm
#sophia_cheer2
WL #SOPHIA_SPD,SOFI2
.WORD CANI_REPEAT,4
WL #SOPHIA_SPD,SOFI3
WL #SOPHIA_SPD,SOFI4
.WORD CANI_SHOULD_REPEAT
WL #SOPHIA_SPD,SOFI3
WL #SOPHIA_SPD,SOFI2
WL CANI_GOTO,#sophia_norm
**********
* MANCOW
#MANCOW_SPD equ 6
#mancow_norm
WL SPD_FOREVER,MANC1
WL CANI_GOTO,#mancow_norm
#mancow_cheer1
WL #MANCOW_SPD,MANC2
WL #MANCOW_SPD,MANC3
WL #MANCOW_SPD,MANC4
WL #MANCOW_SPD,MANC5
WL #MANCOW_SPD,MANC4
WL #MANCOW_SPD,MANC3
WL #MANCOW_SPD,MANC2
WL CANI_GOTO,#mancow_norm
#mancow_cheer2
WL #MANCOW_SPD,MANC2
.WORD CANI_REPEAT,6
WL #MANCOW_SPD,MANC3
WL #MANCOW_SPD,MANC4
WL #MANCOW_SPD,MANC5
WL #MANCOW_SPD,MANC4
.WORD CANI_SHOULD_REPEAT
WL #MANCOW_SPD,MANC3
WL #MANCOW_SPD,MANC2
WL CANI_GOTO,#mancow_norm
**********
* JAK
#JAK_SPD equ 7
#jak2_norm
WL SPD_FOREVER,JAK1
WL CANI_GOTO,#jak2_norm
#jak2_cheer1
WL #JAK_SPD,JAK2
WL #JAK_SPD,JAK3
WL #JAK_SPD,JAK4
WL #JAK_SPD+3,JAK5
WL #JAK_SPD,JAK4
WL #JAK_SPD,JAK3
WL #JAK_SPD,JAK2
WL CANI_GOTO,#jak2_norm
#jak2_cheer2
WL #JAK_SPD,JAK2
.WORD CANI_REPEAT,7
WL #JAK_SPD,JAK3
WL #JAK_SPD,JAK4
WL #JAK_SPD+3,JAK5
WL #JAK_SPD,JAK4
.WORD CANI_SHOULD_REPEAT
WL #JAK_SPD,JAK3
WL #JAK_SPD,JAK2
WL CANI_GOTO,#jak2_norm
**********
* EUGENE
#EUGENE_SPD equ 7
#eugene_norm
WL SPD_FOREVER,EUG1
WL CANI_GOTO,#eugene_norm
#eugene_cheer1
WL #EUGENE_SPD,EUG2
WL #EUGENE_SPD,EUG3
WL #EUGENE_SPD,EUG4
WL #EUGENE_SPD,EUG3
WL #EUGENE_SPD,EUG2
WL CANI_GOTO,#eugene_norm
#eugene_cheer2
WL #EUGENE_SPD,EUG2
.WORD CANI_REPEAT,3
WL #EUGENE_SPD,EUG3
WL #EUGENE_SPD,EUG4
.WORD CANI_SHOULD_REPEAT
WL #EUGENE_SPD,EUG3
WL #EUGENE_SPD,EUG2
WL CANI_GOTO,#eugene_norm
**********
* JENNI
#JENNI_SPD equ 7
#jenni_norm
WL SPD_FOREVER,JENI1
WL CANI_GOTO,#jenni_norm
#jenni_cheer1
WL #JENNI_SPD,JENI2
WL #JENNI_SPD,JENI3
WL #JENNI_SPD,JENI4
WL #JENNI_SPD,JENI3
WL #JENNI_SPD,JENI2
WL CANI_GOTO,#jenni_norm
#jenni_cheer2
WL #JENNI_SPD,JENI2
.WORD CANI_REPEAT,3
WL #JENNI_SPD,JENI3
WL #JENNI_SPD,JENI4
.WORD CANI_SHOULD_REPEAT
WL #JENNI_SPD,JENI3
WL #JENNI_SPD,JENI2
WL CANI_GOTO,#jenni_norm
**********
* PENACHO
#PENACHO_SPD equ 7
#penacho_norm
WL SPD_FOREVER,PENA1
WL CANI_GOTO,#penacho_norm
#penacho_cheer1
WL #PENACHO_SPD,PENA2
WL #PENACHO_SPD,PENA3
WL #PENACHO_SPD,PENA4
WL #PENACHO_SPD,PENA3
WL #PENACHO_SPD,PENA2
WL CANI_GOTO,#penacho_norm
#penacho_cheer2
.WORD CANI_REPEAT,4
WL #PENACHO_SPD,PENA2
WL #PENACHO_SPD,PENA3
WL #PENACHO_SPD,PENA4
WL #PENACHO_SPD,PENA3
.WORD CANI_SHOULD_REPEAT
WL #PENACHO_SPD,PENA2
WL CANI_GOTO,#penacho_norm
**********
* Alex
#ALEX_SPD equ 6
#alex_norm
WL SPD_FOREVER,ALEX1
WL CANI_GOTO,#alex_norm
#alex_cheer1
WL #ALEX_SPD,ALEX2
WL #ALEX_SPD,ALEX3
WL #ALEX_SPD,ALEX4
WL #ALEX_SPD,ALEX2
WL CANI_GOTO,#alex_norm
#alex_cheer2
WL #ALEX_SPD,ALEX2
WL #ALEX_SPD,ALEX3
.WORD CANI_REPEAT,7
WL #ALEX_SPD,ALEX4
WL #ALEX_SPD,ALEX3
.WORD CANI_SHOULD_REPEAT
WL #ALEX_SPD,ALEX2
WL CANI_GOTO,#alex_norm
**********
* Carlos
#CARLOS_SPD equ 7
#carlos_norm
WL SPD_FOREVER,CARLO1
WL CANI_GOTO,#carlos_norm
#carlos_cheer1
WL #CARLOS_SPD,CARLO2
WL #CARLOS_SPD,CARLO3
WL #CARLOS_SPD,CARLO4
WL #CARLOS_SPD,CARLO2
WL CANI_GOTO,#carlos_norm
#carlos_cheer2
WL #CARLOS_SPD,CARLO2
WL #CARLOS_SPD,CARLO3
WL #CARLOS_SPD,CARLO4
.WORD CANI_REPEAT,7
WL #CARLOS_SPD,CARLO3
WL #CARLOS_SPD,CARLO4
.WORD CANI_SHOULD_REPEAT
WL #CARLOS_SPD,CARLO2
WL CANI_GOTO,#carlos_norm
**********
* Dave
#DAVE_SPD equ 8
#dave_norm
WL SPD_FOREVER,DAVEMSK1
WL CANI_GOTO,#dave_norm
#dave_cheer1
WL #DAVE_SPD,DAVEMSK2
WL #DAVE_SPD,DAVEMSK3
WL #DAVE_SPD,DAVEMSK4
WL #DAVE_SPD,DAVEMSK3
WL #DAVE_SPD,DAVEMSK2
WL CANI_GOTO,#dave_norm
#dave_cheer2
.WORD CANI_REPEAT,7
WL #DAVE_SPD,DAVEMSK2
WL #DAVE_SPD,DAVEMSK3
.WORD CANI_SHOULD_REPEAT
WL #DAVE_SPD,DAVEMSK4
WL #DAVE_SPD,DAVEMSK3
WL #DAVE_SPD,DAVEMSK2
WL CANI_GOTO,#dave_norm
**********
* Dewey
#DEWEY_SPD equ 7
#dewey_norm
WL #DEWEY_SPD,DEWY1
.word CANI_RNDWAIT,TSEC*10
WL #DEWEY_SPD,DEWY2
WL #DEWEY_SPD,DEWY3
WL #DEWEY_SPD,DEWY4
WL #DEWEY_SPD,DEWY3
WL #DEWEY_SPD,DEWY2
WL CANI_GOTO,#dewey_norm
#dewey_cheer1
WL #DEWEY_SPD,DEWY1
WL #DEWEY_SPD,DEWY2
WL #DEWEY_SPD,DEWY3
WL #DEWEY_SPD,DEWY4
WL #DEWEY_SPD,DEWY3
WL #DEWEY_SPD,DEWY2
WL CANI_GOTO,#dewey_norm
#dewey_cheer2
WL #DEWEY_SPD,DEWY1
.WORD CANI_REPEAT,7
WL #DEWEY_SPD,DEWY2
WL #DEWEY_SPD,DEWY3
WL #DEWEY_SPD,DEWY4
WL #DEWEY_SPD,DEWY3
WL #DEWEY_SPD,DEWY2
WL #DEWEY_SPD,DEWY3
WL #DEWEY_SPD,DEWY4
WL #DEWEY_SPD,DEWY3
.WORD CANI_SHOULD_REPEAT
WL #DEWEY_SPD,DEWY2
WL CANI_GOTO,#dewey_norm
**********
* George
#GEORGE_SPD equ 8
#george_norm
WL #GEORGE_SPD,GEORGE1
.word CANI_RNDWAIT,TSEC*4
WL #GEORGE_SPD,GEORGE2
WL #GEORGE_SPD,GEORGE3
WL #GEORGE_SPD,GEORGE4
WL #GEORGE_SPD,GEORGE3
WL #GEORGE_SPD,GEORGE2
WL CANI_GOTO,#george_norm
#george_cheer1
.WORD CANI_REPEAT,2
WL #GEORGE_SPD,GEORGE1
WL #GEORGE_SPD,GEORGE2
WL #GEORGE_SPD,GEORGE3
WL #GEORGE_SPD,GEORGE4
WL #GEORGE_SPD,GEORGE3
WL #GEORGE_SPD,GEORGE2
.WORD CANI_SHOULD_REPEAT
WL CANI_GOTO,#george_norm
**********
* Jake
#JAKE_SPD equ 8
#jake_norm
WL SPD_FOREVER,JAKE1
WL CANI_GOTO,#jake_norm
#jake_cheer1
WL #JAKE_SPD,JAKE2
WL #JAKE_SPD,JAKE3
WL #JAKE_SPD,JAKE4
WL #JAKE_SPD,JAKE2
WL CANI_GOTO,#jake_norm
#jake_cheer2
WL #JAKE_SPD,JAKE2
.WORD CANI_REPEAT,4
WL #JAKE_SPD,JAKE3
WL #JAKE_SPD,JAKE4
.WORD CANI_SHOULD_REPEAT
WL #JAKE_SPD,JAKE2
WL CANI_GOTO,#jake_norm
**********
* Jamie
#JAMIE_SPD equ 5
#jamie_norm
WL SPD_FOREVER,JAMIE1
WL CANI_GOTO,#jamie_norm
#jamie_cheer1
WL #JAMIE_SPD,JAMIE2
WL #JAMIE_SPD,JAMIE3
WL #JAMIE_SPD,JAMIE4
WL #JAMIE_SPD,JAMIE5
WL #JAMIE_SPD,JAMIE6
WL CANI_GOTO,#jamie_norm
#jamie_cheer2
.WORD CANI_REPEAT,7
WL #JAMIE_SPD,JAMIE2
WL #JAMIE_SPD,JAMIE3
.WORD CANI_SHOULD_REPEAT
WL #JAMIE_SPD,JAMIE4
WL #JAMIE_SPD,JAMIE5
WL #JAMIE_SPD,JAMIE6
WL CANI_GOTO,#jamie_norm
**********
* Jason
#JASON_SPD equ 6
#jason_norm
WL SPD_FOREVER,SERG1
WL CANI_GOTO,#jason_norm
#jason_cheer1
WL #JASON_SPD,SERG2
WL #JASON_SPD,SERG3
WL #JASON_SPD,SERG4
WL #JASON_SPD,SERG5
WL #JASON_SPD,SERG4
WL #JASON_SPD,SERG3
WL #JASON_SPD,SERG2
WL CANI_GOTO,#jason_norm
#jason_cheer2
WL #JASON_SPD,SERG2
WL #JASON_SPD,SERG3
.WORD CANI_REPEAT,7
WL #JASON_SPD,SERG4
WL #JASON_SPD,SERG5
WL #JASON_SPD,SERG4
WL #JASON_SPD,SERG3
.WORD CANI_SHOULD_REPEAT
WL #JASON_SPD,SERG2
WL CANI_GOTO,#jason_norm
**********
* Jason crowd
#JCROWD_SPD equ 8
#jasoncrd_norm
WL SPD_FOREVER,JASONCRD1
WL CANI_GOTO,#jasoncrd_norm
#jasoncrd_cheer1
WL #JCROWD_SPD,JASONCRD2
WL #JCROWD_SPD,JASONCRD3
WL #JCROWD_SPD,JASONCRD4
WL #JCROWD_SPD,JASONCRD5
WL CANI_GOTO,#jasoncrd_norm
#jasoncrd_cheer2
WL #JCROWD_SPD,JASONCRD2
WL #JCROWD_SPD,JASONCRD3
.WORD CANI_REPEAT,7
WL #JCROWD_SPD,JASONCRD4
WL #JCROWD_SPD,JASONCRD5
.WORD CANI_SHOULD_REPEAT
WL CANI_GOTO,#jasoncrd_norm
**********
* JohnC
#JOHNC_SPD equ 8
#johnc_norm
WL SPD_FOREVER,JOHNC1
WL CANI_GOTO,#johnc_norm
#johnc_cheer1
WL #JOHNC_SPD,JOHNC2
WL #JOHNC_SPD,JOHNC3
WL #JOHNC_SPD*3,JOHNC4
WL #JOHNC_SPD,JOHNC3
WL #JOHNC_SPD,JOHNC2
WL CANI_GOTO,#johnc_norm
#johnc_cheer2
WL #JOHNC_SPD,JOHNC2
WL #JOHNC_SPD,JOHNC3
WL #JOHNC_SPD,JOHNC4
WL #JOHNC_SPD,JOHNC3
WL #JOHNC_SPD*3,JOHNC4
WL #JOHNC_SPD,JOHNC3
WL #JOHNC_SPD,JOHNC2
WL CANI_GOTO,#johnc_norm
**********
* Josh
#JOSH_SPD equ 7
#josh_norm
WL SPD_FOREVER,JOSH1
WL CANI_GOTO,#josh_norm
#josh_cheer1
WL #JOSH_SPD,JOSH2
WL #JOSH_SPD,JOSH3
WL #JOSH_SPD,JOSH4
WL #JOSH_SPD,JOSH3
WL #JOSH_SPD,JOSH4
WL #JOSH_SPD,JOSH2
WL CANI_GOTO,#josh_norm
#josh_cheer2
WL #JOSH_SPD,JOSH2
WL #JOSH_SPD,JOSH3
WL #JOSH_SPD,JOSH4
.WORD CANI_REPEAT,6
WL #JOSH_SPD,JOSH3
WL #JOSH_SPD,JOSH4
.WORD CANI_SHOULD_REPEAT
WL #JOSH_SPD,JOSH2
WL CANI_GOTO,#josh_norm
**********
* Joy (side crowd)
#JOY_SPD equ 8
#joy_norm
WL SPD_FOREVER,JOY1
WL CANI_GOTO,#joy_norm
#joy_cheer1
WL #JOY_SPD,JOY1
WL #JOY_SPD,JOY2
WL #JOY_SPD,JOY3
WL #JOY_SPD,JOY4
WL #JOY_SPD,JOY5
WL #JOY_SPD,JOY4
WL #JOY_SPD,JOY3
WL CANI_GOTO,#joy_norm
**********
* Marine
#MARINE_SPD equ 8
#marine_norm
WL SPD_FOREVER,MARINE1
WL CANI_GOTO,#marine_norm
#marine_cheer1
WL #MARINE_SPD,MARINE2
WL #MARINE_SPD,MARINE3
WL #MARINE_SPD,MARINE4
WL #MARINE_SPD,MARINE2
WL CANI_GOTO,#marine_norm
#marine_cheer2
WL #MARINE_SPD,MARINE2
.WORD CANI_REPEAT,6
WL #MARINE_SPD,MARINE3
WL #MARINE_SPD,MARINE4
.WORD CANI_SHOULD_REPEAT
WL #MARINE_SPD,MARINE3
WL #MARINE_SPD,MARINE2
WL CANI_GOTO,#marine_norm
**********
* Mark
#MARK_SPD equ 8
#mark_norm
WL SPD_FOREVER,TURMEL1
WL CANI_GOTO,#mark_norm
#mark_cheer1
WL #MARK_SPD,TURMEL2
WL #MARK_SPD,TURMEL3
WL 20,TURMEL4
WL #MARK_SPD,TURMEL3
WL #MARK_SPD,TURMEL2
WL CANI_GOTO,#mark_norm
**********
* Newc
#NEWC_SPD equ 9
#newc_norm
WL SPD_FOREVER,NEWCOM1
WL CANI_GOTO,#newc_norm
#newc_cheer1
WL #NEWC_SPD,NEWCOM2
WL #NEWC_SPD,NEWCOM3
WL #NEWC_SPD,NEWCOM4
WL #NEWC_SPD,NEWCOM3
WL #NEWC_SPD,NEWCOM4
WL #NEWC_SPD,NEWCOM3
WL #NEWC_SPD,NEWCOM2
WL CANI_GOTO,#newc_norm
#newc_cheer2
WL #NEWC_SPD,NEWCOM2
.WORD CANI_REPEAT,6
WL #NEWC_SPD,NEWCOM3
WL #NEWC_SPD,NEWCOM4
.WORD CANI_SHOULD_REPEAT
WL #NEWC_SPD,NEWCOM2
WL CANI_GOTO,#newc_norm
**********
* Sal
#SAL_SPD equ 8
#sal_norm
WL SPD_FOREVER,SAL1
WL CANI_GOTO,#sal_norm
#sal_cheer1
WL #SAL_SPD,SAL2
WL #SAL_SPD,SAL3
WL #SAL_SPD,SAL4
WL #SAL_SPD,SAL3
WL #SAL_SPD,SAL4
WL #SAL_SPD,SAL3
WL #SAL_SPD,SAL2
WL CANI_GOTO,#sal_norm
#sal_cheer2
WL #SAL_SPD,SAL2
.WORD CANI_REPEAT,7
WL #SAL_SPD,SAL3
WL #SAL_SPD,SAL4
.WORD CANI_SHOULD_REPEAT
WL #SAL_SPD,SAL2
WL CANI_GOTO,#sal_norm
**********
* Sheridan
#SHERIDAN_SPD equ 8
#sheridan_norm
WL 1,SHERID1
.word CANI_RNDWAIT,TSEC*20
WL #SHERIDAN_SPD,SHERID6
WL #SHERIDAN_SPD,SHERID7
WL #SHERIDAN_SPD*2,SHERID8
WL #SHERIDAN_SPD,SHERID7
WL #SHERIDAN_SPD,SHERID6
WL CANI_GOTO,#sheridan_norm
#sheridan_cheer1
WL #SHERIDAN_SPD,SHERID1
WL #SHERIDAN_SPD,SHERID2
WL #SHERIDAN_SPD,SHERID3
WL #SHERIDAN_SPD,SHERID4
WL #SHERIDAN_SPD,SHERID5
WL #SHERIDAN_SPD,SHERID6
WL #SHERIDAN_SPD,SHERID7
WL #SHERIDAN_SPD*2,SHERID8
WL #SHERIDAN_SPD,SHERID7
WL #SHERIDAN_SPD,SHERID6
WL CANI_GOTO,#sheridan_norm
#sheridan_cheer2
WL #SHERIDAN_SPD,SHERID1
WL #SHERIDAN_SPD,SHERID2
WL #SHERIDAN_SPD,SHERID3
.WORD CANI_REPEAT,3
WL #SHERIDAN_SPD,SHERID4
WL #SHERIDAN_SPD,SHERID5
.WORD CANI_SHOULD_REPEAT
WL CANI_GOTO,#sheridan_norm
**********
* Side crowd
#SDCRD_SPD equ 8
#side1_norm
WL SPD_FOREVER,SDCRD1A
WL CANI_GOTO,#side1_norm
#side1_cheer1
WL #SDCRD_SPD,SDCRD2A
WL #SDCRD_SPD,SDCRD3A
WL #SDCRD_SPD,SDCRD4A
WL #SDCRD_SPD,SDCRD3A
WL #SDCRD_SPD,SDCRD2A
WL CANI_GOTO,#side1_norm
#side2_norm
WL SPD_FOREVER,SDCRD1B
WL CANI_GOTO,#side2_norm
#side2_cheer1
WL #SDCRD_SPD,SDCRD2B
WL #SDCRD_SPD,SDCRD3B
WL #SDCRD_SPD,SDCRD4B
WL #SDCRD_SPD,SDCRD3B
WL #SDCRD_SPD,SDCRD2B
WL CANI_GOTO,#side2_norm