diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-08 16:15:21 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-08 16:15:21 -0400 |
commit | 542c0fd325a289c1bca43feaeadf2b2d8ceea145 (patch) | |
tree | d98f874e6eb308d6d9d03d97f02ace367fae3a96 | |
parent | 829d394ded54bcc091b36ce3f8a6c2065a96d1e9 (diff) | |
download | nes-snake-542c0fd325a289c1bca43feaeadf2b2d8ceea145.tar.gz nes-snake-542c0fd325a289c1bca43feaeadf2b2d8ceea145.zip |
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
-rw-r--r-- | main.s | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |