Fix a bug in the _collision macro where the mask was not being used. Remove an unnecessary and instruction when drawing heads and body segments.

This commit is contained in:
Jeremy Rand 2020-07-14 01:49:07 -04:00
parent a718c8caef
commit 63fb8a0e22
2 changed files with 2 additions and 2 deletions

View File

@ -2002,7 +2002,7 @@ leftDownBody2s entry
sta $0,s
lda $a0,s
and #$f0ff
; and #$f0ff not necessary with pure green
ora #$0c00
sta $a0,s

View File

@ -707,7 +707,7 @@
_collision &mask
tax
and #$0c00
and &mask
beq ~&SYSCNT
sta collision