Ignore offscreen collisions

This commit is contained in:
Jeremy Rand 2020-11-17 23:43:28 -05:00
parent 520aaa5a34
commit 7d64340b5d

View File

@ -140,6 +140,8 @@ updateShot_checkCollision anop
bne updateShot_collision bne updateShot_collision
rtl rtl
updateShot_collision anop updateShot_collision anop
cpx #SCREEN_ADDRESS
blt updateShot_done
and #$3333 and #$3333
bne updateShot_maybeMushroom bne updateShot_maybeMushroom