mirror of
https://github.com/StewBC/penetrator-apple2.git
synced 2024-12-27 21:31:01 +00:00
Fixed bug when killing enemies
Also wipe out the enemy height when killing the enemy
This commit is contained in:
parent
3c4b4df6c0
commit
a1a6ce8919
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user