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