From 6ac84cb4e723ed239dc654fd9dfdf821bc4fd76b Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Thu, 13 Jun 2019 16:06:23 -0400 Subject: [PATCH] sprites: game over --- interlace_demo/sprites.s | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/interlace_demo/sprites.s b/interlace_demo/sprites.s index 73bdc118..cee96c37 100644 --- a/interlace_demo/sprites.s +++ b/interlace_demo/sprites.s @@ -55,7 +55,7 @@ GREEN2 = $82 GREEN3 = $83 GREEN4 = $84 ZERO = $85 - +GAME_OVER = $86 ; Soft Switches KEYPRESS= $C000 @@ -567,9 +567,11 @@ ship_collision: lda #1 ; 2 sta ASTEROID_EXPLODE ; 3 - lda #3 ; 2 + lda #1 ; 2 sta LEVEL_DONE ; 3 - nop + + lda #1 + sta GAME_OVER jmp ship_collision_done ; 3 ;====