sounds, menu tweaks

This commit is contained in:
2026-07-16 10:42:57 +02:00
parent 88922bd932
commit f2bf6ba6ad
5 changed files with 174 additions and 9 deletions
+6
View File
@@ -257,6 +257,8 @@ pu_rnext:
lda miss
cmp #MAX_MISS
bcc pu_done
lda #SFX_OVER
jsr sfx_play
jmp over_init ; its rts returns to the main loop
pu_done:
rts
@@ -423,6 +425,8 @@ at_done:
; ---- score: bump the decimal digits and the difficulty byte ----
add_score:
lda #SFX_SCORE
jsr sfx_play
lda score8
cmp #$ff
beq as_digits
@@ -461,6 +465,8 @@ draw_score:
; ---- miss: X mark on the HUD + blink the scooter ----
add_miss:
lda #SFX_MISS
jsr sfx_play
inc miss
ldy miss ; Y: the rabbit loop still needs X
lda #24 ; 'x'