From 24836194077bec9baa3a20d9344e35cb5fa3cafe Mon Sep 17 00:00:00 2001 From: scawful Date: Thu, 6 Jun 2024 21:28:58 -0400 Subject: [PATCH] Add Wolfos_Subdued and Wolfos_GrantMask --- Sprites/Bosses/wolfos.asm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Sprites/Bosses/wolfos.asm b/Sprites/Bosses/wolfos.asm index 78785c2..04e5891 100644 --- a/Sprites/Bosses/wolfos.asm +++ b/Sprites/Bosses/wolfos.asm @@ -144,7 +144,8 @@ Sprite_Wolfos_Main: dw Wolfos_WalkLeft ; 0x03 dw Wolfos_AttackRight ; 0x04 dw Wolfos_AttackLeft ; 0x05 - dw Wolfos_Subdued + dw Wolfos_Subdued ; 0x06 + dw Wolfos_GrantMask ; 0x07 Wolfos_AttackForward: { @@ -252,6 +253,9 @@ Sprite_Wolfos_Main: RTS } + + + Wolfos_Subdued: { %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 + LDA $FE : BEQ .ninguna_cancion + STZ $FE + LDA.b #$C0 : STA.w SprTimerD, X + %GotoAction(7) + .ninguna_cancion 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: