mirror of
https://github.com/pkali/Avery_Breakout.git
synced 2026-05-20 22:33:55 +02:00
9 lives
This commit is contained in:
+18
-1
@@ -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
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user