Use symbolic constant for backgroundBlue.

This commit is contained in:
Colin McMillen 2015-05-27 06:56:42 -04:00
parent 292cb079a5
commit f324413101

View File

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