Jump to content

proads26

Recommended Posts

Does anyone know how the game applies the palette of the winning team to this screen?

SuperBowl_zps40ceff67.jpg

I'd like to apply the palette of the winning team to all of the scenes in the credits which are in color to make the credits seem more like a year in review for the winning team or something.

TSB TOOL!

When you first open tsbtool, go under the menu and check "show colors" (or something like this)

When you load the rom you'll now see the team colors and will be able to change the SB colors

Link to comment
Share on other sites

  • 4 months later...

both replies don't understand the question.  he is saying: "Does anyone know how the game applies the palette of the winning team to this screen? I'd like to apply the palette of the winning team to all of the scenes in the credits which are in color to make the credits seem more like a year in review for the winning team or something."


Link to comment
Share on other sites

both replies don't understand the question.  he is saying: "Does anyone know how the game applies the palette of the winning team to this screen? I'd like to apply the palette of the winning team to all of the scenes in the credits which are in color to make the credits seem more like a year in review for the winning team or something."

 

Good point.

Link to comment
Share on other sites

Trying to keep this answer fairly short.  TSB has a draw screen routine that handles the screen and effects.  The relevant draw section for the screen you want is:


 


SUPER_CHAMPION_SCREENS:
  .BYTE $C8
  .BYTE $F1
  .BYTE $F7, $20
  .BYTE $C0, $01, $88, $18, $1A
  .BYTE $F9, $02, $B6, $B7
  .BYTE $F6
  .BYTE $8A, $42
  .BYTE      "SUPER CHAMPION"
  .BYTE $FD, <L_7_ADF9, >L_7_ADF9 ; Commands to Draw Team Name
  .BYTE $FA, $1B                  ; Set Team Colors
  .BYTE $E5, $FF
  .BYTE $F3, $44
  .BYTE $FB, $F0
...

 


The FA 1B command does the following code:


L_24_8BCB: ; Do FA 1B command
LDA #BANK27
LDY #<L_27_800C
LDX #>L_27_800C
JSR bank_swap_8000_jump
LDA #$02
JMP L_24_8C48

L_27_800C:    JMP L_27_82BA
 
L_27_82BA: ; Set Palette Buffer
LDY #$E0
: LDA L_27_84F4-$E0,Y
STA $031A-$E0,Y ; Store in Palette Buffer
INY
BNE :-
JMP L_27_8290
 
L_27_8290: ; Set Team Colors
LDA $6E ; Team
ASL
ASL
TAX
LDA L_27_8484+0,X
STA $031B
STA $032B
LDA L_27_8484+1,X
STA $031C
STA $032C
LDA L_27_8484+2,X
STA $031F
STA $032F
LDA L_27_8484+3,X
STA $0320
STA $0330
RTS

 


The Palette Buffer is then transferred as the screen palette later.


Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...