Fix slots reward sfx priority

This commit is contained in:
dannye 2021-04-03 15:18:48 -05:00
parent 17044ab7eb
commit 63c3f5221b

View file

@ -411,6 +411,7 @@ SlotMachine_CheckForMatches:
call PrintText call PrintText
.done .done
xor a xor a
ld [wSFXPriority], a
; ld [wMuteAudioAndPauseMusic], a ; ld [wMuteAudioAndPauseMusic], a
ret ret
.rollWheel3DownByOneSymbol .rollWheel3DownByOneSymbol
@ -692,6 +693,8 @@ SlotMachine_PayCoinsToPlayer:
call SlotMachine_PrintPayoutCoins call SlotMachine_PrintPayoutCoins
ld a, SFX_SLOTS_REWARD ld a, SFX_SLOTS_REWARD
call PlaySound call PlaySound
ld a, 1
ld [wSFXPriority], a
ld a, [wAnimCounter] ld a, [wAnimCounter]
dec a dec a
jr nz, .skip1 jr nz, .skip1