Add Wolfos_Subdued and Wolfos_GrantMask

This commit is contained in:
scawful
2024-06-06 21:28:58 -04:00
parent 0d202a1142
commit 2483619407

View File

@@ -144,7 +144,8 @@ Sprite_Wolfos_Main:
dw Wolfos_WalkLeft ; 0x03 dw Wolfos_WalkLeft ; 0x03
dw Wolfos_AttackRight ; 0x04 dw Wolfos_AttackRight ; 0x04
dw Wolfos_AttackLeft ; 0x05 dw Wolfos_AttackLeft ; 0x05
dw Wolfos_Subdued dw Wolfos_Subdued ; 0x06
dw Wolfos_GrantMask ; 0x07
Wolfos_AttackForward: Wolfos_AttackForward:
{ {
@@ -252,6 +253,9 @@ Sprite_Wolfos_Main:
RTS RTS
} }
Wolfos_Subdued: Wolfos_Subdued:
{ {
%PlayAnimation(0, 0, 10) %PlayAnimation(0, 0, 10)
@@ -260,8 +264,20 @@ Sprite_Wolfos_Main:
; 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 $FE : BEQ .ninguna_cancion
STZ $FE
LDA.b #$C0 : STA.w SprTimerD, X
%GotoAction(7)
.ninguna_cancion
RTS RTS
} }
Wolfos_GrantMask:
{
LDY #$13 : STZ $02E9 ; Give the Wolf Mask
JSL Link_ReceiveItem
LDA #$01 : STA.l $7EF303 ; Set the special flag
}
} }
Sprite_TimerAction: Sprite_TimerAction: