diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-13 16:34:11 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-13 16:34:11 +0200 |
| commit | aef156ac6216ed157b06a2872ba051af43317e93 (patch) | |
| tree | a6daca2bc0353e6b59823bc6bf019362ecb02507 /src/driver.s | |
| parent | c3c6f3b4469bf9eadff5763fa16dbbbf15637e57 (diff) | |
| download | jetpac.nes-aef156ac6216ed157b06a2872ba051af43317e93.tar.gz jetpac.nes-aef156ac6216ed157b06a2872ba051af43317e93.zip | |
Add sound effects
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/driver.s')
| -rw-r--r-- | src/driver.s | 9 |
1 files changed, 9 insertions, 0 deletions
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: |
