Minor fix to flute SFX for pre-activated flute

This commit is contained in:
codemann8
2022-03-18 23:21:45 -05:00
parent eb30242920
commit 697a742e09

View File

@@ -1218,8 +1218,8 @@ RTL
;--------------------------------------------------------------------------------
; A = item id being collected
ItemGetAlternateSFX:
PEA $C567 ; PC to RTS to in bank 08
CMP #$4A : BNE +
PEA $C567 ; SNES to RTS to in bank 08
LDA.w $0C5E,X : CMP #$4A : BNE +
; collecting pre-activated flute
LDA #$13 : JML $088007
+ ; normal itemget sfx
@@ -1228,7 +1228,7 @@ LDA #$0F : JML $08800E ; what we wrote over
; A = item id being collected
ItemGetOverworldAlternateSFX:
CMP.b #$4A : BNE +
LDA.b #$13 : STA.w $012E
JSL Sound_SetSfxPanWithPlayerCoords : ORA.b #$13 : STA.w $012E
RTL
+ ; normal itemget sfx
JSL Sound_SetSfxPanWithPlayerCoords : ORA.b #$0F : STA.w $012F ; what we wrote over