mirror of
https://github.com/pkali/Avery_Breakout.git
synced 2026-05-20 22:33:55 +02:00
Bonus for every 1000 points
This commit is contained in:
BIN
Binary file not shown.
@@ -1065,6 +1065,17 @@ clearDeadLoop
|
|||||||
lda #"0" ; 0 character code
|
lda #"0" ; 0 character code
|
||||||
sta score+3
|
sta score+3
|
||||||
inc score+2
|
inc score+2
|
||||||
|
; bonus !!! :)
|
||||||
|
lda Lives
|
||||||
|
cmp #"9"
|
||||||
|
beq noLivesUP
|
||||||
|
inc Lives
|
||||||
|
mva #05 sfx_effect
|
||||||
|
mva #$ff COLBAKS
|
||||||
|
pause 2 ; sorry
|
||||||
|
inc COLBAKS
|
||||||
|
noLivesUP
|
||||||
|
;----------
|
||||||
lda score+2
|
lda score+2
|
||||||
cmp #"9"+1 ; 9+1 character code
|
cmp #"9"+1 ; 9+1 character code
|
||||||
bne ScoreReady
|
bne ScoreReady
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user