From 542c0fd325a289c1bca43feaeadf2b2d8ceea145 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 8 Oct 2014 16:15:21 -0400 Subject: adjust the y offset for the snake sprite apparently the background sprites don't align on 8 pixel boundaries in the y axis? not sure why --- main.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.s b/main.s index f43c894..2ef56bc 100644 --- a/main.s +++ b/main.s @@ -268,9 +268,9 @@ check_collisions BCS collision LDA head_y - CMP #$20 + CMP #$1D BCC collision - CMP #$E0 + CMP #$DD BCS collision JMP end_game_loop @@ -309,6 +309,7 @@ start_game: ; {{{ LDA #$80 STA head_x + LDA #$7D STA head_y - BIT $2002 -- cgit v1.2.3-54-g00ecf