forked from bruddog/Tecmo_Super_Bowl_NES_Disassembly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bank8_scene_scripts.asm
1901 lines (1659 loc) · 185 KB
/
bank8_scene_scripts.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
.BASE $A000
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; SCENE SCRIPTS SEASON SCENES ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
_F{_SEASON_SCENE_SCRIPT_POINTER_TABLE
.WORD NFL_LEADERS_SCREEN_SCRIPT ; 0x00 NFL LEADERS
.WORD LEADING_PASSERS_QB_IMAGE_SCENE_SCRIPT ; 0x01 LEADING PASSERS IMAGE
.WORD LEADING_PASSERS_SCENE_SCRIPT ; 0x02 LEADING PASSERS TEXT
.WORD LEADING_PASSERS_HEADERS_SCENE_SCRIPT ; 0x03 LEADING PASSERS TEXT
.WORD LEADING_RECIVERS_SCENE_SCRIPT ; 0x04 LEADING RECIEVERS
.WORD LEADING_RUSHERS_SCENE_SCRIPT ; 0x05 LEADING RUSHERS
.WORD LEADING_SCORERS_SCENE_SCRIPT ; 0x06 LEADING SCORERS
.WORD LEADING_PUNTERS_SCENE_SCRIPT ; 0x07 LEADING PUNTERS
.WORD INTERCEPTION_LEADERS_SCENE_SCRIPT ; 0x08 INTERCEPTION LEADERS
.WORD SACK_LEADERS_SCENE_SCRIPT ; 0x09 SACK LEADERS
.WORD PUNT_RETURN_LEADERS_SCENE_SCRIPT ; 0x0A LEADING PR
.WORD KICK_RETURN_LEADERS_SCENE_SCRIPT ; 0x0B LEADING KR
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x0C IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x0D IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x0E IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x0F IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x10 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x11 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x12 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x13 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x14 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x15 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x16 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x17 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x18 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x19 IMMEDIATE END
.WORD UNUSED_BANK8_SCREEN_SCRIPT ; 0x1A IMMEDIATE END
.WORD SCOREBOARD_ALL_QTR_SCENE_SCRIPT ; 0x1B TEAM + SCOREBOARD ALL QTR SCORES
.WORD SKP_SCOREBOARD_BLANK_SCENE_SCRIPT ; 0x1C TEAM + SCOREBOARD NO QTR SCORES
.WORD SKP_SCOREBOARD_FIRST_QTR_SCENE_SCRIPT ; 0x1D Q1 + TOTAL SCORES SKP MODE SCOREBOARD *** not used
.WORD SKP_SCOREBOARD_SECOND_QTR_SCENE_SCRIPT ; 0x1E Q2 + TOTAL SCORES SKP MODE SCOREBOARD *** not used
.WORD SKP_SCOREBOARD_THIRD_QTR_SCENE_SCRIPT ; 0x1F Q3 + TOTAL SCORES SKP MODE SCOREBOARD *** not used
.WORD SKP_SCOREBOARD_FOURTH_QTR_SCENE_SCRIPT ; 0x20 Q4 + TOTAL SCORES SKP MODE SCOREBOARD THEN BLANK OUT SCOREBOARD *** not used
.WORD SCORE_BOARD_FIRST_QTR_FADE_OUT_SCENE_SCRIPT ; 0x21 TEAM + SCOREBOARD 1ST QTR SCORES
.WORD SCORE_BOARD_SECOND_QTR_FADE_OUT_SCENE_SCRIPT ; 0x22 TEAM + SCOREBOARD THRU 2ND QTR SCORES
.WORD SCORE_BOARD_THIRD_QTR_FADE_OUT_SCENE_SCRIPT ; 0x23 TEAM + SCOREBOARD THRU 3RD QTR SCORES
.WORD UNUSED_TWO_BANK8_SCREEN_SCRIPT ; 0x24 IMMEDIATE END
.WORD UNUSED_TWO_BANK8_SCREEN_SCRIPT ; 0x25 IMMEDIATE END
.WORD RECOVERED_FROM_INJURY_SCENE_SCRIPT ; 0x26 RECOVERED SCREEN
.WORD COIN_TOSS_INTRO_SCENE_SCRIPT ; 0x27 COIN TOSS INTRO
.WORD HOME_WINS_COIN_TOSS_SCRIPT ; 0x28 COIN TOSS P1 WINS
.WORD AWAY_WINS_COIN_TOSS_SCRIPT ; 0x29 COIN TOSS P2 WINS
.WORD HOME_CHOOSE_KICK_RECV_SCENE_SCRIPT ; 0x2A CHOOSE RETURN OR KICKOFF TEXT P1
.WORD AWAY_CHOOSE_KICK_RECV_SCENE_SCRIPT ; 0x2B CHOOSE RETURN OR KICKOFF TEXT P2
.WORD HOME_WINS_COIN_TOSS_SCENE_SCRIPT ; 0x2C COIN TOSS P1 WINS
.WORD AWAY_WINS_COIN_TOSS_SCENE_SCRIPT ; 0x2D COIN TOSS P2 WINS
.WORD P1_MAKES_KICK_REC_CHOICE_SCRIPT ; 0x2E
.WORD P2_MAKES_KICK_REC_CHOICE_SCRIPT ; 0x2F
.WORD KICKOFF_SCOREBOARD_AND_FLAGS_SCENE_SCRIPT ; 0x30
.WORD OT_COIN_TOSS_HOME_WINS_SCENE_SCRIPT ; 0x31 OT COIN TOSS P1 WINS
.WORD OT_COIN_TOSS_AWAY_WINS_SCENE_SCRIPT ; 0x32 OT COIN TOSS P2 WINS
.WORD UNUSED_THREE_BANK8_SCREEN_SCRIPT ; 0x33 IMMEDIATE END
.WORD PRESEASON_LARGE_TEXT_SCREEN_SCRIPT ; 0x34 PRESEASON LARGE TEXT
.WORD PROBOWL_LARGE_TEXT_SCREEN_SCRIPT ; 0x35 PRO BOWL LARGE TEXT
.WORD REG_SEASON_FIRST_WEEK_SCREEN_SCRIPT ; 0x36 REGULAR SEASON 1ST WEEK
.WORD REG_SEASON_SECOND_WEEK_SCREEN_SCRIPT ; 0x37 REGULAR SEASON 2ND WEEK
.WORD REG_SEASON_THIRD_WEEK_SCREEN_SCRIPT ; 0x38 REGULAR SEASON 3RDWEEK
.WORD REG_SEASON_FOURTH_WEEK_SCREEN_SCRIPT ; 0x39 REGULAR SEASON 4TH WEEK
.WORD REG_SEASON_FIFTH_WEEK_SCREEN_SCRIPT ; 0x3A REGULAR SEASON 5TH WEEK
.WORD REG_SEASON_SIXTH_WEEK_SCREEN_SCRIPT ; 0x3B REGULAR SEASON 6THWEEK
.WORD REG_SEASON_SEVENTH_WEEK_SCREEN_SCRIPT ; 0x3C REGULAR SEASON 7TH WEEK
.WORD REG_SEASON_EIGHTH_WEEK_SCREEN_SCRIPT ; 0x3D REGULAR SEASON 8TH WEEK
.WORD REG_SEASON_NINTH_WEEK_SCREEN_SCRIPT ; 0x3E REGULAR SEASON 9TH WEEK
.WORD REG_SEASON_TENTH_WEEK_SCREEN_SCRIPT ; 0x3F REGULAR SEASON 10TH WEEK
.WORD REG_SEASON_ELEVENTH_WEEK_SCREEN_SCRIPT ; 0x40 REGULAR SEASON 11TH WEEK
.WORD REG_SEASON_TWELTH_WEEK_SCREEN_SCRIPT ; 0x41 REGULAR SEASON 12TH WEEK
.WORD REG_SEASON_THIRTEENTH_WEEK_SCREEN_SCRIPT ; 0x42 REGULAR SEASON 13TH WEEK
.WORD REG_SEASON_FOURTEENTH_WEEK_SCREEN_SCRIPT ; 0x43 REGULAR SEASON 14TH WEEK
.WORD REG_SEASON_FIFTHTEENTH_WEEK_SCREEN_SCRIPT ; 0x44 REGULAR SEASON 15TH WEEK
.WORD REG_SEASON_SIXTHTEENTH_WEEK_SCREEN_SCRIPT ; 0x45 REGULAR SEASON 16TH WEEK
.WORD REG_SEASON_SEVENTEENTH_WEEK_SCREEN_SCRIPT ; 0x46 REGULAR SEASON 17TH WEEK
.WORD REG_SEASON_EIGHTEENTH_WEEK_SCREEN_SCRIPT ; 0x47 REGULAR SEASON 18TH WEEK
.WORD REG_SEASON_WEEK_TEXT_SCREEN_SCRIPT ; 0x48 REGULAR SEASON WEEK SMALL
.WORD UNUSED_FOUR_BANK8_SCREEN_SCRIPT ; 0x49 IMMEDIATE END
.WORD UNUSED_FOUR_BANK8_SCREEN_SCRIPT ; 0x4A IMMEDIATE END
.WORD UNUSED_FOUR_BANK8_SCREEN_SCRIPT ; 0x4B IMMEDIATE END
.WORD SKP_MODE_NO_OT_BLUE_SCREEN_SCENE_SCRIPT ; 0x4C DRAW SCORES SMALL
.WORD SKP_MODE_OT_BLUE_SCREEN_SCENE_SCRIPT ; 0x4D DRAW SCORES SMALL
.WORD NO_OT_BLUE_SCREEN_SCENE_SCRIPT ; 0x4E FINAL SCOREBOARD
.WORD OT_BLUE_SCREEN_SCENE_SCRIPT ; 0x4F FINAL SCOREBOARD OT
.WORD UNUSED_FIVE_BANK8_SCREEN_SCRIPT ; 0x50 IMMEDIATE END *** bug should point afc first rd
.WORD UNUSED_FIVE_BANK8_SCREEN_SCRIPT ; 0x51 IMMEDIATE END *** bug should point nfc first rd
.WORD AFC_FIRST_ROUND_SCENE_SCRIPT ; 0x52 AFC FIRST ROUND PLAYOFF
.WORD NFC_FIRST_ROUND_SCENE_SCRIPT ; 0x53 NFC FIRST ROUND PLAYOFF
.WORD UNUSED_SIX_BANK8_SCREEN_SCRIPT ; 0x54 IMMEDIATE END *** bug should point afc divis
.WORD UNUSED_SIX_BANK8_SCREEN_SCRIPT ; 0x55 IMMEDIATE END *** bug should point nfc divis
.WORD AFC_DIVISIONAL_SCENE_SCRIPT ; 0x56 AFC DIVISIONAL PLAYOFF
.WORD NFC_DIVISIONAL_SCENE_SCRIPT ; 0x57 NFC DIVISIONAL PLAYOFF
.WORD AFC_CHAMPIONSHIP_SCENE_SCRIPT ; 0x58 AFC CHAMPIONSHIP
.WORD NFC_CHAMPIONSHIP_SCENE_SCRIPT ; 0x59 NFC CHAMPIONSHIP
.WORD SUPERBOWL_MATCHUP_SCREEN_SCENE_SCRIPT ; 0x5A SUPER BOWL
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x5B IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x5C IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x5D IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x5E IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x5F IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x60 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x61 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x62 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x63 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x64 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x65 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x66 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x67 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x68 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x69 IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x6A IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x6B IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x6C IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x6D IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x6E IMMEDIATE END
.WORD UNUSED_SEVEN_BANK8_SCREEN_SCRIPT ; 0x6F IMMEDIATE END
_F}_SEASON_SCENE_SCRIPT_POINTER_TABLE
_F{_BRACKET_HIGHLIGHTING_SCRIPT_POINTER_TABLE
START_OF_BRACKET_HIGHLIGHTING_PTRS:
.WORD AFC_WILDCARD_TWO_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x70
.WORD AFC_WILDCARD_TWO_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD NFC_WILDCARD_TWO_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x72
.WORD NFC_WILDCARD_TWO_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD AFC_WILDCARD_ONE_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x74
.WORD AFC_WILDCARD_ONE_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD NFC_WILDCARD_ONE_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x76
.WORD NFC_WILDCARD_ONE_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD AFC_DIVISIONAL_TWO_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x78
.WORD AFC_DIVISIONAL_TWO_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD NFC_DIVISIONAL_TWO_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x7A
.WORD NFC_DIVISIONAL_TWO_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD AFC_DIVISIONAL_ONE_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x7C
.WORD AFC_DIVISIONAL_ONE_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD NFC_DIVISIONAL_ONE_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x7E
.WORD NFC_DIVISIONAL_ONE_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD AFC_CHAMPIONSHIP_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x80
.WORD AFC_CHAMPIONSHIP_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD NFC_CHAMPIONSHIP_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x82
.WORD NFC_CHAMPIONSHIP_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
.WORD SUPER_BOWL_HOME_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT ; 0x82
.WORD SUPER_BOWL_AWAY_WIN_LINE_HIGHLIGHT_SCREEN_SCRIPT
_F}_BRACKET_HIGHLIGHTING_SCRIPT_POINTER_TABLE
_F{_NFL_LEADERS_MAIN_MENU_SCREEN_SCRIPT
NFL_LEADERS_SCREEN_SCRIPT: ; 0x00 NFL LEADERS MENU
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $F7, $3C ; DRAW BG (NFL PA FOOTBALL)
.DB $F9, $01, $7F ; CLEAR SPRITES
.DB $A8, $61, $08 ; SET PPU ADDR =$2061 DRAW TOP LEFT EDGE OF MENU BORDER TILE
.DB $A8, $7E, $09 ; SET PPU ADDR =$207E DRAW TOP RIGHT EDGE OF MENU BORDER TILE
.DB $AB, $61, $0A ; SET PPU ADDR =$2361 DRAW BOT LEFT EDGE OF MENU BORDER TILE
.DB $AB, $7E, $0B ; SET PPU ADDR =$237E DRAW BOT RIGHT EDGE OF MENU BORDER TILE
.DB $90, $81, $17, $0C ; SET PPU ADDR =$2081 DRAW LEFT MENU BORDER LINE (23 TILES TILE ID =0C)
.DB $90, $9E, $17, $0E ; SET PPU ADDR =$209E DRAW RIGHT MENU BORDER LINE (23 TILES TILE ID =0E)
.DB $98, $74, $0A, $0D ; SET PPU ADDR =$2074 DRAW TOP MENU BORDER LINE (23 TILES TILE ID =0D
.DB $9B, $62, $1C, $0F ; SET PPU ADDR =$2362 DRAW BOT MENU BORDER LINE (23 TILES TILE ID =0F)
.DB $88, $62 ; SET PPU ADDR =$2062
.DB "INDIVIDUAL LEADERS" ;
.DB $B1 ; DOWN 2 ROWS
.DB "PASSING RECEIVING RUSHING"
.DB $B5 ; DOWN 6 ROWS
.DB "SCORING" ;
.DB $B5 ; DOWN 6 ROWS
.DB "INTERCEPTIONS SACKS"
.DB $B5 ; DOWN 6 ROWS
.DB "PUNT RETURNS KICKOFF RETURNS"
.DB $89, $77 ; SET PPU ADDR =$2177
.DB "PUNTING" ;
.DB $80, $C4, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $20C4 = PASSING, DO-> DRAW NFL,AFC NFC CHOICES
.DB $80, $CE, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $20CE = RECEIVING, DO-> DRAW NFL,AFC NFC CHOICES
.DB $80, $D9, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $20D9 = RUSHING, DO-> DRAW NFL,AFC NFC CHOICES
.DB $81, $84, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $2184 = SCORING, DO-> DRAW NFL,AFC NFC CHOICES
.DB $81, $99, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $2199 = PUNTING, DO-> DRAW NFL,AFC NFC CHOICES
.DB $82, $44, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $2244 = INTERECEPTIONS, DO-> DRAW NFL,AFC NFC CHOICES
.DB $82, $59, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $2259 = SACKS, DO-> DRAW NFL,AFC NFC CHOICES
.DB $83, $06, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $2306 = PUNT RETURNS, DO-> DRAW NFL,AFC NFC CHOICES
.DB $83, $14, <NFL_AFC_NFC_LEADERS_TEXT_SCRIPT, >NFL_AFC_NFC_LEADERS_TEXT_SCRIPT ; SET PPU ADDR = $2314 = KICK RETURNS, DO-> DRAW NFL,AFC NFC CHOICES
.DB $83, $C8, <ATRR_VALS_ONE_MAIN_LEADERS_SCREEN, >ATRR_VALS_ONE_MAIN_LEADERS_SCREEN ; SET PPU ADDR = $23C8 = INDIVIDUAL LEADERS, DO->SET ATTRIBUTE TABLE VALUES 1
.DB $83, $D0, <ATRR_VALS_TWO_MAIN_LEADERS_SCREEN, >ATRR_VALS_TWO_MAIN_LEADERS_SCREEN ; SET PPU ADDR = $23D0 = SCORING DO->SET ATTRIBUTE TABLE VALUES 2
.DB $83, $D5, <ATRR_VALS_TWO_MAIN_LEADERS_SCREEN, >ATRR_VALS_TWO_MAIN_LEADERS_SCREEN ; SET PPU ADDR = $23D5 = PUNTING DO->SET ATTRIBUTE TABLE VALUES 2
.DB $83, $E0, <ATRR_VALS_ONE_MAIN_LEADERS_SCREEN, >ATRR_VALS_ONE_MAIN_LEADERS_SCREEN ; SET PPU ADDR = $23E0 = INTEERCEPTIONS, DO->SET ATTRIBUTE TABLE VALUES 1
.DB $83, $E8, <ATRR_VALS_THREE_MAIN_LEADERS_SCREEN, >ATRR_VALS_THREE_MAIN_LEADERS_SCREEN ; SET PPU ADDR = $23E8 = INTEERCEPTIONS, DO->SET ATTRIBUTE TABLE VALUES 3
.DB $EB, $13, $24 ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $DD, $03 ; START OR END BLINKING PALLETE(PAL INDEX) DOESN'T DO ANYTHING HERE UNNEEDED
.DB $FF ; END
NFL_AFC_NFC_LEADERS_TEXT_SCRIPT: ; DRAW NFL,AFC NFC CHOICES
.DB $03, "NFL" ; LENGTH + TEXT
.DB $A1 ; DOWN ONE ROW
.DB $03, "AFC" ; LENGTH + TEXT
.DB $A1 ; DOWN ONE ROW
.DB $03, "NFC" ; LENGTH + TEXT
.DB $FF ; END
ATRR_VALS_ONE_MAIN_LEADERS_SCREEN: ; SET ATTRIBUTE TABLE VALUES 1
; LENGTH + ATTRIBS
.DB $08, $04, $05, $05, $05, $05, $05, $05, $01
.DB $FF ; END
ATRR_VALS_TWO_MAIN_LEADERS_SCREEN: ; SET ATTRIBUTE TABLE VALUES 2
.DB $03, $40, $50, $10 ;
.DB $FF ; END
ATRR_VALS_THREE_MAIN_LEADERS_SCREEN: ; SET ATTRIBUTE TABLE VALUES 3
.DB $08, $40, $50, $50, $50, $50, $50, $50, $10
.DB $FF ; END
_F}_NFL_LEADERS_MAIN_MENU_SCREEN_SCRIPT
_F{_LEADING_PASSERS_MENU_SCREEN_SCRIPT
LEADING_PASSERS_QB_IMAGE_SCENE_SCRIPT: ; 0x01 DRAW LEADING PASSERS SCREEN
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $F9, $01, $69 ; DRAW SPRITE (QB SILOUHETTE)
.DB $84, $CC, <PASSING_LEADER_MENU_SCRIPT, >PASSING_LEADER_MENU_SCRIPT ; SET PPU ADDR = $24CC AND DRAW RATINGS FILTER MENU
.DB $FD, <ATTR_VALUE_PASSING_LEADER_SCRIPT, >ATTR_VALUE_PASSING_LEADER_SCRIPT ; DO->ATTRIBUTE VALUES FOR LEADING PASSER SCREEN
.DB $EB, $23, $26 ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FB, $3C ; WAIT 61 FRAMES
.DB $FD, <DRAW_AFC_NFC_OR_NFL_SCRIPT, >DRAW_AFC_NFC_OR_NFL_SCRIPT ; DO->DRAW NFL,AFC,OR NFC ABBREVIATION
.DB "LEADING PASSERS" ;
.DB $80, $42, <DRAW_THREE_STARS_LEFT_SIDE_SCRIPT, >DRAW_THREE_STARS_LEFT_SIDE_SCRIPT ;SET PPU ADDR = $2042,DO->3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $80, $5A, <DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT, >DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT ; SET PPU ADDR = $205A,DO->3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $FF ; END
ATTR_VALUE_PASSING_LEADER_SCRIPT: ; ATTRIBUTE VALUES FOR LEADING PASSER SCREEN
.DB $83, $CB, <ATTR_VALUE_ONE_PASSING_LEADER, >ATTR_VALUE_ONE_PASSING_LEADER ; SET PPU ADDR = $23CB, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 1
.DB $83, $D3, <ATTR_VALUE_ONE_PASSING_LEADER, >ATTR_VALUE_ONE_PASSING_LEADER ; SET PPU ADDR = $23D3, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 1
.DB $83, $DB, <ATTR_VALUE_ONE_PASSING_LEADER, >ATTR_VALUE_ONE_PASSING_LEADER ; SET PPU ADDR = $23DB, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 1
.DB $83, $E3, <ATTR_VALUE_ONE_PASSING_LEADER, >ATTR_VALUE_ONE_PASSING_LEADER ; SET PPU ADDR = $23E3, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 1
.DB $83, $EB, <ATTR_VALUE_ONE_PASSING_LEADER, >ATTR_VALUE_ONE_PASSING_LEADER ; SET PPU ADDR = $23EB, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 1
.DB $83, $F3, <ATTR_VALUE_ONE_PASSING_LEADER, >ATTR_VALUE_ONE_PASSING_LEADER ; SET PPU ADDR = $23F3, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 1
.DB $87, $C9, <ATTR_VALUE_TWO_PASSING_LEADER, >ATTR_VALUE_TWO_PASSING_LEADER ; SET PPU ADDR = $27C9, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 2
.DB $87, $D1, <ATTR_VALUE_TWO_PASSING_LEADER, >ATTR_VALUE_TWO_PASSING_LEADER ; SET PPU ADDR = $27D1, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 2
.DB $87, $D9, <ATTR_VALUE_TWO_PASSING_LEADER, >ATTR_VALUE_TWO_PASSING_LEADER ; SET PPU ADDR = $27D9, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 2
.DB $87, $E1, <ATTR_VALUE_TWO_PASSING_LEADER, >ATTR_VALUE_TWO_PASSING_LEADER ; SET PPU ADDR = $27E1, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 2
.DB $87, $E9, <ATTR_VALUE_TWO_PASSING_LEADER, >ATTR_VALUE_TWO_PASSING_LEADER ; SET PPU ADDR = $27E9, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 2
.DB $87, $F1, <ATTR_VALUE_TWO_PASSING_LEADER, >ATTR_VALUE_TWO_PASSING_LEADER ; SET PPU ADDR = $27F1, DO->ATTRIBUTE VALUES PASSING LEADER SCREEN 2
.DB $FE
ATTR_VALUE_ONE_PASSING_LEADER: ; ATTRIBUTE VALUES PASSING LEADER SCREEN 1
.DB $05 ; LENGTH
.DB $04, $05, $00, $00, $00 ;
.DB $FF ; END
ATTR_VALUE_TWO_PASSING_LEADER: ; ATTRIBUTE VALUES PASSING LEADER SCREEN2
.DB $02 ; LENGTH
.DB $C0, $F0 ;
.DB $FF ; END
DRAW_AFC_NFC_OR_NFL_SCRIPT: ; DRAW NFL,AFC,OR NFC ABBREVIATION
.DB $88, $46 ; SET PPU ADDR = $2046
.DB $FA, $18 ; DRAW CONFERENCE/LEAGUE ABBREVAITION
.DB $88, $4A ; SET PPU ADDR = $204A
.DB $FE ; RETURN
LEADING_PASSERS_SCENE_SCRIPT: ; LEADING PASSERS TEXT
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CA ; CLEAR ALL NAMETABLES()
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $84, $CC, <PASSING_LEADER_MENU_SCRIPT, >PASSING_LEADER_MENU_SCRIPT ; DO->DRAW LEADING PASSER MENU
.DB $80, $42, <DRAW_THREE_STARS_LEFT_SIDE_SCRIPT, >DRAW_THREE_STARS_LEFT_SIDE_SCRIPT ; SET PPU ADDR = $2042,DO->3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $80, $5A, <DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT, >DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT ; SET PPU ADDR = $205A,DO->3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $80, $4A, <DRAW_LEADING_PASSERS_TEXT_SCRIPT, >DRAW_LEADING_PASSERS_TEXT_SCRIPT ; SET PPU ADDR = $204A,DO->DRAW LEADING PASSERS TEXT
.DB $FD, <DRAW_AFC_NFC_OR_NFL_SCRIPT, >DRAW_AFC_NFC_OR_NFL_SCRIPT ; DO->DRAW NFL,AFC,OR NFC ABBREVIATION
.DB $FD, <ATTR_VALUE_PASSING_LEADER_SCRIPT, >ATTR_VALUE_PASSING_LEADER_SCRIPT ; DO-> ATTRIBUTE VALUES FOR LEADING PASSER SCREEN
.DB $EB, $23, $26 ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FF ; END
LEADING_PASSERS_HEADERS_SCENE_SCRIPT: ; LEADING PASSERS MENU
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CA ; CLEAR ALL NAMETABLES()
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $84, $E0, <PASSING_LEADER_MENU_SCRIPT, >PASSING_LEADER_MENU_SCRIPT ; SET PPU ADDR = $24E0,DO->DRAW LEADING PASSER MENU
.DB $80, $42, <DRAW_THREE_STARS_LEFT_SIDE_SCRIPT, >DRAW_THREE_STARS_LEFT_SIDE_SCRIPT ; SET PPU ADDR = $2042,DO->3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $80, $5A, <DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT, >DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT ; SET PPU ADDR = $205A,DO->3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $80, $4A, <DRAW_LEADING_PASSERS_TEXT_SCRIPT, >DRAW_LEADING_PASSERS_TEXT_SCRIPT ; SET PPU ADDR = $204A,DO->DRAW LEADING PASSERS TEXT
.DB $FD, <DRAW_AFC_NFC_OR_NFL_SCRIPT, >DRAW_AFC_NFC_OR_NFL_SCRIPT ; DO->DRAW NFL,AFC,OR NFC ABBREVIATION
.DB $EB, $23, $26 ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FF ; END
DRAW_LEADING_PASSERS_TEXT_SCRIPT: ; DRAW LEADING PASSERS TEXT
.DB $0F ; LENGTH
.DB "LEADING PASSERS" ;
.DB $FF ; END
PASSING_LEADER_MENU_SCRIPT: ; DRAW LEADING PASSER MENU
.DB $08, $08, "PASSING" ; LENGTH, TOP LEFT CURVED TILE+ TEXT
.DB $84, $0D ; REPEAT 4 TIMES, TOP HORIZONNTAL LINE
.DB $01, $09 ; LENGTH, TOP-RIGHT ROUNDED TILE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH, LEFT VERTICAL LINE
.DB $EB ; FORWARD 12 TILES
.DB $01, $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $08, $0C, " RATING" ;
.DB $E4 ; FORWARD 5 TILES
.DB $01, $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH, LEFT VERTICAL LINE
.DB $EB ; FORWARD 12 TILES
.DB $01, $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $08, $0C, " COMP.", $C4 ;
.DB $E4 ; FORWARD 5 TILES
.DB $01, $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ;
.DB $EB ; FORWARD 12 TILES
.DB $01, $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $0D, $0C, " ATTEMPTS ", $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH, LEFT VERTICAL LINE
.DB $EB ; FORWARD 12 TILES
.DB $01, $0E ; LENGTH, RIGHT VERTICAL LINE
.DB $A1 ; DOWN 1 ROW
.DB $07, $0C, " COMP." ;
.DB $E5 ; FORWARD 6 TILES
.DB $01, $0E ; LENGTH, RIGHT VERTICAL LINE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH, LEFT VERTICAL LINE
.DB $EB ; FORWARD 12 TILES
.DB $01, $0E ; LENGTH, RIGHT VERTICAL LINE
.DB $A1 ; DOWN 1 ROW
.DB $07, $0C, " YARDS" ;
.DB $E5 ; FORWARD 6 TILES
.DB $01, $0E ; LENGTH, RIGHT VERTICAL LINE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH, LEFT VERTICAL LINE
.DB $EB ; FORWARD 12 TILES
.DB $01, $0E ; LENGTH, RIGHT VERTICAL LINE
.DB $A1 ; DOWN 1 ROW
.DB $0D, $0C, " YARDS", $C5, "ATT.", $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH, LEFT VERTICAL LINE
.DB $EB ; FORWARD 12 TILES
.DB $01, $0E ; LENGTH, RIGHT VERTICAL LINE
.DB $A1 ; DOWN 1 ROW
.DB $0D, $0C, " TD.PASSES ", $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH, LEFT VERTICAL LINE
.DB $EB ; FORWARD 12 TILES
.DB $01, $0E ; LENGTH, RIGHT VERTICAL LINE
.DB $A1 ; DOWN 1 ROW
.DB $0D, $0C, " LST.INT.", $C4, $00, $0E ;
.DB $A1 ; DOWN 1 ROW
.DB $01, $0A ; LENGTH, BOT LEFT CURVED TILE
.DB $8B, $0F ; REPEAT BOTTOM HORIZONTAL TILE, 15 TIMES
.DB $01, $0B ; LENGTH, BOT RIGHT CURVED TILE
.DB $FF ; END
_F}_LEADING_PASSERS_MENU_SCREEN_SCRIPT
_F{_LEADING_RECEIVERS_MENU_SCREEN_SCRIPT
LEADING_RECIVERS_SCENE_SCRIPT: ; 0x04 LEADING RECEIVERS SCREEN
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $8C, $C1 ; SET PPU ADDR = $24C1
.DB "RECEIVING" ;
.DB $8D, $02 ; SET PPU ADDR = $2502
.DB "RECEPTIONS" ;
.DB $8D, $42 ; SET PPU ADDR = $2542
.DB "YARDS" ;
.DB $8D, $82 ; SET PPU ADDR = $2582
.DB "YARDS" ;
.DB $8D, $88 ; SET PPU ADDR = $2588
.DB "RCT." ;
.DB $8D, $C2 ; SET PPU ADDR = $25C2
.DB "TOUCHDOWNS" ;
; DRAW RECEIVING MENU BOX
.DB $AC, $C0, $08 ; SET PPU ADDR = $24C0, TOP LEFT CURVED
.DB $AC, $CC, $09 ; SET PPU ADDR = $24CC, TOP RIGHT CURVED
.DB $AD, $E0, $0A ; SET PPU ADDR = $25E0, BOT LEFT CURVED
.DB $AD, $EC, $0B ; SET PPU ADDR = $25EC, BOT RIGHT CURVED
.DB $AD, $87, $C5 ; SET PPU ADDR = $2587, "/" TILE
.DB $94, $E0, $08, $0C ; SET PPU ADDR = $24E0, REPEAT DOWN 8 TIMES,LEFT VERT LINE
.DB $94, $EC, $08, $0E ; SET PPU ADDR = $24EC, REPEAT DOWN 8 TIMES,RIGHT VERT LINE
.DB $9C, $CA, $02, $0D ; SET PPU ADDR = $24CA, REPEAT ACROSS 2 TIMES,TOP HORIZONTAL LINE
.DB $9D, $E1, $0B, $0F ; SET PPU ADDR = $24EC, REPEAT ACROSS 11 TIMES,BOTTOM HORIZONTAL LINE
.DB $F9, $02, $6A, $68 ; DRAW 2 SPRITES(PLAYER CATCHING BLACK, BALL GOING TO PLAYER)
.DB $EB, $37, $4F ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $88, $45 ; SET PPU ADDR = $2045
.DB $FA, $18 ; DRAW CONFERENCE/LEAGUE ABBREVAITION
.DB $88, $49 ; SET PPU ADDR = $2049
.DB "LEADING RECEIVERS" ;
.DB $80, $41, <DRAW_THREE_STARS_LEFT_SIDE_SCRIPT, >DRAW_THREE_STARS_LEFT_SIDE_SCRIPT ; SET PPU ADDR = $2041,DO->3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $80, $5B, <DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT, >DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT ; SET PPU ADDR = $205A,DO->3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $FF
_F}_LEADING_RECEIVERS_MENU_SCREEN_SCRIPT
_F{_LEADERS_THREE_STARS_SCREEN_SCRIPTS
DRAW_THREE_STARS_LEFT_SIDE_SCRIPT: ; 3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $03 ; # OF TILES
.DB $C2, $C3, $C1 ; STAR2, STAR 3, STAR 1
.DB $FF ; END
DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT: ; 3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $03 ; # OF TILES
.DB $C1, $C3, $C2 ; STAR1, STAR 3, STAR 2
.DB $FF ; END
_F}_LEADERS_THREE_STARS_SCREEN_SCRIPTS
_F{_LEADING_RUSHERS_MENU_SCREEN_SCRIPT
LEADING_RUSHERS_SCENE_SCRIPT: ; 0x05 LEADING RUSHERS SCREEN
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $8C, $C1 ; SET PPU ADDR = $24C1
.DB "RUSHING" ;
.DB $8D, $02 ; SET PPU ADDR = $2502
.DB "YARDS" ;
.DB $8D, $42 ; SET PPU ADDR = $2542
.DB "ATTEMPTS" ;
.DB $8D, $82 ; SET PPU ADDR = $2582
.DB "YARDS" ;
.DB $8D, $88 ; SET PPU ADDR = $2588
.DB "ATT." ;
.DB $8D, $C2 ; SET PPU ADDR = $25C2
.DB "TOUCHDOWNS" ;
; DRAW RUSHING MENU BOX
.DB $AC, $C0, $08 ; SET PPU ADDR = $24C0, TOP LEFT CURVED
.DB $AC, $CC, $09 ; SET PPU ADDR = $24CC, TOP RIGHT CURVED
.DB $AD, $E0, $0A ; SET PPU ADDR = $25E0, BOT LEFT CURVED
.DB $AD, $EC, $0B ; SET PPU ADDR = $25EC, BOT RIGHT CURVED
.DB $AD, $87, $C5 ; SET PPU ADDR = $2587, "/" TILE
.DB $94, $E0, $08, $0C ; SET PPU ADDR = $24E0, REPEAT DOWN 8 TIMES,LEFT VERT LINE
.DB $94, $EC, $08, $0E ; SET PPU ADDR = $24EC, REPEAT DOWN 8 TIMES,RIGHT VERT LINE
.DB $9C, $C8, $04, $0D ; SET PPU ADDR = $24C8, REPEAT ACROSS 4 TIMES,TOP HORIZONTAL LINE
.DB $9D, $E1, $0B, $0F ; SET PPU ADDR = $24EC, REPEAT ACROSS 11 TIMES,BOTTOM HORIZONTAL LINE
.DB $83, $C0, <ATTR_VALUES_STARS_LEADERS_SCRIPT, >ATTR_VALUES_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C0,DO->ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $83, $C6, <ATTR_VALUES_STARS_LEADERS_SCRIPT, >ATTR_VALUES_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C6,DO->ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $F9, $01, $AD ; DRAW 1 SPRITE(LEADING RUSHER LARGE BLACK SILOUHETTE)
.DB $EB, $24, $27 ; SET BG AND SPR PAL AND SET TO FULLY FADED IN(BG,SPR)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $FD, <DRAW_AFC_NFC_OR_NFL_SCRIPT, >DRAW_AFC_NFC_OR_NFL_SCRIPT ; DO->DRAW NFL,AFC,OR NFC ABBREVIATION
.DB "LEADING RUSHERS"
.DB $80, $42, <DRAW_THREE_STARS_LEFT_SIDE_SCRIPT, >DRAW_THREE_STARS_LEFT_SIDE_SCRIPT ; SET PPU ADDR = $2042,DO->3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $80, $5A, <DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT, >DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT ; SET PPU ADDR = $205A,DO->3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $FF
_F}LEADING_RUSHERS_MENU_SCREEN_SCRIPT
_F{_LEADERS_THREE_STARS_ATTR_VALUES_SCREEN_SCRIPTS
ATTR_VALUES_STARS_LEADERS_SCRIPT: ; ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $02 ; LENGTH
.DB $40, $10 ;
.DB $FF ; END
_F}_LEADERS_THREE_STARS_COLORS_SCREEN_SCRIPTS
_F{_LEADING_SCORERS_SCENE_SCRIPT
LEADING_SCORERS_SCENE_SCRIPT: ; 0x06 LEADING SCORERS SCREEN
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $8C, $C1 ; SET PPU ADDR = $24C1
.DB "SCORING" ;
.DB $8D, $02 ; SET PPU ADDR = $2502
.DB "POINTS" ;
.DB $8D, $42 ; SET PPU ADDR = $2542
.DB "TOUCHDOWNS" ;
.DB $8D, $82 ; SET PPU ADDR = $2582
.DB "EXTRA PTS." ;
.DB $8D, $C2 ; SET PPU ADDR = $25C2
.DB "FG." ;
.DB $AC, $C0, $08 ; SET PPU ADDR = $24C0, TOP LEFT CURVED
.DB $AC, $CC, $09 ; SET PPU ADDR = $24CC, TOP RIGHT CURVED
.DB $AD, $E0, $0A ; SET PPU ADDR = $25E0, BOT LEFT CURVED
.DB $AD, $EC, $0B ; SET PPU ADDR = $25EC, BOT RIGHT CURVED
.DB $94, $E0, $08, $0C ; SET PPU ADDR = $24E0, REPEAT DOWN 8 TIMES,LEFT VERT LINE
.DB $94, $EC, $08, $0E ; SET PPU ADDR = $24EC, REPEAT DOWN 8 TIMES,RIGHT VERT LINE
.DB $9C, $C8, $04, $0D ; SET PPU ADDR = $24C8, REPEAT ACROSS 4 TIMES,TOP HORIZONTAL LINE
.DB $9D, $E1, $0B, $0F ; SET PPU ADDR = $24E1, REPEAT ACROSS 11 TIMES,BOTTOM HORIZONTAL LINE
.DB $83, $C0, <ATTR_VALUES_STARS_LEADERS_SCRIPT, >ATTR_VALUES_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C0,DO->ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $83, $C6, <ATTR_VALUES_STARS_LEADERS_SCRIPT, >ATTR_VALUES_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C6,DO->ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $F9, $02, $6B, $54 ; DRAW 2 SPRITES(KICKER SPRITE BLACK SILOUHETTER, BALL SPINNING)
.DB $EB, $25, $28 ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $FD, <DRAW_AFC_NFC_OR_NFL_SCRIPT, >DRAW_AFC_NFC_OR_NFL_SCRIPT ; DO->DRAW NFL,AFC,OR NFC ABBREVIATION
.DB "LEADING SCORERS" ;
.DB $80, $42, <DRAW_THREE_STARS_LEFT_SIDE_SCRIPT, >DRAW_THREE_STARS_LEFT_SIDE_SCRIPT ; SET PPU ADDR = $2042,DO->3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $80, $5A, <DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT, >DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT ; SET PPU ADDR = $205A,DO->3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $FF ; END
_F}_LEADING_SCORERS_SCENE_SCRIPT
_F{_LEADING_PUNTERS_SCENE_SCRIPT
LEADING_PUNTERS_SCENE_SCRIPT: ; 0x07 LEADING PUNTERS SCREEN
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $8C, $E1 ; SET PPU ADDR = $24E1
.DB "PUNTING" ;
.DB $8D, $22 ;
.DB "AVERAGE" ;
.DB $8D, $62 ;
.DB "PUNTS" ;
.DB $AC, $E0, $08 ; SET PPU ADDR = $24E0, TOP LEFT CURVED
.DB $AC, $EA, $09 ; SET PPU ADDR = $24EA, TOP RIGHT CURVED
.DB $AD, $80, $0A ; SET PPU ADDR = $2580, BOT LEFT CURVED
.DB $AD, $8A, $0B ; SET PPU ADDR = $258A, BOT RIGHT CURVED
.DB $95, $00, $04, $0C ; SET PPU ADDR = $2500, REPEAT DOWN 4 TIMES,LEFT VERT LINE
.DB $95, $0A, $04, $0E ; SET PPU ADDR = $250A, REPEAT DOWN 4 TIMES,RIGHT VERT LINE
.DB $9C, $E8, $02, $0D ; SET PPU ADDR = $24E8, REPEAT ACROSS 2 TIMES,TOP HORIZONTAL LINE
.DB $9D, $81, $09, $0F ; SET PPU ADDR = $2581, REPEAT ACROSS 9 TIMES,BOT HORIZONTAL LINE
.DB $83, $C0, <ATTR_VALUES_STARS_LEADERS_SCRIPT, >ATTR_VALUES_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C0,DO->ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $83, $C6, <ATTR_VALUES_STARS_LEADERS_SCRIPT, >ATTR_VALUES_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C6,DO->ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $F9, $02, $2F, $6C ; DRAW 2 SPRITES(BALL MIDDLE TO RIGHT,PUNTER SPRITE BLACK SILOUHETTE)
.DB $EB, $26, $29 ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $FD, <DRAW_AFC_NFC_OR_NFL_SCRIPT, >DRAW_AFC_NFC_OR_NFL_SCRIPT ; DO->DRAW NFL,AFC,OR NFC ABBREVIATION
.DB "LEADING PUNTERS" ;
.DB $80, $42, <DRAW_THREE_STARS_LEFT_SIDE_SCRIPT, >DRAW_THREE_STARS_LEFT_SIDE_SCRIPT ; SET PPU ADDR = $2042,DO->3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $80, $5A, <DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT, >DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT ; SET PPU ADDR = $205A,DO->3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $FF ; END
_F}_LEADING_PUNTERS_SCENE_SCRIPT
_F{_INTERCEPTION_LEADERS_SCENE_SCRIPT
INTERCEPTION_LEADERS_SCENE_SCRIPT: ; 0x08 INTERCEPTION LEADERS SCREEN
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $8C, $E1 ; SET PPU ADDR = $24E1
.DB "INTERCEPTION" ;
.DB $8D, $22 ; SET PPU ADDR = $2522
.DB "INT." ;
.DB $8D, $62 ; SET PPU ADDR = $2562
.DB "YARDS" ;
.DB $8D, $A2 ; SET PPU ADDR = $25A2
.DB "TOUCHDOWNS" ;
.DB $AC, $E0, $08 ; SET PPU ADDR = $24E0, TOP LEFT CURVED
.DB $AC, $EE, $09 ; SET PPU ADDR = $24EE, TOP RIGHT CURVED
.DB $AD, $C0, $0A ; SET PPU ADDR = $25C0, BOT LEFT CURVED
.DB $AD, $CE, $0B ; SET PPU ADDR = $25CE, BOT RIGHT CURVED
.DB $AC, $ED, $0D ; SET PPU ADDR = $25ED, TOP HORIZONTAL LINE
.DB $95, $00, $06, $0C ; SET PPU ADDR = $2500, REPEAT DOWN 6 TIMES,LEFT VERT LINE
.DB $95, $0E, $06, $0E ; SET PPU ADDR = $250E, REPEAT DOWN 6 TIMES,RIGHT VERT LINE
.DB $9D, $C1, $0D, $0F ; SET PPU ADDR = $25C1, REPEAT ACROSS 13 TIMES,BOT HORIZONTAL LINE
.DB $F9, $02, $57, $6D ; DRAW 2 SPRITES(BALL MIDDLE TO LEFT,DEFENDER LARGE BLACK SILOUHETTE)
.DB $EB, $27, $2A ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $88, $44 ; SET PPU ADDR = $2044
.DB $FA, $18 ; DRAW CONFERENCE/LEAGUE ABBREVAITION
.DB $88, $48 ; SET PPU ADDR = $2048
.DB "INTERCEPTION LEADERS" ;
.DB $A8, $42, $C2 ; SET PPU ADDR = $2042, DRAW STAR TILE
.DB $A8, $5D, $C2 ; SET PPU ADDR = $205D, DRAW STAR TILE
.DB $FF ; END
_F}_INTERCEPTION_LEADERS_SCENE_SCRIPT
_F{_SACK_LEADERS_SCENE_SCRIPT
SACK_LEADERS_SCENE_SCRIPT: ; 0X09 SACK LEADERSSCREEN
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $83, $C0, <ATTR_VALUES_STARS_LEADERS_SCRIPT, >ATTR_VALUES_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C0,DO->ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $83, $C6, <ATTR_VALUES_STARS_LEADERS_SCRIPT, >ATTR_VALUES_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C6,DO->ATTRIBUTE VALUES FOR COLORED STARS LEADERS SCREEN
.DB $F9, $01, $6E ; DRAW 1 SPRITE(SACK LARGE BLACK SILOUHETTE)
.DB $EB, $28, $2B ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $FD, <DRAW_AFC_NFC_OR_NFL_SCRIPT, >DRAW_AFC_NFC_OR_NFL_SCRIPT ; DO->DRAW NFL,AFC,OR NFC ABBREVIATION
.DB "LEADERS IN SACK" ;
.DB $80, $42, <DRAW_THREE_STARS_LEFT_SIDE_SCRIPT, >DRAW_THREE_STARS_LEFT_SIDE_SCRIPT ; SET PPU ADDR = $2042,DO->3 COLORED STARS FOR LEFT SIDE OF LEADERS SCREENS
.DB $80, $5A, <DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT, >DRAW_THREE_STARS_RIGHT_SIDE_SCRIPT ; SET PPU ADDR = $205A,DO->3 COLORED STARS FOR RIGHT SIDE OF LEADERS SCREENS
.DB $FF
_F}_SACK_LEADERS_SCENE_SCRIPT
_F{_PUNT_RETURN_LEADERS_SCENE_SCRIPT
PUNT_RETURN_LEADERS_SCENE_SCRIPT: ; 0X0A LEADING PR SCREEN
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $83, $C0, <ATTR_VALUES_TWO_STARS_LEADERS_SCRIPT, >ATTR_VALUES_TWO_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C0, DO-> ATTRIBUTE VALUE FOR TWO STARS
.DB $83, $C7, <ATTR_VALUES_TWO_STARS_LEADERS_SCRIPT, >ATTR_VALUES_TWO_STARS_LEADERS_SCRIPT ; SET PPU ADDR = $23C7, DO-> ATTRIBUTE VALUE FOR TWO STARS
.DB $F9, $01, $6F ; DRAW 1 SPRITE(KR/PR LARGE BLACK SILOUHETTE)
.DB $8C, $E1 ; SET PPU ADDR = $24E1
.DB "PR" ;
.DB $FD, <DRAW_RETURN_LEADERS_MENU_OFFSCREEN_SCRIPT, >DRAW_RETURN_LEADERS_MENU_OFFSCREEN_SCRIPT ; DO->DRAW RETURN LEADERS MENU OFFSCREEN
.DB $EB, $2A, $2D ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $88, $44 ; SET PPU ADDR = $2044
.DB $FA, $18 ; DRAW CONFERENCE/LEAGUE ABBREVAITION
.DB $88, $48 ; SET PPU ADDR = $2048
.DB "PUNT RETURN LEADERS" ;
.DB $80, $41, <DRAW_TWO_STARS_LEFT_SCRIPT, >DRAW_TWO_STARS_LEFT_SCRIPT ; SET PPU ADDR = $2041, DRAW TWO STARS 1
.DB $80, $5C, <DRAW_TWO_STARS_RIGHT_SCRIPT, >DRAW_TWO_STARS_RIGHT_SCRIPT ; SET PPU ADDR = $205C, DRAW TWO STARS 2
.DB $FF ; END
_F}_PUNT_RETURN_LEADERS_SCENE_SCRIPT
_F{_LEADERS_TWO_STARS_AND_ATTR_VALUES_SCREEN_SCRIPTS
DRAW_TWO_STARS_LEFT_SCRIPT: ; DRAW TWO STARS 1
.DB $02 ; LENGTH
.DB $C2, $C3 ; STAR (COLOR1), STAR COLOR 2
.DB $FF ; END
DRAW_TWO_STARS_RIGHT_SCRIPT: ; DRAW TWO STARS 1
.DB $02 ; LENGTH
.DB $C3, $C2 ; STAR (COLOR1), STAR COLOR 2
.DB $FF ; END
ATTR_VALUES_TWO_STARS_LEADERS_SCRIPT: ; ATTRIBUTE VALUE FOR RED STAR
.DB $01 ; LENGTH
.DB $50 ;
.DB $FF ; END
_F}_LEADERS_TWO_STARS_AND_ATTR_VALUES_SCREEN_SCRIPTS
_F{_KICK_RETURN_LEADERS_SCENE_SCRIPT
KICK_RETURN_LEADERS_SCENE_SCRIPT: ; DRAW KICK RETURN LEADERS SCREENS
.DB $ED ; SET BG AND SPR PAL TO FULLY FADED OUT
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $20, $2E ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $83, $C0, <ATRR_VALS_STAR_LEFT_SCRIPT, >ATRR_VALS_STAR_LEFT_SCRIPT ; SET PPU ADDR = $23C0, DO-> ATTRIBUTE VALUE FOR STARS LEFT SIDE
.DB $83, $C7, <ATRR_VALS_STAR_RIGHT_SCRIPT, >ATRR_VALS_STAR_RIGHT_SCRIPT ; SET PPU ADDR = $23C7, DO-> ATTRIBUTE VALUE FOR STARS RIGHT SIDE
.DB $F9, $01, $6F ; DRAW 1 SPRITE(KR/PR LARGE BLACK SILOUHETTE)
.DB $8C, $E1 ; SET PPU ADDR = $24E1
.DB "KR" ;
.DB $FD, <DRAW_RETURN_LEADERS_MENU_OFFSCREEN_SCRIPT, >DRAW_RETURN_LEADERS_MENU_OFFSCREEN_SCRIPT ; DO->DRAW RETURN LEADERS MENU OFFSCREEN
.DB $EB, $29, $2C ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG INDEX, SPR INDEX)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $88, $43 ; SET PPU ADDR = $2043
.DB $FA, $18 ; DRAW CONFERENCE/LEAGUE ABBREVAITION
.DB $88, $47 ; SET PPU ADDR = $2047
.DB "KICKOFF RETURN LEADERS" ;
.DB $A8, $41, $C2 ;
.DB $A8, $5E, $C2 ;
.DB $FF ; END
_F}_KICK_RETURN_LEADERS_SCENE_SCRIPT
_F{_RETURN_LEADERS_OFFSCREEN_MENU_SCENE_SCRIPT
DRAW_RETURN_LEADERS_MENU_OFFSCREEN_SCRIPT: ; DRAW RETURN LEADERS MENU OFFSCREEN
.DB $8D, $22 ; SET PPU ADDR = $2522
.DB "AVERAGE" ;
.DB $8D, $62 ; SET PPU ADDR = $2562 COULD HAVE USED DOWN ONE ROW COMMAND
.DB "YARDS" ;
.DB $8D, $A2 ; SET PPU ADDR = $25A2 COULD HAVE USED DOWN ONE ROW COMMAND
.DB "RETURNS" ;
.DB $8D, $E2 ; SET PPU ADDR = $25E2 COULD HAVE USED DOWN ONE ROW COMMAND
.DB "TOUCHDOWNS" ;
; DRAW MENU BOX FOR RETURN LEADERS
.DB $AC, $E0, $08 ; SET PPU ADDR = $24E0, TOP LEFT CURVED
.DB $AC, $EC, $09 ; SET PPU ADDR = $24EC, TOP RIGHT
.DB $AE, $00, $0A ; SET PPU ADDR = $2600, BOT LEFT CURVED
.DB $AE, $0C, $0B ; SET PPU ADDR = $260C, BOT RIGHT CURVED
.DB $95, $00, $08, $0C ; SET PPU ADDR = $2500, REPEAT DOWN 8 TIMES,LEFT VERT LINE
.DB $95, $0C, $08, $0E ; SET PPU ADDR = $250C, REPEAT DOWN 8 TIMES,RIGHT VERT LINE
.DB $9C, $E3, $09, $0D ; SET PPU ADDR = $24E3, REPEAT ACROSS 9 TIMES,TOP HORIZONTAL LINE
.DB $9E, $01, $0B, $0F ; SET PPU ADDR = $2601, REPEAT ACROSS 11 TIMES,BOTTOM HORIZONTAL LINE
.DB $FE ; RETURN
_F}_RETURN_LEADERS_OFFSCREEN_MENU_SCENE_SCRIPT
ATRR_VALS_STAR_LEFT_SCRIPT: ; ATTRIBUTE VALUE FOR STARS LEFT SIDE
.DB $01 ; LENGTH
.DB $10 ;
.DB $FF ; END
ATRR_VALS_STAR_RIGHT_SCRIPT: ; ATTRIBUTE VALUE FOR STARS RIGHT SIDE
.DB $01 ; LENGTH
.DB $40 ;
.DB $FF ; END
UNUSED_BANK8_SCREEN_SCRIPT:
.DB $FF ; END
_F{_SCOREBOARD_SCENE_SCRIPTS
SCOREBOARD_ALL_QTR_SCENE_SCRIPT: ; TEAM + SCOREBOARD ALL QTR SCORES
.DB $FD, <DRAW_SCOREBOARD_BG_SCRIPT, >DRAW_SCOREBOARD_BG_SCRIPT ; DO->DRAW SCOREBOARD BACKGROUND WITH TEAMS
.DB $FD, <DRAW_FIRST_QTR_SCORES_SCRIPT, >DRAW_FIRST_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q1 SCORES
.DB $FD, <DRAW_SECOND_QTR_SCORES_SCRIPT, >DRAW_SECOND_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q2 SCORES
.DB $FD, <DRAW_THIRD_QTR_SCORES_SCRIPT, >DRAW_THIRD_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q3 SCORES
.DB $FD, <DRAW_FOURTH_QTR_SCORES_SCRIPT, >DRAW_FOURTH_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q4 SCORES
.DB $FC, <DRAW_TOTAL_SCORE_FADE_OUT_SCRIPT, >DRAW_TOTAL_SCORE_FADE_OUT_SCRIPT ; JUMP->DRAW TOTAL SCORES WAIT ONE SECOND AND FADE OUT
SKP_SCOREBOARD_BLANK_SCENE_SCRIPT: ; TEAM + SCOREBOARD NO QTR SCORES
.DB $FD, <DRAW_SCOREBOARD_BG_SCRIPT, >DRAW_SCOREBOARD_BG_SCRIPT ; DO->DRAW SCOREBOARD BACKGROUND WITH TEAMS
.DB $F1 ; SET GAME STATUS AND PPUR MIRRORING TO HORIZONTAL
.DB $F8, $3B ; DRAW BG (TECMO SPORTS NEWS) OFFSCREEN
.DB $E5, $0D, $47 ; SAVE BG AND SPR PAL TO BUFFER AND FADE IN (BG, SPR)
.DB $FF ; END
SKP_SCOREBOARD_FIRST_QTR_SCENE_SCRIPT: ; DRAW Q1+ TOTAL SCORES SCOREBOARD SKP MODE
.DB $FD, <DRAW_FIRST_QTR_SCORES_SCRIPT, >DRAW_FIRST_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q1 SCORES
.DB $FC, <DRAW_TOTAL_SCORES_WAIT_TEN_FRAMES_SCRIPT, >DRAW_TOTAL_SCORES_WAIT_TEN_FRAMES_SCRIPT ; JUMP->DRAW TOTAL SCORES AND WAIT 10 FRAMES
SKP_SCOREBOARD_SECOND_QTR_SCENE_SCRIPT: ; DRAW Q2 +TOTAL SCORES SCOREBOARD SKP MODE
.DB $FD, <DRAW_SECOND_QTR_SCORES_SCRIPT, >DRAW_SECOND_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q2 SCORES
.DB $FC, <DRAW_TOTAL_SCORES_WAIT_TEN_FRAMES_SCRIPT, >DRAW_TOTAL_SCORES_WAIT_TEN_FRAMES_SCRIPT ; JUMP->DRAW TOTAL SCORES AND WAIT 10 FRAMES
SKP_SCOREBOARD_THIRD_QTR_SCENE_SCRIPT: ; DRAW Q3 +TOTAL SCORES SCOREBOARD SKP MODE
.DB $FD, <DRAW_THIRD_QTR_SCORES_SCRIPT, >DRAW_THIRD_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q3 SCORES
DRAW_TOTAL_SCORES_WAIT_TEN_FRAMES_SCRIPT: ; DRAW TOTAL SCORES AND WAIT 10 FRAMES
.DB $FD, <DRAW_TOTAL_SCORES_SCRIPT, >DRAW_TOTAL_SCORES_SCRIPT ; DO->DRAW SCOREBOARD TOTAL SCORES
.DB $FB, $0A ; WAIT 10 FRAMES = 1/6 SEC
.DB $FF ; END
SKP_SCOREBOARD_FOURTH_QTR_SCENE_SCRIPT: ; DRAW Q4 AND TOTAL SCORES, BLANK OUT SCOREBOARD
.DB $FD, <DRAW_FOURTH_QTR_SCORES_SCRIPT, >DRAW_FOURTH_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q4 SCORES
.DB $FD, <DRAW_TOTAL_SCORES_SCRIPT, >DRAW_TOTAL_SCORES_SCRIPT ; DO->DRAW SCOREBOARD TOTAL SCORES
.DB $FB, $0A ; WAIT 10 FRAMES = 1/6 SEC
.DB $A1, $8A, $03, $0B, $00 ; SET PPU ADDR = $218A, BLANK OUT SCOREBOARD
.DB $FF ; END
SCORE_BOARD_FIRST_QTR_FADE_OUT_SCENE_SCRIPT: ; 0X21 TEAM + SCOREBOARD 1ST QTR SCORES
.DB $FD, <DRAW_SCOREBOARD_BG_SCRIPT, >DRAW_SCOREBOARD_BG_SCRIPT ; DO->DRAW SCOREBOARD BACKGROUND WITH TEAMS
.DB $FD, <DRAW_FIRST_QTR_SCORES_SCRIPT, >DRAW_FIRST_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q1 SCORES
.DB $FC, <DRAW_TOTAL_SCORE_FADE_OUT_SCRIPT, >DRAW_TOTAL_SCORE_FADE_OUT_SCRIPT ; JUMP-> DRAW TOTAL SCORES WAIT ONE SECOND AND FADE OUT
SCORE_BOARD_SECOND_QTR_FADE_OUT_SCENE_SCRIPT: ; 0X22 TEAM + SCOREBOARD THRU 2ND QTR SCORES
.DB $FD, <DRAW_SCOREBOARD_BG_SCRIPT, >DRAW_SCOREBOARD_BG_SCRIPT ; DO->DRAW SCOREBOARD BACKGROUND WITH TEAMS
.DB $FD, <DRAW_FIRST_QTR_SCORES_SCRIPT, >DRAW_FIRST_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q1 SCORES
.DB $FD, <DRAW_SECOND_QTR_SCORES_SCRIPT, >DRAW_SECOND_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q2 SCORES
.DB $FC, <DRAW_TOTAL_SCORE_FADE_OUT_SCRIPT, >DRAW_TOTAL_SCORE_FADE_OUT_SCRIPT ; JUMP-> DRAW TOTAL SCORES WAIT ONE SECOND AND FADE OUT
SCORE_BOARD_THIRD_QTR_FADE_OUT_SCENE_SCRIPT: ; 0X23 TEAM + SCOREBOARD THRU 3RD QTR SCORES
.DB $FD, <DRAW_SCOREBOARD_BG_SCRIPT, >DRAW_SCOREBOARD_BG_SCRIPT ; DO->DRAW SCOREBOARD BACKGROUND WITH TEAMS
.DB $FD, <DRAW_FIRST_QTR_SCORES_SCRIPT, >DRAW_FIRST_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q1 SCORES
.DB $FD, <DRAW_SECOND_QTR_SCORES_SCRIPT, >DRAW_SECOND_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q2 SCORES
.DB $FD, <DRAW_THIRD_QTR_SCORES_SCRIPT, >DRAW_THIRD_QTR_SCORES_SCRIPT ; DO->DRAW SCOREBOARD Q3 SCORES
DRAW_TOTAL_SCORE_FADE_OUT_SCRIPT: ; DRAW TOTAL SCORES WAIT ONE SECOND AND FADE OUT
.DB $FD, <DRAW_TOTAL_SCORES_SCRIPT, >DRAW_TOTAL_SCORES_SCRIPT ; DO->DRAW SCOREBOARD TOTAL SCORES
.DB $E5, $0D, $47 ; SAVE BG AND SPR PAL TO BUFFER AND FADE IN (BG, SPR)
.DB $FB, $3C ; WAIT 60 FRAMES = 1 SEC
.DB $E8 ; END UPDATE PAL TASK AND FADE OUT BG AND SPR PALLETE
.DB $FF ; END
DRAW_SCOREBOARD_BG_SCRIPT: ; DRAW SCOREBOARD BACKGROUND WITH TEAMS
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $D0, $18, $30 ; SET IRQ 0 BACKGROUND CHR BANKS (CHR BANK 0, CHR BANK 1)
.DB $F7, $11 ; DRAW BACKGROUND (LARGE SCOREBOARD)
.DB $F9, $01, $BC ; DRAW SPRITE (4 WAVING FLAGS)
.DB $89, $6B ; SET PPU ADDR = $216B
.DB "1 2 3 4 T" ;
.DB $89, $85 ; SET PPU ADDR = $21B5
.DB $D4 ; DRAW P1 CITY ABBREV
.DB $B1 ; DOWN 2 ROWS
.DB $D5 ; DRAW P2 CITY ABBREV
.DB $FE ; RETURN
DRAW_FIRST_QTR_SCORES_SCRIPT: ; DRAW SCOREBOARD Q1 SCORES
.DB $89, $8A ; SET PPU ADDR = $218A
.DB $DE, <P1_Q1_TOTAL, >P1_Q1_TOTAL ; DRAW FROM DATA ADDR (HOME SCORE Q1)
.DB $B1 ;
.DB $DE, <P2_Q1_TOTAL, >P2_Q1_TOTAL ; DRAW FROM DATA ADDR (AWAY SCORE Q1)
.DB $FE ; RETURN
DRAW_SECOND_QTR_SCORES_SCRIPT: ; DRAW SCOREBOARD Q2 SCORES
.DB $89, $8D ; SET PPU ADDR = $218D
.DB $DE, <P1_Q2_TOTAL, >P1_Q2_TOTAL ; DRAW FROM DATA ADDR (HOME SCORE Q2)
.DB $B1 ; DOWN 2 ROWS
.DB $DE, <P2_Q2_TOTAL, >P2_Q2_TOTAL ; DRAW FROM DATA ADDR (AWAY SCORE Q2)
.DB $FE ; RETURN
DRAW_THIRD_QTR_SCORES_SCRIPT: ; DRAW SCOREBOARD Q3 SCORES
.DB $89, $90 ; SET PPU ADDR = $2190
.DB $DE, <P1_Q3_TOTAL, >P1_Q3_TOTAL ; DRAW FROM DATA ADDR (HOME SCORE Q3)
.DB $B1 ; DOWN 2 ROWS
.DB $DE, <P2_Q3_TOTAL, >P2_Q3_TOTAL ; DRAW FROM DATA ADDR (AWAY SCORE Q3)
.DB $FE ; RETURN
DRAW_FOURTH_QTR_SCORES_SCRIPT: ; DRAW SCOREBOARD Q4 SCORES
.DB $89, $93 ; SET PPU ADDR = $2193
.DB $DE, <P1_Q4_TOTAL, >P1_Q4_TOTAL ; DRAW FROM DATA ADDR (HOME SCORE Q4)
.DB $B1 ; DOWN 2 ROWS
.DB $DE, <P2_Q4_TOTAL, >P2_Q4_TOTAL ; DRAW FROM DATA ADDR (AWAY SCORE Q4)
.DB $FE ; RETURN
DRAW_TOTAL_SCORES_SCRIPT: ; DRAW SCOREBOARD TOTAL SCORES
.DB $89, $99 ; SET PPU ADDR = $2199
.DB $DE, <P1_TOTAL_SCORE, >P1_TOTAL_SCORE ; DRAW FROM DATA ADDR (HOME SCORE TOTAL)
.DB $B1 ; DOWN 2 ROWS
.DB $DE, <P2_TOTAL_SCORE, >P2_TOTAL_SCORE ; DRAW FROM DATA ADDR (AWAY SCORE TOTAL)
.DB $FE ; RETURN
_F}_SCOREBOARD_SCENE_SCRIPTS
UNUSED_TWO_BANK8_SCREEN_SCRIPT :
.DB $FF ; END
_F{_RETURN_FROM_INJURY_SCENE_SCRIPT
RECOVERED_FROM_INJURY_SCENE_SCRIPT: ; 0X26 RECOVERED FROM INJURY SCREEN
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $F1 ; SET GAME STATUS AND PPUR MIRRORING TO HORIZONTAL ;
.DB $F7, $18 ; DRAW BACKGROUND (HOSPITAL SCREEN)
.DB $83, $80, <RECOV_INJURY_GRASS_ATTR_VALUES, >RECOV_INJURY_GRASS_ATTR_VALUES ; SET PPU ADDR = $2380,DO->DRAW LAST 2 ROWS OF GRASS
.DB $83, $F8, <RECOV_INJURY_GRASS_TWO_ATTR_VALUES, >RECOV_INJURY_GRASS_TWO_ATTR_VALUES ; SET PPU ADDR = $23F8,DO->SET ATTRIBUTE TABLE VALUES LAST TWO ROWS OF GRASS
.DB $83, $C9, <RECOVERED_TEXT_ATTR_VALUES, >RECOVERED_TEXT_ATTR_VALUES ; SET PPU ADDR = $23C9,DO->SET ATTRIBUTE TABLE VALUES RECOVERED TEXT
.DB $83, $D0, <TOP_OF_HOSPITAL_ATTR_VALUES, >TOP_OF_HOSPITAL_ATTR_VALUES ; SET PPU ADDR = $23D0,DO->SET ATTRIBUTE TABLE VALUES REST OF TEXT TOP OF HOSPITAL
.DB $88, $68 ; SET PPU ADDR = $2068
.DB "TECMO NEWS FLASH" ;
.DB $89, $37 ; SET PPU ADDR = $2137
.DB $3B ; DASH TILE
.DB "NO." ;
.DB $F6 ; SET SPRITE SIZE TO 16 X 16
.DB $88, $A7 ; SET PPU ADDR = $20A7
.DB "RECOVERED!" ;
.DB $89, $E3 ; SET PPU ADDR = $21E3
.DB "COMES" ;
.DB $B1 ; DOWN 2 ROWS
.DB "BACK!" ;
.DB $F5 ; SET SPRITE SIZE TO 08 X 08
.DB $89, $22 ; SET PPU ADDR = $2122
.DB $FA, $08 ; DRAW CURRENT TEAM NAME
.DB $FA, $1C ; SET RECOVERY FROM INJURY TEAM PALLETE
.DB $F9, $02, $CA, $CD ; DRAW 2 SPRITES(PLAYER RUNNING R TO L, NURSES WAVING)
.DB $E5, $11, $4B ; SAVE BG AND SPR PAL TO BUFFER AND FADE IN (BG, SPR)
.DB $DD, $0A ; START OR END BLINKING PALLETE(BLINK PAL INDEX)
.DB $F3, $34 ; PLAY SOUND (INJURY RETURN MUSIC)
.DB $FB, $F0 ; WAIT 250 FRAMES = ~4 SEC
.DB $F3, $01 ; PLAY SOUND (STOP SOUND/SONG)
.DB $E8 ; END UPDATE PAL TASK AND FADE OUT BG AND SPR PALLETE
.DB $FF ; END
TOP_OF_HOSPITAL_ATTR_VALUES: ; ATTRIBUTE TABLE VALUES REST OF TEXT TOP OF HOSPITAL
.DB $10, $50, $50, $50, $50, $50, $50, $50, $50, $05, $05, $05, $05, $05, $05, $05, $05
.DB $FF ; END
RECOVERED_TEXT_ATTR_VALUES: ; ATTRIBUTE TABLE VALUES RECOVERED TEXT
.DB $06, $EE, $FF, $FF, $FF, $FF, $FF ;
.DB $FF ; END
RECOV_INJURY_GRASS_ATTR_VALUES: ; DRAW LAST 2 ROWS OF GRASS FOR RECOVER FROM INJURY SCREEN
.DB $20, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02
.DB $A1 ; DOWN ONE ROW
.DB $20, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02
.DB $FF ; END
RECOV_INJURY_GRASS_TWO_ATTR_VALUES: ; ATTRIBUTE TABLE VALUES FOR LAST 2 ROWS OF GRASS
.DB $08, $05, $05, $05, $05, $05, $05, $05, $05
.DB $FF ; END
_F}_RETURN_FROM_INJURY_SCENE_SCRIPT
_F{_COIN_TOSS_SCENE_SCRIPTS
COIN_TOSS_INTRO_SCENE_SCRIPT: ; 0X27 COIN TOSS INTRO
.DB $C8 ; SET IRQ0 SPLIT, XSCROLL,SOFT Y SCROLL LOC = 0
.DB $F1 ; SET GAME STATUS AND PPUR MIRRORING TO HORIZONTAL
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN
.DB $F7, $27 ; DRAW BACKGROUND (STADIUM WITH SMALL SCOREBOARD AND FLAGS)
.DB $F8, $11 ; DRAW BACKGROUND ( LARGE SCOREBOARD OFFSCREEN)
.DB $8A, $27 ; SET PPU ADDR = $2227
.DB "1P" ;
.DB $8A, $37 ; SET PPU ADDR = $2237
.DB "2P" ;
.DB $8A, $8F ; SET PPU ADDR = $228F
.DB "VS" ;
.DB $8A, $C6 ; SET PPU ADDR = $22C6
.DB "( )" ;
.DB $8A, $D6 ; SET PPU ADDR = $22D6
.DB "( )" ;
.DB $8D, $6B ; SET PPU ADDR = $296B = OFFSCREEN
.DB "1 2 3 4 T"
.DB $8D, $85 ; SET PPU ADDR = $2985 = OFFSCREEN
.DB $D4 ; DRAW P1 TEAM ABREV
.DB $B1 ; DOWN 2 ROWS
.DB $D5 ; DRAW P2 TEAM ABREV
.DB $FA, $0C ; DRAW P1 AND P2 TEAM CITY, TEAM NAME, TEAM CONTROL TYPE SMALL LETTERS
.DB $F3, $1B ; PLAY SOUND (CROWD)
.DB $FE ; RETURN
COIN_TOSS_TEXT_SCRIPT: ; DRAW COIN TOSS TEXT, WAIT 1 SEC
.DB $89, $EB ; SET PPU ADDR = $21EB
.DB "COIN TOSS" ;
.DB $FB, $36 ; WAIT 54 FRAMES = ~1 SEC
.DB $FE ; RETURN
OVERTIME_TEXT_SCRIPT: ; DRAW OVERTIME TOSS TEXT, WAIT 1 SEC
.DB $89, $EB ;
.DB "OVER TIME" ;
.DB $FB, $36 ; WAIT 54 FRAMES = ~1 SEC
.DB $FE ; RETURN
SET_UNI_REF_COLORS_SCRIPT: ; SET PLAYER AND REFEREE COLORS AND FADE IN PALLETE
.DB $FA, $17 ; GET COIN TOSS P1/P2 FIELD UNIFORM COLORS, SET REFEREE PALLETTE
.DB $E5, $FF ; SET AND FADE IN BG SPR PALLETE (BG,SPR PAL INDEX)
.DB $DD, $07 ; START OR END BLINKING PALLETE()
.DB $F3, $21
.DB $FB, $8C ; WAIT 140 FRAMES = 2.33 SEC
.DB $FE ; RETURN
HOME_WINS_COIN_TOSS_SCRIPT: ; 0X28 HOME WINS COIN TOSS
.DB $F3, $13 ; PLAY SOUND (COIN TOSS)
.DB $8B, $06 ; SET PPU ADDR = $2306 = HEAD/TAIL TEXT
.DB "TAIL HEAD" ;
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $9B, $06, $14, $00 ; SET PPU ADDR = $2306, REPEAT FOR 17 TILES, BLANK TILE
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $F3, $13 ; PLAY SOUND (COIN TOSS)
.DB $8B, $06 ; SET PPU ADDR = $2306 = HEAD/TAIL TEXT
.DB "HEAD TAIL" ;
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $9B, $06, $14, $00 ; SET PPU ADDR = $2306, REPEAT FOR 17 TILES, BLANK TILE
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $F3, $13 ; PLAY SOUND (COIN TOSS)
.DB $8B, $06 ; SET PPU ADDR = $2306 = HEAD/TAIL TEXT
.DB "TAIL HEAD" ;
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $9B, $06, $14, $00 ; SET PPU ADDR = $2306, REPEAT FOR 17 TILES, BLANK TILE
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $F3, $13 ; PLAY SOUND (COIN TOSS)
.DB $8B, $06 ; SET PPU ADDR = $2306 = HEAD/TAIL TEXT
.DB "HEAD TAIL" ;
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $9B, $06, $14, $00 ; SET PPU ADDR = $2306, REPEAT FOR 17 TILES, BLANK TILE
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $F3, $13 ; PLAY SOUND (COIN TOSS)
.DB $8B, $06 ; SET PPU ADDR = $2306 = HEAD/TAIL TEXT
.DB "TAIL HEAD" ;
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $9B, $06, $14, $00 ; SET PPU ADDR = $2306, REPEAT FOR 17 TILES, BLANK TILE
.DB $FB, $03 ; WAIT 3 FRAMES
.DB $F3, $13 ; PLAY SOUND (COIN TOSS)