mirror of
https://github.com/jeremysrand/BuGS.git
synced 2024-09-27 21:54:51 +00:00
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:
parent
a718c8caef
commit
63fb8a0e22
@ -2002,7 +2002,7 @@ leftDownBody2s entry
|
|||||||
sta $0,s
|
sta $0,s
|
||||||
|
|
||||||
lda $a0,s
|
lda $a0,s
|
||||||
and #$f0ff
|
; and #$f0ff not necessary with pure green
|
||||||
ora #$0c00
|
ora #$0c00
|
||||||
sta $a0,s
|
sta $a0,s
|
||||||
|
|
||||||
|
@ -707,7 +707,7 @@
|
|||||||
_collision &mask
|
_collision &mask
|
||||||
|
|
||||||
tax
|
tax
|
||||||
and #$0c00
|
and &mask
|
||||||
beq ~&SYSCNT
|
beq ~&SYSCNT
|
||||||
sta collision
|
sta collision
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user