Browse Source

Use symbolic constant for backgroundBlue.

main
Colin McMillen 9 years ago
parent
commit
f324413101
  1. 4
      pewpew.asm

4
pewpew.asm

@ -284,7 +284,7 @@ InitializeSpriteTables:
InitializeWorld: InitializeWorld:
; Start the background color as a dark blue. ; Start the background color as a dark blue.
lda #4 lda #4
sta $24
sta backgroundBlue
; Player's initial starting location. ; Player's initial starting location.
lda #(256 / 4) lda #(256 / 4)
@ -568,7 +568,7 @@ ShotDone:
SetBackgroundColor: SetBackgroundColor:
; The background-color bytes are (R, G, B), each ranging from [0-31]. ; The background-color bytes are (R, G, B), each ranging from [0-31].
; The palette color format is 15-bit: [0bbbbbgg][gggrrrrr] ; The palette color format is 15-bit: [0bbbbbgg][gggrrrrr]
; Set the background color. ; Set the background color.
; Entry 0 corresponds to the SNES background color. ; Entry 0 corresponds to the SNES background color.
stz CGADDR stz CGADDR

Loading…
Cancel
Save