From 2bf56bb422b240790d17e69aec48674976669873 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Mon, 25 May 2015 14:32:07 -0400 Subject: [PATCH] Change addresses back, to match the comment. --- pewpew.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pewpew.asm b/pewpew.asm index f44019f..160d71c 100644 --- a/pewpew.asm +++ b/pewpew.asm @@ -26,10 +26,10 @@ .define backgroundGreen $18 .define backgroundBlue $19 .define randomBytePtr $1A -.define playerX $40 -.define playerY $41 -.define shotCooldown $42 -.define shotData $50 +.define playerX $20 +.define playerY $21 +.define shotCooldown $22 +.define shotData $30 ; TODO(mcmillen): verify that we can relocate these without messing things up. .define spriteTableStart $100 @@ -315,7 +315,7 @@ JoypadDebug: JoypadHandler: - +; TODO(mcmillen): handle joystick using 16-bit loads? JoypadUp: lda JOY1H and #$08 ; Up