From a1a6ce8919be5f727ba7ec373cbd940537d1334d Mon Sep 17 00:00:00 2001 From: StewBC Date: Thu, 16 Jan 2020 08:48:46 -0800 Subject: [PATCH] Fixed bug when killing enemies Also wipe out the enemy height when killing the enemy --- src/apple2/game.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apple2/game.inc b/src/apple2/game.inc index 3b1ede9..af4f17a 100644 --- a/src/apple2/game.inc +++ b/src/apple2/game.inc @@ -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