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/bullets.s | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/bullets.s') diff --git a/src/bullets.s b/src/bullets.s index 1072a8f..9e40546 100644 --- a/src/bullets.s +++ b/src/bullets.s @@ -133,6 +133,9 @@ beq @find_free_bullet_bucket @initialize_bucket: + ;; Play the bullet sound if appropiate. + jsr Sound::play_bullet_maybe + ;; We found a free bucket. Initialize the first byte to 0 since it has ;; not moved yet. The heading is taken from the player's state. lda Player::zp_state -- cgit v1.2.3