This commit is contained in:
Pecusx
2024-11-27 12:40:17 +01:00
parent 61e8de3cbe
commit 8526449efa
2 changed files with 18 additions and 1 deletions
+18 -1
View File
@@ -183,7 +183,7 @@ DLI
;-------------------------------------------------- ;--------------------------------------------------
main main
jsr initialize jsr initialize
mva #$80 AutoPlay mva #$0 AutoPlay
loop loop
mva #maxBalls-1 currBall mva #maxBalls-1 currBall
@@ -627,6 +627,22 @@ NoAuto
cmp #maxBalls cmp #maxBalls
jne loop jne loop
DecreaseLives
dec Lives
lda Lives
cmp #"0"
beq gameOver
NextLive
ldy #maxBalls
sty eXistenZstackPtr
;OK, one ball starts!
lda eXistenZstack,Y
dey
sty eXistenZstackPtr
tax
jsr randomStart ;just one random pixxxel
;previously the whole band of ballz
jmp loop
;game over ;game over
gameOver gameOver
jsr HiScoreCheckWrite jsr HiScoreCheckWrite
@@ -921,6 +937,7 @@ initialize
mva #0 dliCount mva #0 dliCount
jsr ScoreClear jsr ScoreClear
mva #"9" Lives
jsr clearscreen jsr clearscreen
jsr drawBricks jsr drawBricks
BIN
View File
Binary file not shown.