update wolfos grant mask sequence

This commit is contained in:
scawful
2024-06-06 21:35:33 -04:00
parent 2483619407
commit 8ce20d53a3

View File

@@ -253,9 +253,6 @@ Sprite_Wolfos_Main:
RTS RTS
} }
Wolfos_Subdued: Wolfos_Subdued:
{ {
%PlayAnimation(0, 0, 10) %PlayAnimation(0, 0, 10)
@@ -263,20 +260,31 @@ Sprite_Wolfos_Main:
STZ.w SprYSpeed, X STZ.w SprYSpeed, X
; Run the dialogue and wait for a song of healing flag to be set ; Run the dialogue and wait for a song of healing flag to be set
LDA SprMiscD, X : BEQ .wait
LDA $FE : BEQ .ninguna_cancion %ShowSolicitedMessage($20) : BCC .no_hablaba
STZ $FE LDA.b #$01 : STA SprMiscD, X
LDA.b #$C0 : STA.w SprTimerD, X .wait
%GotoAction(7) LDA $FE : BEQ .ninguna_cancion
.ninguna_cancion STZ $FE
LDA.b #$C0 : STA.w SprTimerD, X
%GotoAction(7)
.ninguna_cancion
.no_hablaba
RTS RTS
} }
Wolfos_GrantMask: Wolfos_GrantMask:
{ {
%PlayAnimation(0, 0, 10)
LDY #$13 : STZ $02E9 ; Give the Wolf Mask LDY #$13 : STZ $02E9 ; Give the Wolf Mask
JSL Link_ReceiveItem JSL Link_ReceiveItem
LDA #$01 : STA.l $7EF303 ; Set the special flag LDA #$01 : STA.l $7EF303 ; Set the special flag
LDA SprTimerD, X : BEQ .no_dialogue
LDA.b #$06 : STA $0DD0, X ; kill sprite normal style
.no_dialogue
RTS
} }
} }