forked from bruddog/Tecmo_Super_Bowl_NES_Disassembly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBank16_menu_screens_slidebar.asm
3336 lines (2899 loc) · 318 KB
/
Bank16_menu_screens_slidebar.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
.ORG $A000
_F{_MENU_AND_SEASON_TEXT_SCRIPT_POINTER_TABLE
.WORD MAIN_MENU_SCREEN_SCRIPT ; 0X00 DRAW TECMO SUPER BOWL PLUS MAIN MENU
.WORD PRESEASON_MENU_SCREEN_SCRIPT ; 0X01 DRAW TEAM TYPE SELECTION MENU OFFSCREEN
.WORD PRESEASON_TEAM_SELECT_SCREEN_SCRIPT ; 0X02 DRAW PREASEAON TEAM DATA TEAM ABBREV
.WORD SEASON_MENU_SCREEN_SCRIPT ; 0X03 DRAW REGULAR SEASON MENU
.WORD TEAM_CONTROL_SCREEN_SCRIPT ; 0X04 DRAW TEAM CONTROL
.WORD SCHEDULE_HEADER_SCREEN_SCRIPT ; 0X05 DRAW NFL SCHEDULE HEADER
.WORD SCHEDULE_MENU_SCREEN_SCRIPT ; 0X06 DRAW SCHEDULE MENU
.WORD SCHEDULE_FIRST_WARN_SCREEN_SCRIPT ; 0X07 DRAW FIRST SCHEDULE CLEAR WARNING
.WORD SCHEDULE_FINAL_WARN_SCREEN_SCRIPT ; 0X08 DRAW 2ND SCHEDULE CLEAR WARNING
.WORD SKIP_WEEK_SCREEN_SCRIPT ; 0X09 DRAW SKIP TO WEEK
.WORD STANDINGS_MENU_SCREEN_SCRIPT ; 0X0A DRAW STANDINGS MENU ON 2ND SCREEN
.WORD TEAM_RANKINGS_MENU_SCREEN_SCRIPT ; 0X0B TEAM RANKINGS OFFSENSE DEFENSE NFL, AFC, NFC MENU
.WORD TEAM_RANKINGS_MENU_SCREEN_SCRIPT ; 0X0C TEAM RANKINGS OFFSENSE DEFENSE NFL, AFC, NFC MENU
.WORD PLAYOFF_BRACKET_IN_SEASON_SCREEN_SCRIPT ; 0X0D PLAYOFF BRACKET WITH JUST DIVISOIN CHAMP WILD CARD NAMES
.WORD PLAYOFF_BRACKET_IN_SEASON_SCREEN_SCRIPT ; 0X0E SAME
.WORD PLAYOFF_BRACKET_IN_SEASON_SCREEN_SCRIPT ; 0X0F SAME
.WORD PLAYOFF_BRACKET_IN_SEASON_SCREEN_SCRIPT ; 0X10 SAME
.WORD PLAYOFF_BRACKET_PLAYOFFS_SCREEN_SCRIPT ; 0X11 PLAYOFF BRACKET WITH TEAM NAME
.WORD PRO_BOWL_MENU_SCREEN_SCRIPT ; 0X12 TEAM TYPE SELECTION MENU OFFSCREEN
.WORD PRO_BOWL_MENU_SCREEN_SCRIPT ; 0X13 TEAM TYPE SELECTION MENU OFFSCREEN
.WORD PRO_BOWL_MENU_SCREEN_SCRIPT ; 0X14 TEAM TYPE SELECTION MENU OFFSCREEN
.WORD PRO_BOWL_MENU_SCREEN_SCRIPT ; 0X15 TEAM TYPE SELECTION MENU OFFSCREEN
.WORD PRO_BOWL_MENU_SCREEN_SCRIPT ; 0X16 TEAM TYPE SELECTION MENU OFFSCREEN
.WORD PRO_BOWL_MENU_SCREEN_SCRIPT ; 0X17 TEAM TYPE SELECTION MENU OFFSCREEN
.WORD PRO_BOWL_CHOICE_SCREEN_SCRIPT ; 0X18 AFC/NFC CHOICE
.WORD TEAM_DATA_SCREEN_SCRIPT ; 0X19 TEAM DATA
.WORD ROSTER_SCREEN_SCRIPT ; 0X1A ROSTER SCREEN
.WORD DEFENSIVE_STARTERS_SCREEN_SCRIPT ; 0X1B DEFENSIVE STARTERS
.WORD DEFENSIVE_STARTERS_SCREEN_SCRIPT ; 0X1C DEFENSIVE STARTERS
.WORD DEFENSIVE_STARTERS_SCREEN_SCRIPT ; 0X1D DEFENSIVE STARTERS
.WORD PLAY_BOOK_SCREEN_SCRIPT ; 0X1E PLAYBOOK SCREEN
.WORD RUN_PLAY_BOOK_CHANGE_SCREEN_SCRIPT ; 0X1F SCROLLING PLAYBOOK BACKGROUND RUN
.WORD PASS_PLAY_BOOK_CHANGE_SCREEN_SCRIPT ; 0X20 SCROLLING PLAYBOOK BACKGROUND PASS
.WORD PRO_BOWL_TEAM_DATA_SCREEN_SCRIPT ; 0X21 PRO BOWL MENU SCREEN
.WORD REDRAW_PROBOWL_MENU_SCREEN_SCRIPT ; 0X22 PRO BOWL HEADER
.WORD PROBOWL_CHANGE_PLAYER_SCREEN_SCRIPT ; 0X23 PRO BOWL CHANGE PLAYER
.WORD QB_DATA_SCREEN_SCRIPT ; 0X24 QB DATA SCREEN
.WORD SKILL_PLAYER_DATA_SCREEN_SCRIPT ; 0X25 SKILL PLAYER DATA SCREEN
.WORD OFF_LINE_DATA_SCREEN_SCRIPT ; 0X26 OL PLAYER DATA SCREEN
.WORD DEFENDER_DATA_SCREEN_SCRIPT ; 0X27 DEFENDER PLAYER DATA SCREEN
.WORD KICKER_DATA_SCREEN_SCRIPT ; 0X28 KICKER PLAYER DATA SCREEN
.WORD PUNTER_DATA_SCREEN_SCRIPT ; 0X29 PUNTER PLAYER DATA SCREEN
.WORD AFC_EAST_TEXT_SCREEN_SCRIPT ; 0X2A AFC EASTERN TEXT
.WORD AFC_CENTRAL_TEXT_SCREEN_SCRIPT ; 0X2B AFC CENTRAL TEXT
.WORD AFC_WEST_TEXT_SCREEN_SCRIPT ; 0X2C AFC WESTERN TEXT
.WORD NFC_EAST_TEXT_SCREEN_SCRIPT ; 0X2D NFC EASTERN TEXT
.WORD NFC_CENTRAL_TEXT_SCREEN_SCRIPT ; 0X2E NFC CENTRAL TEXT
.WORD NFC_WEST_TEXT_SCREEN_SCRIPT ; 0X2F NFC WESTERN TEXT
.WORD DRAW_FOUR_TEAM_STANDING_SCREEN_SCRIPT ; 0X30 FOUR DIVISION STANDINGS SCREEN
.WORD DRAW_FIVE_TEAM_STANDING_SCREEN_SCRIPT ; 0x31 FIVE DIVISION STANDINGS SCREEN
.WORD OFF_STARTER_TWO_WR_SCREEN_SCRIPT ; 0x32 OFF_STARTERS_2WR_SCREEN
.WORD OFF_STARTER_FOUR_WR_SCREEN_SCRIPT ; 0x33 OFF_STARTERS_4WR_SCREEN
.WORD OFF_STARTER_THREE_WR_SCREEN_SCRIPT ; 0x34 OFF_STARTERS_3WR_SCREEN
.WORD PLAYER_CHANGE_TWO_WR_SCREEN_SCRIPT ; 0x35 PLAYER_CHANGE_2WR
.WORD PLAYER_CHANGE_FOUR_WR_SCREEN_SCRIPT ; 0x36 PLAYER_CHANGE_4WR
.WORD PLAYER_CHANGE_THREE_WR_SCREEN_SCRIPT ; 0x37 PLAYER_CHANGE_3WR
.WORD OFF_STARTERS_RESET_SCREEN_SCRIPT ; 0x38 OFF_STARTER_RESET
.WORD NFL_OFF_TEAM_RANKINGS_SCREEN_SCRIPT ; 0x39 NFL_OFFENSIVE_TEAM_RANKINGS
.WORD NFL_OFF_TEAM_RANKINGS_SCREEN_SCRIPT ; 0x3A NFL_OFFENSIVE_TEAM_RANKINGS
.WORD AFC_OFF_TEAM_RANKINGS_SCREEN_SCRIPT ; 0x3B AFC_OFFENSIVE_TEAM_RANKINGS
.WORD NFC_OFF_TEAM_RANKINGS_SCREEN_SCRIPT ; 0x3C NFC_OFFENSIVE_TEAM_RANKINGS
.WORD NFL_DEF_TEAM_RANKINGS_SCREEN_SCRIPT ; 0x3D NFL_DFFENSIVE_TEAM_RANKINGS
.WORD AFC_DEF_TEAM_RANKINGS_SCREEN_SCRIPT ; 0x3E AFC_DFFENSIVE_TEAM_RANKINGS
.WORD NFC_DEF_TEAM_RANKINGS_SCREEN_SCRIPT ; 0x3F NFC_DFFENSIVE_TEAM_RANKINGS
.WORD PLAY_SELECT_SCREEN_SCRIPT ; 0x40 PLAY_SELECT_SCREEN
.WORD P1_OFF_PLAY_CALL_MENU_SCREEN_SCRIPT ; 0x41 P1_OFF_MENU_SCREEN
.WORD P1_OFF_TIMEOUT_MENU_SCREEN_SCRIPT ; 0x42 P1_OFF_TIMEOUT_SCREEN
.WORD P1_DEF_PLAYCALL_MENU_SCREEN_SCRIPT ; 0x43 P1_DEF_MENU_SCREEN
.WORD P1_DEF_PLAYCALL_MENU_SCREEN_SCRIPT ; 0x44 P1_DEF_MENU_SCREEN
.WORD P1_DEF_TIMEOUT_MENU_SCREEN_SCRIPT ; 0x45 P1_DEF_TIMEOUT_SCREEN
.WORD P2_OFF_PLAYCALL_MENU_SCREEN_SCRIPT ; 0x46 P2_OFF_MENU_SCREEN
.WORD P2_OFF_PLAYCALL_MENU_SCREEN_SCRIPT ; 0x47 P2_OFF_MENU_SCREEN
.WORD P2_OFF_TIMEOUT_MENU_SCREEN_SCRIPT ; 0x48 P2_OFF_TIMEOUT_SCREEN
.WORD UNUSED_SCREEN_SCRIPT ; 0x49
.WORD P2_DEF_PLAYCALL_MENU_SCREEN_SCRIPT ; 0x4A P2_DEFENSIVE_MENU_SCREEN
.WORD P2_DEF_TIMEOUT_MENU_SCREEN_SCRIPT ; 0x4B P2_DEF_TIMEOUT_SCREEN
.WORD OFFENSIVE_MENU_SCRIPT ; 0x4C OFFENSIVE_MENU *** DONT THINK USED DIRECTLY FROM ANOTHER LOCATION
.WORD OFFENSIVE_MENU_SCRIPT ; 0x4D OFFENSIVE_MENU *** DONT THINK USED DIRECTLY FROM ANOTHER LOCATION
_F}_MENU_AND_SEASON_TEXT_SCRIPT_POINTER_TABLE
_F{_CLOCK_AND_MESSAGE_BAR_SCRIPT_POINTER_TABLE
.WORD CLOCK_BACKGROUND_STATUS_BAR_SCRIPT ; 0x4E CLOCK_BACKGROUND
; SCROLLING TEXT FROM OFFSCREEN
.WORD DOWN_AND_DISTANCE_STATUS_BAR_SCRIPT ; 0x4F DRAW "DOWN AND 10" PLUS MARKERS
.WORD FUMBLE_STATUS_BAR_SCRIPT ; 0x50 DRAW "FUMBLE" SCREEN 2
.WORD PUNT_KICK_STATUS_BAR_SCRIPT ; 0x51 DRAW "PUNT KICK" SCREEN 2
.WORD FIELD_GOAL_STATUS_BAR_SCRIPT ; 0x52 DRAW "FIELD GOAL" SCREEN 2
.WORD SUCCESSFUL_TRY_STATUS_BAR_SCRIPT ; 0x53 DRAW "SUCCESSFUL TRY" SCREEN 2
.WORD NO_GOOD_STATUS_BAR_SCRIPT ; 0x54 DRAW "NO GOOD" SCREEN 2
.WORD FIRST_DOWN_STATUS_BAR_SCRIPT ; 0x55 DRAW "***FIRST DOWN***" SCREEN 2
.WORD P2_TO_P1_SIDE_CHANGE_STATUS_BAR_SCRIPT ; 0x56 DRAW SIDE CHANGE, NEXT OFFENSE, NEXT DEFENSE SCREEN 2
.WORD P1_TO_P2_SIDE_CHANGE_STATUS_BAR_SCRIPT ; 0x57 DRAW SIDE CHANGE, NEXT DEFENSE, NEXT OFFENSE SCREEN 2
.WORD TOUCHDOWN_LARGE_STATUS_BAR_SCRIPT ; 0x58 DRAW TOUCHDOWN LARGE LETTERS
.WORD TRY_FOR_POINT_STATUS_BAR_SCRIPT ; 0x59 DRAW "TRY FOR POINT" SCREEN 2
.WORD SAFETY_STATUS_BAR_SCRIPT ; 0x5A DRAW SAFETY LARGE LETTERS SCREEN 2
.WORD INCOMPLETE_PASS_STATUS_BAR_SCRIPT ; 0x5B DRAW "INCOMPLETE PASS" SCREEN 2
.WORD TOUCHBACK_STATUS_BAR_SCRIPT ; 0x5C DRAW TOUCHBACK SCREEN 2
.WORD INTERCEPTION_STATUS_BAR_SCRIPT ; 0x5D DRAW "INTERCEPTION" SCREEN 2
.WORD FIELD_GOAL_STATUS_BAR_SCRIPT_DUPLICATE ; 0x5E DRAW "FIELD GOAL" SCREEN 2
.WORD RECOVER_STATUS_BAR_SCRIPT ; 0x5F DRAW "RECOVER" SCREEN 2
.WORD QB_SACK_STATUS_BAR_SCRIPT ; 0x60 DRAW "QB SACK" SCREEN 2
.WORD KICK_BLOCK_STATUS_BAR_SCRIPT ; 0x61 DRAW "KICK BLOCK" SCREEN 2
.WORD BLOCKED_PUNT_STATUS_BAR_SCRIPT ; 0x62 DRAW "BLOCKED PUNT" SCREEN 2
.WORD PASS_BLOCK_STATUS_BAR_SCRIPT ; 0x63 DRAW "PASS BLOCK" SCREEN 2
.WORD ONSIDE_KICK_STATUS_BAR_SCRIPT ; 0x64 DRAW "ONSIDE KICK" SCREEN 2
.WORD PENALTY_STATUS_BAR_SCRIPT ; 0x65 DRAW "PENALTY" SCREEN 2
.WORD OUT_OF_BOUNDS_STATUS_BAR_SCRIPT ; 0x66 DRAW "OUT OF BOUNDS" SCREEN
.WORD CLEAR_THEN_NT1_OUT_OF_BOUNDS_STATUS_BAR_SCRIPT ; 0x67 DRAW OUT OF BOUNDS CENTERED?
_F}_CLOCK_AND_MESSAGE_BAR_SCRIPT_POINTER_TABLE
_F{_MATCHUP_AND_STANDINGS_TEXT_SCRIPT_POINTER_TABLE
.WORD PRESEASON_LARGE_LETTERS_SCREEN_SCRIPT ; 0x68 DRAW "PRESEASON" LARGE LETTERS CENTERED
.WORD REG_SEASON_LARGE_LETTERS_SCREEN_SCRIPT ; 0x69 DRAW "REGULAR SEASON" LARGE LETTERS CENTERED
.WORD PRO_BOWL_LARGE_LETTERS_SCREEN_SCRIPT ; 0x6A DRAW "PRO BOWL" LARGE LETTERS CENTERED
.WORD FINAL_STANDINGS_SCREEN_SCRIPT ; 0x6B
.WORD FINAL_STANDINGS_SCREEN_SCRIPT ; 0x6C
.WORD FINAL_STANDINGS_SCREEN_SCRIPT ; 0x6D
.WORD FINAL_STANDINGS_SCREEN_SCRIPT ; 0x6E DRAW OPTIONS MENU SCREEN
.WORD FINAL_STANDINGS_SCREEN_SCRIPT ; 0x6F DRAW FINAL STANDINGS
_F}_MATCHUP_AND_STANDINGS_TEXT_SCRIPT_POINTER_TABLE
_F{_MAIN_MENU_SCREEN_SCRIPT
MAIN_MENU_SCREEN_SCRIPT: ; 0X00 MAIN_MENU_SCREEN
.DB $C9 ; SET X SCROLL LOCATION TO NEXT NAMETABLE
.DB $F2 ; SET GAME STATUS AND PPU MIRRORING = VERTICAL
.DB $D0, $20, $1A ; SET IRQ0 BG CHR BANKS = (TEXT AND MENU BORDERS,LARGE LETTERS)
.DB $F6 ; SET TEXT/SPRITE SIZE TO 08 X 16
.DB $8C, $48 ; SET PPU ADDR = $2448
.DB "TECMO" ;
.DB $8C, $84 ; SET PPU ADDR = $2484
.DB "SUPER BOWL" ;
.DB $F5 ; SET TEXT/SPRITE SIZE TO 08 X 08
.DB $9D, $0D, $05, $0D ; SET PPU ADDR = $250D, REPEAT TOP MENU BORDER ACROSS 5 TIMES
.DB $95, $24, $09, $0C ; SET PPU ADDR = $2524, REPEAT LEFT VERT MENU DORDER DOWN 9 TIMES
.DB $95, $32, $09, $0E ; SET PPU ADDR = $2532, REPEAT RIGTH VERT MENU DORDER DOWN 9 TIMES
.DB $9E, $45, $0D, $0F ; SET PPU ADDR = $2545, REPEAT BOTTOM MENU BORDER ACROSS 13 TIMES
.DB $AD, $04, $08 ; SET PPU ADDR = $2504, DRAW TOP LEFT CURVED BORDER OF MENU
.DB $AD, $12, $09 ; SET PPU ADDR = $2512, DRAW TOP RIGHT CURVED BORDER OF MENU
.DB $AE, $44, $0A ; SET PPU ADDR = $2544, DRAW BOT LEFT CURVED BORDER OF MENU
.DB $AE, $52, $0B ; SET PPU ADDR = $2552, DRAW BOT RIGHT CURVED BORDER OF MENU
.DB $8D, $05 ; SET PPU ADDR = $250F
.DB "1991 NFL" ;
.DB $8D, $46 ; SET PPU ADDR = $2546
.DB "PRESEASON" ;
.DB $8D, $86 ; SET PPU ADDR = $2586
.DB "SEASON GAME" ;
.DB $8D, $C6 ; SET PPU ADDR = $25C6
.DB "PRO BOWL" ;
.DB $8E, $06 ; SET PPU ADDR = $2606
.DB "TEAM DATA" ;
.DB $87, $C2, <LARGE_TECMO_RED_ATTR_VALUES, >LARGE_TECMO_RED_ATTR_VALUES ; SET PPU ADDR = $27C2,DO->SET LARGE "TECMO" TEXT TO RED ATTRIBUTE VALUES
.DB $FF ; END
LARGE_TECMO_RED_ATTR_VALUES: ; SET MAIN MENU LARGE "TECMO" TEXT TO RED ATTRIBUTE VALUES
.DB $03 ; LENGTH = 3
.DB $50, $50, $10 ; ATTRIB VALUES
.DB $FF ; END
_F}_MAIN_MENU_SCREEN_SCRIPT
_F{_PRESEASON_MENU_SCREEN_SCRIPT
PRESEASON_MENU_SCREEN_SCRIPT: ; 0x01 PRESEASON_MENU_SCREEN
.DB $E1, $01 ; SET DRAW DELAY = 1 FRAME
.DB $85, $45, <PRESEASON_MENU_SCRIPT, >PRESEASON_MENU_SCRIPT ;; SET PPU ADDR = $2545, D0->PRESEASON MENU
.DB $FF ; END
PRESEASON_MENU_SCRIPT: ; PRESEASON MENU
.DB $01, $08 ; LENGTH = 1, DRAW TOP LEFT CURVED MENU TILE
.DB $E9 ; MOVE RIGHT 9 TILES
.DB $84, $0D ; REPEAT 4 TIMES, TOP MENU TILE
GAME_TYPE_MENU_SCRIPT: ; GAME TYPE MENU
.DB $01, $09 ; LENGTH = 1, DRAW TOP RIGHT CURVED MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8D, $00 ; REPEAT TILE (13 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0F, $0C, " MAN VS COM ", $0E ; LENGTH = 15, LEFT MENU TILE, TEXT, RIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8D, $00 ; REPEAT TILE (13 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0F, $0C, " MAN VS MAN ", $0E ; LENGTH = 15, LEFT MENU TILE, TEXT, RIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8D, $00 ; REPEAT TILE (13 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0F, $0C, " MAN VS COA ", $0E ; LENGTH = 15, LEFT MENU TILE, TEXT, RIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8D, $00 ; REPEAT TILE (13 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0F, $0C, " COA VS COM ", $0E ; LENGTH = 15, LEFT MENU TILE, TEXT, RIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8D, $00 ; REPEAT TILE (13 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0F, $0C, " COA VS COA ", $0E ; LENGTH = 15, LEFT MENU TILE, TEXT, RIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8D, $00 ; REPEAT TILE (13 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0F, $0C, " COM VS COM ", $0E ; LENGTH = 15, LEFT MENU TILE, TEXT, RIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8D, $00 ; REPEAT TILE (13 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0A ; LENGTH = 1, TOP BOT LEFT CURVED MENU TILE
.DB $8D, $0F ; REPEAT TILE (13 TIMES, BOTTOM MENU TILE)
.DB $01, $0B ; LENGTH = 1, TOP BOT RIGHT CURVED MENU TILE
.DB $FF ; END
_F}_PRESEASON_MENU_SCREEN_SCRIPT
_F{_PRESEASON_TEAM_SELECT_SCREEN_SCRIPT
PRESEASON_TEAM_SELECT_SCREEN_SCRIPT: ; 0x02 DRAW PRESEASON TEAM INITIALS
.DB $C8 ; SET IRQ0 SPLIT XSCROLL AND SOFT Y SCROLL LOC = 0()
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN()
.DB $88, $42 ; SET PPU ADDR = $2042
.DB "PRESEASON" ;
.DB $88, $52 ; SET PPU ADDR = $2052
.DB "SELECT TEAM" ;
.DB $FD, <AFC_NFC_STARS_SCRIPT, >AFC_NFC_STARS_SCRIPT ; DO DRAW AFC/NFC TEXT WITH STARS
.DB $88, $E5 ; SET PPU ADDR = $20E5
.DB $FD, <ALL_AFC_EAST_CITY_ABBREV_SCRIPT, >ALL_AFC_EAST_CITY_ABBREV_SCRIPT ; DO DRAW AFC_EAST TEAM INITS
.DB $88, $EF ; SET PPU ADDR = $20EF
.DB $FD, <ALL_AFC_CENT_CITY_ABBREV_SCRIPT, >ALL_AFC_CENT_CITY_ABBREV_SCRIPT ; DO DRAW AFC_CENT TEAM INITS
.DB $88, $F9 ; SET PPU ADDR = $20F9
.DB $FD, <ALL_AFC_WEST_CITY_ABBREV_SCRIPT, >ALL_AFC_WEST_CITY_ABBREV_SCRIPT ; DO DRAW AFC_WEST TEAM INITS
.DB $8A, $65 ; SET PPU ADDR = $2265
.DB $FD, <ALL_NFC_EAST_CITY_ABBREV_SCRIPT, >ALL_NFC_EAST_CITY_ABBREV_SCRIPT ; DO DRAW NFC_EAST TEAM INITS
.DB $8A, $6F ; SET PPU ADDR = $226F
.DB $FD, <ALL_NFC_CENT_CITY_ABBREV_SCRIPT, >ALL_NFC_CENT_CITY_ABBREV_SCRIPT ; DO DRAW NFC_CENT TEAM INITS
.DB $8A, $79 ; SET PPU ADDR = $2279
.DB $FD, <ALL_NFC_WEST_CITY_ABBREV_SCRIPT, >ALL_NFC_WEST_CITY_ABBREV_SCRIPT ; DO DRAW NFC_WEST TEAM INITS
.DB $83, $C4, <TEAM_DATA_YELLOW_TEXT_ATTR_VALUES, >TEAM_DATA_YELLOW_TEXT_ATTR_VALUES ; SET PPU ADDR = $23C4
.DB $FF ; END
TEAM_DATA_YELLOW_TEXT_ATTR_VALUES: ; SET SELECT TEAM TEXT COLOR TO YELLOW SCREEN ATTRIBS
.DB $04, $80, $A0, $A0, $20 ; SET LENGTH = 4 BYTES, ATTRIBUTE VALUES
.DB $FF ; END
AFC_NFC_STARS_SCRIPT: ; DRAW AFC/NFC TEXT WITH STARS
.DB $D0, $18, $7A ; SET IRQ0 BG CHR BANKS = (TEXT WITH STARS CHR BANK, MINI HELMET BANK)
.DB $88, $8A ; SET PPU ADDR = $208A
.DB $1C, $19, $1C, " AFC ", $1C, $19, $1C ; STARS, TEXT, STARS
.DB $8A, $0A ; SET PPU ADDR = $210A
.DB $19, $1C, $19, " NFC ", $19, $1C, $19 ; STARS, TEXT, STARS
.DB $FE ; RETURN
_F}_PRESEASON_TEAM_SELECT_SCREEN_SCRIPT
_F{_SEASON_MENU_SCREEN_SCRIPT
SEASON_MENU_SCREEN_SCRIPT: ; 0x03 DRAW REGULAR SEASON MENU
.DB $C8 ; SET IRQ0 SPLIT XSCROLL AND SOFT Y SCROLL LOC = 0()
.DB $F6 ; SET TEXT/SPRITE SIZE TO 08 X 16
.DB $88, $42 ; SET PPU ADDR = $2042
.DB "1991" ;
.DB $88, $82 ; SET PPU ADDR = $2082
.DB "REGULAR SEASON" ;
.DB $F5 ; SET TEXT/SPRITE SIZE TO 08 X 08
.DB $99, $15, $07, $0D ; REPEAT ACROSS( SET ADDR = 2115, # TIMES =7, TILE = TOP MENU BORDER TILE)
.DB $9B, $0D, $0F, $0F ; REPEAT ACROSS( SET ADDR = 230D, # TIMES =15, TILE = BOTTOM MENU BORDER TILE)
.DB $91, $2C, $0F, $0C ; REPEAT DOWN( SET ADDR = 212C, # TIMES =15, TILE = LEFT MENU BORDER TILE)
.DB $91, $3C, $0F, $0E ; REPEAT DOWN( SET ADDR = 213C, # TIMES =15, TILE = RIGHT MENU BORDER TILE)
.DB $A9, $0C, $08 ; DRAW TILE (SET ADDR = 210C, TILE = TOP LEFT CURVED MENU TILE)
.DB $A9, $1C, $09 ; DRAW TILE (SET ADDR = 211C, TILE = TOP RIGHT CURVED MENU TILE)
.DB $AB, $0C, $0A ; DRAW TILE (SET ADDR = 230C, TILE = BOT LEFT CURVED MENU TILE)
.DB $AB, $1C, $0B ; DRAW TILE (SET ADDR = 231C, TILE = BOT RIGHT CURVED MENU TILE)
.DB $89, $0D ; SET PPU ADDR = $210D
.DB "1991 NFL" ;
.DB $89, $4E ; SET PPU ADDR = $214E
.DB "TEAM CONTROL" ;
.DB $89, $8E ; SET PPU ADDR = $218E COULD HAVE USED ROW DOWN COMMAND FOR REST OF MENU OPTIONS
.DB "SCHEDULE" ;
.DB $89, $CE ; SET PPU ADDR = $21CE
.DB "GAME START" ;
.DB $8A, $0E ; SET PPU ADDR = $220E
.DB "NFL STANDINGS" ;
.DB $8A, $4E ; SET PPU ADDR = $224E
.DB "TEAM RANKINGS" ;
.DB $8A, $8E ; SET PPU ADDR = $228E
.DB "NFL LEADERS" ;
.DB $8A, $CE ; SET PPU ADDR = $22CE
.DB "TEAM DATA" ;
.DB $83, $C0, <YEAR_TEXT_TO_RED_ATRR_VALUES, >YEAR_TEXT_TO_RED_ATRR_VALUES ; SET PPU ADDR = $23C0, DO->SET 1991 TEXT TO RED ATTRIBS
.DB $FF ; END
YEAR_TEXT_TO_RED_ATRR_VALUES: ; SET 1991 TEXT TO RED ATTRIBS
.DB $03 ; LENGTH = 3
.DB $40, $50, $10 ; ATTRIBUTE VALUES
.DB $FF ; END
_F}_SEASON_MENU_SCREEN_SCRIPT
_F{_TEAM_CONTROL_SCREEN_SCRIPT
TEAM_CONTROL_SCREEN_SCRIPT: ; 0X04 TEAM_CONTROL
.DB $C8 ; SET IRQ0 SPLIT XSCROLL AND SOFT Y SCROLL LOC = 0()
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN()
.DB $88, $45 ; SET PPU ADDR = $2045
.DB "SELECT CONTROL MODE !" ;
.DB $FD, <AFC_NFC_STARS_SCRIPT, >AFC_NFC_STARS_SCRIPT ; DO-> DRAW AFC/NFC TEXT WITH STARS
.DB $88, $C5 ; SET PPU ADDR = $20C5
.DB $FD, <ALL_AFC_EAST_CITY_ABBREV_SCRIPT, >ALL_AFC_EAST_CITY_ABBREV_SCRIPT ; DO-> DRAW AFC EAST TEAMS CITY ABBREV
.DB $88, $CF ; SET PPU ADDR = $20CF
.DB $FD, <ALL_AFC_CENT_CITY_ABBREV_SCRIPT, >ALL_AFC_CENT_CITY_ABBREV_SCRIPT ; DO-> DRAW AFC CENT TEAMS CITY ABBREV
.DB $88, $D9 ; SET PPU ADDR = $20D9
.DB $FD, <ALL_AFC_WEST_CITY_ABBREV_SCRIPT, >ALL_AFC_WEST_CITY_ABBREV_SCRIPT ; DO-> DRAW AFC WEST TEAMS CITY ABBREV
.DB $8A, $45 ; SET PPU ADDR = $2245
.DB $FD, <ALL_NFC_EAST_CITY_ABBREV_SCRIPT, >ALL_NFC_EAST_CITY_ABBREV_SCRIPT ; DO-> DRAW NFC EAST TEAMS CITY ABBREV
.DB $8A, $4F ; SET PPU ADDR = $224F
.DB $FD, <ALL_NFC_CENT_CITY_ABBREV_SCRIPT, >ALL_NFC_CENT_CITY_ABBREV_SCRIPT ; DO-> DRAW NFC CENT TEAMS CITY ABBREV
.DB $8A, $59 ; SET PPU ADDR = $2259
.DB $FD, <ALL_NFC_WEST_CITY_ABBREV_SCRIPT, >ALL_NFC_WEST_CITY_ABBREV_SCRIPT ; DO-> DRAW NFC WEST TEAMS CITY ABBREV
.DB $FF ; END
_F}_TEAM_CONTROL_SCREEN_SCRIPT
_F{_SCHEDULE_SCREEN_SCRIPTS
SCHEDULE_HEADER_SCREEN_SCRIPT: ; 0X05 SCHEDULE HEADER
.DB $C8 ; SET IRQ0 SPLIT XSCROLL AND SOFT Y SCROLL LOC = 0()
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN()
.DB $D0, $20, $0E ; SET IRQ0 BG CHR BANKS = ($20,$0E)
.DB $80, $43, <SCHED_HEADER, >SCHED_HEADER ; SET PPU ADDR = $2043, DO->DRAW NFL SCHEDULE TEXT + STARS
.DB $83, $C0, <SCHED_ATTR, >SCHED_ATTR ; SET PPU ADDR = $23C3, DO->SET COLORS FOR SCHEDULE HEADER
.DB $FF ; END
SCHED_HEADER: ; DRAW NFL SCHEDULE TEXT + STARS
.DB $14 ; LENGTH = 20
.DB $E1, $E2, $E0 ; RED STAR, WHITE STAR, BLUE STAR
.DB " NFL SCHEDULE " ;
.DB $E1, $E2, $E0 ; RED STAR, WHITE STAR, BLUE STAR
.DB $FF ; END
SCHED_ATTR: ; SET COLORS FOR SCHEDULE HEADER
.DB $06 ; LENGTH = 6
.DB $40, $50, $50, $50, $50, $50 ;
.DB $FF ; END
SCHEDULE_MENU_SCREEN_SCRIPT: ; 0X06 SCHEDULE MENU
.DB $E1, $01 ; SET DRAW DELAY = 1 FRAME
.DB $80, $82, <SCHED_MENU, >SCHED_MENU ; SET PPU ADDR = $2082
.DB $FF ; END
SCHED_MENU: ; SCHEDULE MENU TILES AND TEXT
.DB $0D, $08, "SCHEDULE", $0D, $0D, $0D, $09
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8B, $00 ; REPEAT TILE (11 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0D, $0C, " AUTO SKIP ", $0E ; LENGTH = 13, MENU BORDERS + MENU TEXT
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8B, $00 ; REPEAT TILE (11 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0D, $0C, " PLAYOFFS ", $0E ; LENGTH = 13, MENU BORDERS + MENU TEXT
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8B, $00 ; REPEAT TILE (11 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0D, $0C, " RESET ", $0E ; LENGTH = 13, MENU BORDERS + MENU TEXT
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8B, $00 ; REPEAT TILE (11 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0A ; LENGTH = 1, TOP BOT LEFT CURVED MENU TILE
.DB $8B, $0F ; REPEAT (11 TIMES, BOTTOM MENU TILE)
.DB $01, $0B ; LENGTH = 1, TOP BOT RIGHT CURVED MENU TILE
.DB $FF ; END
SCHEDULE_FIRST_WARN_SCREEN_SCRIPT: ; 0X07 FIRST SCHEDULE RESET WARNING MENU
.DB $E1, $01 ; SET DRAW DELAY = 1 FRAME
.DB $81, $43, <SCHED_RESET, >SCHED_RESET ; SET PPU ADDR = $2143, DO->DRAW FIRST SCHEDULE RESET MENU
.DB $FF ; END
SCHED_RESET: ; DRAW FIRST SCHEDULE RESET MENU
.DB $01, $08 ; LENGTH = 1, DRAW TOP LEFT CURVED MENU TILE
.DB $E5 ; MOVE RIGHT (5 TILES)
.DB $95, $0D ; REPEAT 21 TIMES, TOP MENU TILE
.DB $01, $09 ; LENGTH = 1, DRAW TOP RIGHT CURVED MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $9A, $00 ; REPEAT 21 TIMES, BLANK TILE
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $1C, $0C, " THE DATA OF GAME YOU HAVE", $0E
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $9A, $00 ; REPEAT 21 TIMES, BLANK TILE
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $1C, $0C, " PLAYED WILL BE CLEARED ", $0E
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $9A, $00 ; REPEAT 21 TIMES, BLANK TILE
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $84, $20 ; REPEAT 4 TIMES, BLANK TILE
.DB $08, "OK", $F0, " NO" ; LENGTH 8, TEXT
.DB $8E, $20 ; REPEAT 15 TIMES, BLANK TILE
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $9A, $00 ; REPEAT 21 TIMES, BLANK TILE
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8A, $20 ; REPEAT 10 TIMES, BLANK TILE
.DB $03, "YES" ; LENGTH 3, TEXT
.DB $8D, $20 ; REPEAT 13 TIMES, BLANK TILE
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $9A, $00 ; REPEAT 21 TIMES, BLANK TILE
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0A ; LENGTH = 1, TOP BOT LEFT CURVED MENU TILE
.DB $9A, $0F ; REPEAT 21 TIMES, BOTTOM STARIGHT MENU TILE
.DB $01, $0B ; LENGTH = 1, TOP BOT RIGHT CURVED MENU TILE
.DB $FF ; END
SCHEDULE_FINAL_WARN_SCREEN_SCRIPT: ; 0X08 SECOND SCHEDULE RESET WARNING MENU
.DB $E1, $01 ; SET DRAW DELAY = 1 FRAME
.DB $82, $4D, <SCHED_WARN_2, >SCHED_WARN_2 ; SET PPU ADDR = $224D, DO->DRAW FINAL SCHEDULE CONFIRMATION WARNING
.DB $FF ; END
SCHED_WARN_2: ; DRAW FINAL SCHEDULE CONFIRMATION WARNING
.DB $01, $08 ; LENGTH = 1, DRAW TOP LEFT CURVED MENU TILE
.DB $E3 ; MOVE RIGHT (3 TILES)
.DB $8B, $0D ; REPEAT 11 TIMES, TOP STRAIGHT MENU TILE
.DB $01, $09 ; LENGTH = 1, DRAW TOP RIGHT CURVED MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8E, $00 ; REPEAT TILE (14 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $10, $0C, " REALLY", $F0, " NO ", $0E
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8E, $00 ; REPEAT TILE (14 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8A, $20 ; REPEAT 11 TIMES, BLANK TILE
.DB $05, "YES ", $0E ; LENGTH = 5, TEXT
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT STRAIGHT MENU TILE
.DB $8E, $00 ; REPEAT TILE (14 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT STRAIGHT MENU TILE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0A ; LENGTH = 1, TOP BOT LEFT CURVED MENU TILE
.DB $8E, $0F ; REPEAT 14 TIMES, BOTTOM STRAIGHT MENU TILE
.DB $01, $0B ; LENGTH = 1, TOP BOT RIGHT CURVED MENU TILE
.DB $FF ; END
SKIP_WEEK_SCREEN_SCRIPT: ; 0X09 AUTO_SKIP_MENU
.DB $E1, $01 ; SET DRAW DELAY = 1 FRAME
.DB $80, $C3, <SKIP_MENU, >SKIP_MENU ; SET PPU ADDR = $20C3, DO->DRAW SKIP TO WEEK MENU
.DB $FF ; END
SKIP_MENU: ; DRAW SKIP TO WEEK MENU
.DB $01, $08 ; LENGTH = 1, DRAW TOP LEFT CURVED LINE
.DB $E9 ; MOVE RIGHT (9 TILES)
.DB $03, $0D, $0D, $09 ; LENGTH = 3, HORIZ MENU TILE X2, TOP RIGHT CURVED LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $8B, $00 ; REPEAT TILE (11 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $0D, $0C, " TO WEEK ", $0E ;
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $8B, $00 ; REPEAT TILE (11 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0A ; LENGTH = 1, TOP BOT LEFT CURVED LINE
.DB $8B, $0F ; REPEAT 11 TIMES, BOT HORIZ LINE
.DB $01, $0B ; LENGTH = 1, TOP BOT RIGHT CURVED LINE
.DB $FF ; END
_F}_SCHEDULE_SCREEN_SCRIPTS
_F{_STANDINGS_MENU_SCREEN_SCRIPT
STANDINGS_MENU_SCREEN_SCRIPT: ; 0X0A STANDINGS MENU
.DB $A4, $00, $0C, $20, $00 ; SET PPU ADDR = $2400, 12X32 BOX OF BLANK TILES
.DB $C8 ; SET IRQ0 SPLIT XSCROLL AND SOFT Y SCROLL LOC = 0()
.DB $84, $03, <STANDINGS_MENU_SCRIPT, >STANDINGS_MENU_SCRIPT ; SET PPU ADDR = $24C3, DO->DRAW STANDINGS MENU
.DB $87, $C1, <STAND_ATTR_VALUES, >STAND_ATTR_VALUES ; SET PPU ADDR = $27C1, DO->SET AFC AND NFC TEXT TO RED
.DB $FB, $01 ; WAIT 1 FRAME
.DB $F1 ; SET GAME STATUS AND PPU MIRRORING = HORIZONTAL
.DB $FF ; END
STAND_ATTR_VALUES: ; SET AFC AND NFC TEXT TO RED ATTRIBUTES
.DB $09 ; LENGTH = 9
.DB $50, $00, $00, $00, $00 ;
.DB $00, $00, $00, $05 ;
.DB $FF ; END
STANDINGS_MENU_SCRIPT: ; DRAW STANDINGS MENU
.DB $0A, $08, "STANDINGS" ; LENGTH = 10, TOP LEFT CURVED LINE, TEXT
.DB $91, $0D ; REPEAT 17 TIMES, TOP HORIZ LINE
.DB $01 , $09 ; LENGTH = 1, DRAW RIGHT CURVED LINE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $FA ; MOVE RIGHT 26 TILES
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $A1 ; DOWN 1 ROW
.DB $1B, $0C, " AFC EAST CENTRAL WEST " ; LENGTH = 27, LEFT VERT LINE, TEXT
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $FA ; MOVE RIGHT 26 TILES
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $A1 ; DOWN 1 ROW
.DB $1B, $0C, " NFC EAST CENTRAL WEST " ;
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $FA ; MOVE RIGHT 26 TILES
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $E6 ; MOVE RIGHT 6 TILES
.DB $07, "PLAYOFF" ;
.DB $ED ; MOVE RIGHT 13 TILES
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $FA ; MOVE RIGHT 26 TILES
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $A1 ; DOWN 1 ROW
.DB $01, $0A ; LENGTH = 1, TOP BOT LEFT VERT LINE
.DB $9A, $0F ; REPEAT 10 TIMES, BOT HORIZ LINE
.DB $01, $0B ; LENGTH = 1, TOP BOT RIGHT VERT LINE
.DB $FF ; END
_F}_STANDINGS_MENU_SCREEN_SCRIPT
_F{_TEAM_RANKINGS_MENU_SCREEN_SCRIPT
TEAM_RANKINGS_MENU_SCREEN_SCRIPT: ; 0X0B/0X0C TEAM RANKINGS_MENU
.DB $E1, $01 ; SET DRAW DELAY = 1 FRAME
.DB $82, $4D, <RANKING_MENU_SCRIPT, >RANKING_MENU_SCRIPT ; SET PPU ADDR = $224D, DO->DRAW RANKINGS MENU TEXT
.DB $83, $EB, <RANK_ATTR_VALUES, >RANK_ATTR_VALUES ; SET PPU ADDR = $23EB = OFFENSE, DO->MAKE TEXT RED ATTRIB VALUES
.DB $83, $F3, <RANK_ATTR_VALUES, >RANK_ATTR_VALUES ; SET PPU ADDR = $23FC = DEFENSE, DO->MAKE TEXT RED ATTRIB VALUES
.DB $FF ; END
RANK_ATTR_VALUES: ; MAKE TEXT RED ATTRIB VALUES
.DB $03, $04, $05, $01 ;
.DB $FF ; END
RANKING_MENU_SCRIPT: ; DRAW RANKINGS MENU TEXT
.DB $01, $08 ; LENGTH = 1, DRAW TOP LEFT CURVED LINE
.DB $ED ; MOVE RIGHT 13 TILES
.DB $82, $0D ; REPEAT TILE (2 TIMES, TOP HORIZ LINE)
.DB $01, $09 ; LENGTH = 1, DRAW TOP RIGHT CURVED LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $8F, $00 ; REPEAT TILE (15 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $08, $0C, "OFFENSE" ; LENGTH = 8, LEFT VERT LINE TEXT
.DB $88, $00 ; REPEAT TILE (8 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $8F, $00 ; REPEAT TILE (15 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $11, $0C, " NFL AFC NFC ", $0E ; LENGTH = 8, LEFT VERT LINE, TEXT, VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $8F, $00 ; REPEAT TILE (15 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $08, $0C, "DEFENSE" ; LENGTH = 8, LEFT VERT LINE, TEXT
.DB $88, $00 ; REPEAT TILE (8 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0C ; LENGTH = 1, DRAW LEFT VERT LINE
.DB $8F, $00 ; REPEAT TILE (15 TIMES, BLANK TILE)
.DB $01, $0E ; LENGTH = 1, DRAW RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $11, $0C, " NFL AFC NFC ", $0E ; LENGTH = 8, LEFT VERT LINE, TEXT, RIGHT VERT LINE
.DB $FE ; WAIT DRAW DELAY # FRAMES()
.DB $A1 ; DOWN 1 ROW
.DB $01, $0A ; LENGTH = 1, TOP BOT LEFT CURVED LINE
.DB $8F, $0F ; REPEAT TILE (15 TIMES, BOTTOM STRAIGHT MENU TILE)
.DB $01, $0B ; LENGTH = 1, TOP BOT RIGHT CURVED LINE
.DB $FF ; END
_F}_TEAM_RANKINGS_MENU_SCREEN_SCRIPT
_F{_PLAYOFF_BRACKET_IN_SEASON_SCREEN_SCRIPTS
PLAYOFF_BRACKET_IN_SEASON_SCREEN_SCRIPT: ; 0X0D PLAYOFF_BRACKET BEFORE PLAYOFFS START
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN()
.DB $F2 ; SET GAME STATUS AND PPU MIRRORING = VERTICAL
.DB $88, $C4 ; SET PPU ADDR = $20C4 = AFC 2 DIV TEXT LOC
.DB $FD, <DIVISION_TEXT, >DIVISION_TEXT ; DO-> DRAW DIVISION TEXT
.DB $88, $E3 ; SET PPU ADDR = $20E3 = AFC DIV "CHAMP SECOND" TEXT LOC
.DB $FD, <CHAMP_2ND_TEXT, >CHAMP_2ND_TEXT ; DO-> DRAW CHAMP 2ND TEXT
.DB $89, $44 ; SET PPU ADDR = $2144 = AFC WILD CARD 1 TEXT LOC
.DB $FD, <WILD_CARD_TEXT, >WILD_CARD_TEXT ; DO-> DRAW WILD CARD TEXT
.DB $89, $67 ; SET PPU ADDR = $2167 = AFC WC "1ST" TEXT
.DB $FD, <FIRST_TEXT, >FIRST_TEXT ; DO-> DRAW 1ST TEXT
.DB $89, $C4 ; SET PPU ADDR = $21C4 = AFC WILD CARD 2 TEXT LOC
.DB $FD, <WILD_CARD_TEXT, >WILD_CARD_TEXT ; DO-> DRAW WILD CARD TEXT
.DB $89, $E7 ; SET PPU ADDR = $21E7 = AFC WC "2ND" TEXT
.DB $FD, <SECOND_TEXT, >SECOND_TEXT ; DO-> DRAW 2ND TEXT
.DB $8A, $44 ; SET PPU ADDR = $2244 = AFC WILD CARD 3 TEXT LOC
.DB $FD, <WILD_CARD_TEXT, >WILD_CARD_TEXT ; DO-> DRAW WILD CARD TEXT
.DB $8A, $67 ; SET PPU ADDR = $2267 = AFC WC "3RD" TEXT
.DB $FD, <THIRD_TEXT, >THIRD_TEXT ; DO-> DRAW 3RD TEXT
.DB $8A, $C4 ; SET PPU ADDR = $22C4 = AFC 3 DIV TEXT LOC
.DB $FD, <DIVISION_TEXT, >DIVISION_TEXT ; DO-> DRAW DIVISION TEXT
.DB $8A, $E3 ; SET PPU ADDR = $22E3 = AFC DIV "CHAMP THIRD" TEXT LOC
.DB $FD, <CHAMP_3RD_TEXT, >CHAMP_3RD_TEXT ; DO-> DRAW CHAMP 3RD TEXT
.DB $8B, $44 ; SET PPU ADDR = $2344 = AFC 1 DIV TEXT LOC
.DB $FD, <DIVISION_TEXT, >DIVISION_TEXT ; DO-> DRAW DIVISION TEXT
.DB $8B, $63 ; SET PPU ADDR = $2363 = AFC DIV "CHAMP FIRST" TEXT LOC
.DB $FD, <CHAMP_1ST_TEXT, >CHAMP_1ST_TEXT ; DO-> DRAW CHAMP 1ST TEXT
.DB $8C, $D4 ; SET PPU ADDR = $24F4 = NFC DIV TEXT LOC
.DB $FD, <DIVISION_TEXT, >DIVISION_TEXT ; DO-> DRAW DIVISION TEXT
.DB $8C, $F3 ; SET PPU ADDR = $24F3 = NFC DIV "CHAMP SECOND" TEXT LOC
.DB $FD, <CHAMP_2ND_TEXT, >CHAMP_2ND_TEXT ; DO-> DRAW CHAMP 2ND TEXT
.DB $8D, $53 ; SET PPU ADDR = $2553 = NFC WILD CARD 1 TEXT LOC
.DB $FD, <WILD_CARD_TEXT, >WILD_CARD_TEXT ; DO-> DRAW WILD CARD TEXT
.DB $8D, $76 ; SET PPU ADDR = $2567 = NFC WC "1ST" TEXT
.DB $FD, <FIRST_TEXT, >FIRST_TEXT ; DO-> DRAW 1ST TEXT
.DB $8D, $D3 ; SET PPU ADDR = $25D3 = NFC WILD CARD 2 TEXT LOC
.DB $FD, <WILD_CARD_TEXT, >WILD_CARD_TEXT ; DO-> DRAW WILD CARD TEXT
.DB $8D, $F6 ; SET PPU ADDR = $2567 = NFC WC "2ND" TEXT
.DB $FD, <SECOND_TEXT, >SECOND_TEXT ; DO-> DRAW 2ND TEXT
.DB $8E, $53 ; SET PPU ADDR = $2653 = NFC WILD CARD 3 TEXT LOC
.DB $FD, <WILD_CARD_TEXT, >WILD_CARD_TEXT ; DO-> DRAW WILD CARD TEXT
.DB $8E, $76 ; SET PPU ADDR = $2676 = NFC WC "3ND" TEXT
.DB $FD, <THIRD_TEXT, >THIRD_TEXT ; DO-> DRAW 3RD TEXT
.DB $8E, $D4 ; SET PPU ADDR = $26D4 = NFC 3 DIV TEXT LOC
.DB $FD, <DIVISION_TEXT, >DIVISION_TEXT ; DO-> DRAW DIVISION TEXT
.DB $8E, $F3 ; SET PPU ADDR = $26F3 = NFC 3 DIV "CHAMP THIRD" TEXT LOC
.DB $FD, <CHAMP_3RD_TEXT, >CHAMP_3RD_TEXT ; DO-> DRAW CHAMP 3RD TEXT
.DB $8F, $54 ; SET PPU ADDR = $2754 = AFC 2 DIV TEXT LOC
.DB $FD, <DIVISION_TEXT, >DIVISION_TEXT ; DO-> DRAW DIVISION TEXT
.DB $8F, $73 ; SET PPU ADDR = $2773 = NFC 3 DIV "CHAMP FIRST" TEXT LOC
.DB $FD, <CHAMP_1ST_TEXT, >CHAMP_1ST_TEXT ; DO-> DRAW CHAMP 1ST TEXT
.DB $FD, <BRACKET, >BRACKET ; DO->DRAW BRACKET LINES
.DB $FF ; END
DIVISION_TEXT: ; DRAW DIVISION TEXT
.DB "DIVISION" ;
.DB $FE ; RETURN
WILD_CARD_TEXT: ; DRAW WILD CARD TEXT
.DB "WILD CARD" ;
.DB $FE ; RETURN
CHAMP_2ND_TEXT: ; DRAW CHAMP 2ND TEXT
.DB "CHAMP 2ND" ;
.DB $FE ; RETURN
FIRST_TEXT: ; DRAW 1ST TEXT
.DB "1ST" ;
.DB $FE ; RETURN
SECOND_TEXT: ; DRAW 2ND TEXT
.DB "2ND" ;
.DB $FE ; RETURN
THIRD_TEXT: ; DRAW 3RD TEXT
.DB "3RD" ;
.DB $FE ; RETURN
CHAMP_3RD_TEXT: ; DRAW CHAMP 3RD TEXT
.DB "CHAMP 3RD" ;
.DB $FE ; RETURN
CHAMP_1ST_TEXT: ; DRAW CHAMP 1ST TEXT
.DB "CHAMP 1ST" ;
.DB $FE ; RETURN
_F}_PLAYOFF_BRACKET_IN_SEASON_SCREEN_SCRIPT
_F{_PLAYOFF_BRACKET_PLAYOFFS_SCREEN_SCRIPTS
PLAYOFF_BRACKET_PLAYOFFS_SCREEN_SCRIPT: ; 0X11 PLAYOFF_BRACKET
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN()
.DB $F2 ; SET GAME STATUS AND PPU MIRRORING = VERTICAL
.DB $FD, <BRACKET, >BRACKET ; DO-> DRAW PLAY OFF BRACKET
.DB $FA, $16 ; DRAW PLAYOFF BRACKET TEAM NAMES
.DB $FF ; END
BRACKET: ; DRAW PLAYOFF BRACKET LINES AND SCREEN HEADER TEXT
BRACKET_TEXT_AFC: ; DRAW TEXT FOR AFC SIDE + SHARED
.DB $C8 ; SET IRQ0 SPLIT XSCROLL AND SOFT Y SCROLL LOC = 0()
.DB $D0, $18, $7A ; SET IRQ0 BG CHR BANKS = ($18,$7A)
.DB $88, $41 ; SET PPU ADDR = $2041 = AFC TEXT START
.DB $1C, $19, $1C ; WHITE STAR, RED STAR, WHITE STAR
.DB " AFC " ;
.DB $1C, $19, $1C ; WHITE STAR, RED STAR, WHITE STAR
.DB " PLAYOFF" ;
.DB $98, $6F, $07, $EC ; SET PPU ADDR = $206F, REPEAT 7 TIMES (RED UNDERLINE)
.DB $88, $92 ; SET PPU ADDR = $2092 = DIVISIONAL TEXT START
.DB "DIVISIONAL" ;
.DB $88, $B3 ; SET PPU ADDR = $20B3 = PLAYOFF TEXT START
.DB "PLAYOFF" ;
.DB $98, $D3, $07, $EC ; SET PPU ADDR = $20D3, REPEAT 7 TIMES (RED UNDERLINE)
.DB $88, $F9 ; SET PPU ADDR = $20F9
.DB "AFC" ;
.DB $89, $18 ; SET PPU ADDR = $2118
.DB "CHAMP" ;
.DB $99, $38, $05, $EC ; SET PPU ADDR = $206F, REPEAT ACROSS 5 TIMES (RED UNDERLINE)
.DB $89, $DD ; SET PPU ADDR = $21DD
.DB "SUP" ;
.DB $89, $FE ; SET PPU ADDR = $21FE
.DB "BO" ;
.DB $9A, $1E, $02, $EC ; SET PPU ADDR = $221E, REPEAT ACROSS 2 TIMES (RED UNDERLINE)
BRACKET_LINES_AFC: ; DRAW LEFT SCREEN BRACKET LINES
; DIV CHAMP 2 LINE
.DB $98, $EE, $08, $EB ; SET PPU ADDR = $20EE, REPEAT ACROSS 7 TIMES (HORIZ LINE)
.DB $A8, $F6, $F1 ; SET PPU ADDR = $20F6, DRAW TILE (RIGHT CORNER -|)
; LINE CONNECTING DIV CHAMP TO WILD CARD
.DB $91, $16, $02, $EA ; SET PPU ADDR = $2116, REPEAT DOWN 2 TIMES (VERT LINE)
.DB $A9, $56, $DE ; SET PPU ADDR = $2156, DRAW TILE (T LINE ROTATED LEFT)
.DB $91, $76, $02, $EA ; SET PPU ADDR = $2176, REPEAT DOWN 2 TIMES (VERT LINE)
.DB $A9, $B6, $F3 ; SET PPU ADDR = $21B6, DRAW TILE (BOTTOM RIGHT EDGE)
; WILD CARD 1 & 2 LINES
.DB $99, $6E, $04, $EB ; SET PPU ADDR = $216E, REPEAT ACROSS 4 TIMES (HORIZ LINE)
.DB $A9, $72, $F1 ; SET PPU ADDR = $2172, DRAW TILE (RIGHT CORNER -|)
.DB $99, $EE, $04, $EB ; SET PPU ADDR = $21EE, REPEAT ACROSS 4 TIMES (HORIZ LINE)
.DB $A9, $F2, $F3 ; SET PPU ADDR = $21F2, DRAW TILE (BOTTOM RIGHT EDGE)
.DB $A9, $92, $EA ; SET PPU ADDR = $2192, DRAW TILE (VERT LINE)
.DB $A9, $B2, $DE ; SET PPU ADDR = $21B2, DRAW TILE (T LINE ROTATED LEFT)
.DB $A9, $D2, $EA ; SET PPU ADDR = $21D2, DRAW TILE (VERT LINE)
; WILD CARD 1 & 2 WINNER LINE
.DB $99, $B3, $03, $EB ; SET PPU ADDR = $21B3, REPEAT ACROSS 3 TIMES (HORIZ LINE)
; AFC DIVISIONAL WINNER TOP LINE
.DB $99, $57, $03, $EB ; SET PPU ADDR = $2157, REPEAT ACROSS 3 TIMES (HORIZ LINE)
.DB $A9, $5A, $F1 ; SET PPU ADDR = $215A, DRAW TILE (RIGHT CORNER -|)
; AFC DIVISIONAL WINNER TO SUPERBOWL TOP LINE
.DB $91, $7A, $06, $EA ; SET PPU ADDR = $217A, REPEAT DOWN 6 TIMES (VERT LINE)
.DB $AA, $3A, $DE ; SET PPU ADDR = $223A, DRAW TILE (T LINE ROTATED LEFT)
; AFC DIV CHAMP 1 TO WINNER LINES
.DB $9B, $6E, $08, $EB ; SET PPU ADDR = $236E, REPEAT ACROSS 8 TIMES (VERT LINE)
.DB $AB, $76, $F3 ; SET PPU ADDR = $2376, DRAW TILE (BOTTOM RIGHT EDGE)
.DB $93, $36, $02, $EA ; SET PPU ADDR = $2336, REPEAT DOWN 2 TIMES (VERT LINE)
.DB $AB, $16, $DE ; SET PPU ADDR = $2316, DRAW TILE (T LINE ROTATED LEFT)
.DB $92, $D6, $02, $EA ; SET PPU ADDR = $22D6, REPEAT DOWN 2 TIMES (VERT LINE)
.DB $AA, $B6, $F1 ; SET PPU ADDR = $22B6, DRAW TILE (RIGHT CORNER -| )
; WILD CARD 3 & DIV CHAMP 3 LINES
.DB $9A, $6E, $04, $EB ; SET PPU ADDR = $226E, REPEAT ACROSS 4 TIMES (HORIZ LINE)
.DB $AA, $72, $F1 ; SET PPU ADDR = $2272, DRAW TILE (RIGHT CORNER -|)
.DB $9A, $EE, $04, $EB ; SET PPU ADDR = $22EE, REPEAT ACROSS 4 TIMES (HORIZ LINE)
.DB $AA, $F2, $F3 ; SET PPU ADDR = $22F2, DRAW TILE (BOTTOM RIGHT EDGE)
.DB $AA, $92, $EA ; SET PPU ADDR = $2292, DRAW TILE (VERT LINE)
.DB $AA, $B2, $DE ; SET PPU ADDR = $22B2, DRAW TILE (T LINE ROTATED LEFT)
.DB $AA, $D2, $EA ; SET PPU ADDR = $22D2, DRAW TILE (VERT LINE)
; WILD CARD 3 & DIV CHAMP 3 WINNER LINE
.DB $9A, $B3, $03, $EB ; SET PPU ADDR = $22B3, REPEAT ACROSS 3 TIMES (HORIZ LINE)
; AFC DIVISIONAL WINNER BOTTOM LINE
.DB $9B, $17, $03, $EB ; SET PPU ADDR = $2317, REPEAT ACROSS 3 TIMES (HORIZ LINE)
.DB $AB, $1A, $F3 ; SET PPU ADDR = $231A, DRAW TILE (BOTTOM RIGHT EDGE)
; AFC DIVISIONAL WINNER TO SUPERBOWL BOTTOM LINE + T
.DB $92, $5A, $06, $EA ; SET PPU ADDR = $225A, REPEAT DOWN 6 TIMES (VERT LINE)
.DB $AA, $3A, $DE ; SET PPU ADDR = $223A, DRAW TILE (T LINE ROTATED LEFT)
; LEFT SCREEN SUPER BOWL LINE
.DB $9A, $3B, $05, $EB ; SET PPU ADDR = $22EE, REPEAT ACROSS 4 TIMES (HORIZ LINE)
BRACKET_TEXT_NFC: ; DRAW TEXT FOR NFC SIDE + SHARED
.DB $8C, $4A ; SET PPU ADDR = $244A
.DB "PLAYOFF " ;
.DB $19, $1C, $19 ; RED STAR, WHITE STAR, RED STAR
.DB " NFC " ;
.DB $19, $1C, $19 ; RED STAR, WHITE STAR, RED STAR
.DB $9C, $6A, $07, $EC ; SET PPU ADDR = $246A, REPEAT 7 TIMES (RED UNDERLINE)
.DB $8C, $85 ; SET PPU ADDR = $2485
.DB "DIVISIONAL" ;
.DB $8C, $A6 ; SET PPU ADDR = $24A6
.DB "PLAYOFF" ;
.DB $9C, $C6, $07, $EC ; SET PPU ADDR = $24C6, REPEAT 7 TIMES (RED UNDERLINE)
.DB $8C, $E4 ; SET PPU ADDR = $24E4
.DB "NFC" ;
.DB $8D, $03 ; SET PPU ADDR = $2503
.DB "CHAMP" ;
.DB $9D, $23, $05, $EC ; SET PPU ADDR = $2523, REPEAT ACROSS 5 TIMES (RED UNDERLINE)
.DB $8D, $C0 ; SET PPU ADDR = $25C0
.DB "ER" ;
.DB $8D, $E0 ; SET PPU ADDR = $25E0
.DB "WL" ;
.DB $9E, $00, $02, $EC ; SET PPU ADDR = $2600, REPEAT ACROSS 2 TIMES (RED UNDERLINE)
BRACKET_LINES_NFC: ; DRAW BRACKET LINES FOR NFC PLAYOFF BRACKET
; DIV CHAMP 2 LINE
.DB $9C, $EA, $08, $EB ; SET PPU ADDR = $24EA, REPEAT ACROSS 7 TIMES (HORIZ LINE)
.DB $AC, $E9, $F0 ; SET PPU ADDR = $24E0, DRAW TILE (LEFT CORNER |-)
; LINE CONNECTING DIV CHAMP TO WILD CARD
.DB $95, $09, $02, $EA ; SET PPU ADDR = $2509, REPEAT DOWN 2 TIMES (VERT LINE)
.DB $AD, $49, $DF ; SET PPU ADDR = $2549, DRAW TILE (T LINE ROTATED RIGHT)
.DB $95, $69, $02, $EA ; SET PPU ADDR = $2569, REPEAT DOWN 2 TIMES (VERT LINE)
.DB $AD, $A9, $F2 ; SET PPU ADDR = $25A9, DRAW TILE (BOTTOM LEFT EDGE)
; WILD CARD 1 & 2 LINES
.DB $9D, $6E, $04, $EB ; SET PPU ADDR = $256E, REPEAT ACROSS 4 TIMES (HORIZ LINE)
.DB $AD, $6D, $F0 ; SET PPU ADDR = $256D, DRAW TILE (LEFT CORNER |-)
.DB $9D, $EE, $04, $EB ; SET PPU ADDR = $2EEE, REPEAT ACROSS 4 TIMES (HORIZ LINE)
.DB $AD, $ED, $F2 ; SET PPU ADDR = $25ED, DRAW TILE (BOTTOM LEFT EDGE)
.DB $AD, $8D, $EA ; SET PPU ADDR = $258D, DRAW TILE (VERT LINE)
.DB $AD, $AD, $DF ; SET PPU ADDR = $25AD, DRAW TILE (T LINE ROTATED RIGHT)
.DB $AD, $CD, $EA ; SET PPU ADDR = $25CD, DRAW TILE (VERT LINE)
; WILD CARD 1 & 2 WINNER LINE
.DB $9D, $AA, $03, $EB ; SET PPU ADDR = $25AA, REPEAT ACROSS 3 TIMES (HORIZ LINE)
; NFC DIVISIONAL WINNER TOP LINE
.DB $9D, $46, $03, $EB ; SET PPU ADDR = $2546, REPEAT ACROSS 3 TIMES (HORIZ LINE)
.DB $AD, $45, $F0 ; SET PPU ADDR = $2545, DRAW TILE (LEFT CORNER |-)
; NFC DIVISIONAL WINNER TO SUPERBOWL TOP LINE
.DB $95, $65, $06, $EA ; SET PPU ADDR = $2565, REPEAT DOWN 6 TIMES (VERT LINE)
.DB $AE, $25, $DF ; SET PPU ADDR = $2625, DRAW TILE (T LINE ROTATED RIGHT)
; NFC DIV CHAMP 1 TO WINNER LINES
.DB $9F, $6A, $08, $EB ; SET PPU ADDR = $276A, REPEAT ACROSS 8 TIMES (VERT LINE)
.DB $AF, $69, $F2 ; SET PPU ADDR = $2769, DRAW TILE (BOTTOM LEFT EDGE)
.DB $96, $C9, $02, $EA ; SET PPU ADDR = $26C9, REPEAT DOWN 2 TIMES (VERT LINE)
.DB $AF, $09, $DF ; SET PPU ADDR = $2709, DRAW TILE (T LINE ROTATED RIGHT)
.DB $97, $29, $02, $EA ; SET PPU ADDR = $2729, REPEAT DOWN 2 TIMES (VERT LINE)
; REDUNDANT
.DB $AF, $69, $F2 ; SET PPU ADDR = $2769, DRAW TILE (BOTTOM LEFT EDGE)
; WILD CARD 3 & DIV CHAMP 3 LINES
.DB $9E, $6E, $04, $EB ; SET PPU ADDR = $266E, REPEAT ACROSS 4 TIMES (HORIZ LINE)
.DB $AE, $6D, $F0 ; SET PPU ADDR = $266D, DRAW TILE (LEFT CORNER |-)
.DB $9E, $EE, $04, $EB ; SET PPU ADDR = $26EE, REPEAT ACROSS 4 TIMES (HORIZ LINE)
.DB $AE, $ED, $F2 ; SET PPU ADDR = $26ED, DRAW TILE (BOTTOM LEFT EDGE)
.DB $AE, $8D, $EA ; SET PPU ADDR = $268D, DRAW TILE (VERT LINE)
.DB $AE, $AD, $DF ; SET PPU ADDR = $26AD, DRAW TILE (T LINE ROTATED RIGHT)
.DB $AE, $CD, $EA ; SET PPU ADDR = $26CD, DRAW TILE (VERT LINE)
.DB $AE, $A9, $F0 ; SET PPU ADDR = $26E9, DRAW TILE (LEFT CORNER |-)
; WILD CARD 3 & DIV CHAMP 3 WINNER LINE
.DB $9E, $AA, $03, $EB ; SET PPU ADDR = $26AA, REPEAT ACROSS 3 TIMES (HORIZ LINE)
; NFC DIVISIONAL WINNER BOTTOM LINE
.DB $9F, $06, $03, $EB ; SET PPU ADDR = $2706, REPEAT ACROSS 3T IMES (HORIZ LINE)
.DB $AF, $05, $F2 ; SET PPU ADDR = $2705, DRAW TILE (BOTTOM LEFT EDGE)
; NFC DIVISIONAL WINNER TO SUPERBOWL BOTTOM LINE + T
.DB $96, $45, $06, $EA ; SET PPU ADDR = $2645, REPEAT DOWN 6 TIMES (VERT LINE)
.DB $AE, $25, $DF ; SET PPU ADDR = $2625, DRAW TILE (T LINE ROTATED RIGHT)
; NFC SUPER BOWL LINE
.DB $9E, $20, $05, $EB ; SET PPU ADDR = $2620, REPEAT ACROSS 5 TIMES (HORIZ LINE)
.DB $FE ; RETURN
_F}_PLAYOFF_BRACKET_PLAYOFFS_SCREEN_SCRIPT
_F{_PRO_BOWL_MENU_SCREEN_SCRIPTS
PRO_BOWL_MENU_SCREEN_SCRIPT: ; 0X12-0X17 DRAW PRO BOWL GAME TYPE(MAN V MAN ETC) MENU
.DB $E1, $01 ; SET DRAW DELAY = 1 FRAME
.DB $85, $C5, <PRO_BOWL_MEN, >PRO_BOWL_MEN ; SET PPU ADDR = $25C5, DO->DRAW PRO BOWL GAME TYPE MENU
.DB $FF ; RETURN
PRO_BOWL_MEN: ; DRAW PRO BOWL GAME TYPE MENU
.DB $01, $08 ; LENGTH = 1, DRAW TOP LEFT CURVED MENU TILE
.DB $E8 ; MOVE RIGHT 8 TILES
.DB $85, $0D ; SET PPU ADDR = $250D
.DB $FD, <GAME_TYPE_MENU_SCRIPT, >GAME_TYPE_MENU_SCRIPT ; DO->GAME TYPE MENU
PRO_BOWL_CHOICE_SCREEN_SCRIPT: ; 0X18 DRAW PRO BOWL AFC/NFC CHOICE
.DB $CC ; CLEAR NAMETABLES AND SET SPRITES OFFSCREEN()
.DB $C8 ; SET IRQ0 SPLIT XSCROLL AND SOFT Y SCROLL LOC = 0()
.DB $D0, $18, $00 ; SET IRQ0 BG CHR BANKS = ($18,$00)
.DB $88, $8D ; SET PPU ADDR = $208D
.DB "SELECT" ;
.DB $80, $C4, <PROBWL_STARS, >PROBWL_STARS ; SET PPU ADDR = $20C4, DO->DRAW RED STAR ,WHITE STAR, BLUE STAR
.DB $80, $D8, <PROBWL_STARS, >PROBWL_STARS ; SET PPU ADDR = $20D8, DO->DRAW RED STAR ,WHITE STAR, BLUE STAR
.DB $88, $C8 ; SET PPU ADDR = $20C8
.DB "YOUR CONFERENCE" ;
.DB $8A, $29 ; SET PPU ADDR = $2229
.DB "AFC" ;
.DB $B1 ; DOWN 2 ROWS
.DB "1 P" ;
.DB $8A, $34 ; SET PPU ADDR = $2234
.DB "NFC" ;
.DB $F7, $2E ; DRAW BG (AFC AND NFC LOGOS)
.DB $EB, $06, $00 ; SET BG AND SPR PAL AND SET TO FULLY FADED IN (BG,SPR PAL INDEX)
.DB $FF ; END
PROBWL_STARS: ; DRAW RED STAR ,WHITE STAR, BLUE STAR
.DB $03 ; LENGTH = 3
.DB $1B, $1C, $19 ; RED STAR, WHITE START, BLUE STAR
.DB $FF ; END
_F}_PRO_BOWL_MENU_SCREEN_SCRIPTS