mirror of
https://github.com/StewBC/penetrator-apple2.git
synced 2024-06-09 00:29:29 +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
|
lda #0 ; write 0 to the enemy strip columns
|
||||||
sta enemyBuffer, x
|
sta enemyBuffer, x
|
||||||
|
sta enemyHgtBuffer, x
|
||||||
inx
|
inx
|
||||||
sta enemyBuffer, x
|
sta enemyBuffer, x
|
||||||
|
sta enemyHgtBuffer, x
|
||||||
dey
|
dey
|
||||||
beq next ; early out on missiles and nukes
|
beq next ; early out on missiles and nukes
|
||||||
inx
|
inx
|
||||||
sta enemyBuffer, x
|
sta enemyBuffer, x
|
||||||
|
sta enemyHgtBuffer, x
|
||||||
dey
|
dey
|
||||||
beq next ; early out on monsters
|
beq next ; early out on monsters
|
||||||
inx
|
inx
|
||||||
sta enemyBuffer, x
|
sta enemyBuffer, x
|
||||||
|
sta enemyHgtBuffer, x
|
||||||
|
|
||||||
next:
|
next:
|
||||||
inc zaEnemyColLocal
|
inc zaEnemyColLocal
|
||||||
|
|
Loading…
Reference in New Issue
Block a user