From f1a341a751ecfa29d2d201d77236a0260db24dfb Mon Sep 17 00:00:00 2001 From: Randy Thiemann Date: Sat, 21 Oct 2023 19:25:00 +0200 Subject: [PATCH] Make the SFX for sonic drops and landings a bit more subtle. --- src/field.asm | 4 +++- src/sfx.asm | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/field.asm b/src/field.asm index b719240..350b07a 100644 --- a/src/field.asm +++ b/src/field.asm @@ -973,7 +973,8 @@ FieldProcess:: ldh a, [hDownState] cp a, 0 jr nz, :+ - ld a, SFX_DROP + call SFXKill + ld a, SFX_MOVE call SFXEnqueue ; If the down button is held, lock. : ldh a, [hDownState] @@ -987,6 +988,7 @@ FieldProcess:: ; If we're out of lock delay, play a sound. cp a, 0 jr nz, .draw + call SFXKill ld a, SFX_LOCK call SFXEnqueue jr .draw diff --git a/src/sfx.asm b/src/sfx.asm index bccb9bd..2c3fa94 100644 --- a/src/sfx.asm +++ b/src/sfx.asm @@ -715,7 +715,7 @@ sSFXBell:: db REG_NR22_CH2_VOLEV, $08, REG_NR23_CH2_FRQLO, $97, REG_NR24_CH2_FRQHI, $87, $FE sSFXBellEnd:: sSFXMove:: - db REG_NR42_CH4_VOLEV, $21, REG_NR41_CH4_LENGT, $3F, REG_NR42_CH4_VOLEV, $21, REG_NR43_CH4_FQRND, $00 + db REG_NR42_CH4_VOLEV, $F1, REG_NR41_CH4_LENGT, $3F, REG_NR42_CH4_VOLEV, $F1, REG_NR43_CH4_FQRND, $00 db REG_NR44_CH4_CNTRL, $80, $FE sSFXMoveEnd:: sSFXRankUp::