Fixed bug when killing enemies

Also wipe out the enemy height when killing the enemy
This commit is contained in:
StewBC 2020-01-16 08:48:46 -08:00
parent 3c4b4df6c0
commit a1a6ce8919

View File

@ -1154,16 +1154,20 @@ continue:
lda #0 ; write 0 to the enemy strip columns
sta enemyBuffer, x
sta enemyHgtBuffer, x
inx
sta enemyBuffer, x
sta enemyHgtBuffer, x
dey
beq next ; early out on missiles and nukes
inx
sta enemyBuffer, x
sta enemyHgtBuffer, x
dey
beq next ; early out on monsters
inx
sta enemyBuffer, x
sta enemyHgtBuffer, x
next:
inc zaEnemyColLocal