From aef156ac6216ed157b06a2872ba051af43317e93 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 13 Apr 2026 16:34:11 +0200 Subject: Add sound effects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- src/driver.s | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/driver.s') diff --git a/src/driver.s b/src/driver.s index 2bc78ca..4e54e8c 100644 --- a/src/driver.s +++ b/src/driver.s @@ -240,6 +240,9 @@ sta zp_next_bullet_cycle sta zp_next_enemy_cycle + ;; And make the sound for entering into a level. + SOUND_ENTER_LEVEL + @game: ;; Has the player died? lda Globals::zp_flags @@ -818,6 +821,9 @@ ora #%01100000 sta Globals::zp_flags + ;; Make some noise! + START_TAKE_OFF_SOUND + rts .endproc @@ -928,6 +934,9 @@ ora #%01100000 sta Globals::zp_flags + ;; Stop the sound effect for take off. + STOP_TAKE_OFF_SOUND + rts @set: -- cgit v1.2.3