From f3244131019555f5f4222a8961d6fc65005d6e24 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Wed, 27 May 2015 06:56:42 -0400 Subject: [PATCH] Use symbolic constant for backgroundBlue. --- pewpew.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pewpew.asm b/pewpew.asm index 418c019..8e3533e 100644 --- a/pewpew.asm +++ b/pewpew.asm @@ -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