add peacetime deku scrub npcs

This commit is contained in:
scawful
2024-09-04 06:52:09 -04:00
parent dcc5907e48
commit 5d65fbc4f6

View File

@@ -55,6 +55,16 @@ Sprite_DekuScrub_Prep:
PHB : PHK : PLB
LDA.b #$80 : STA.w SprDefl, X
LDA.b $8A : CMP.b #$2E : BNE .check_next
LDA.b #$07 : STA.w SprAction, X
JMP .PlayIntro
.check_next
CMP.b #$2F : BNE .continue
LDA.b #$08 : STA.w SprAction, X
JMP .PlayIntro
.continue
LDA.w SprSubtype, X : CMP.b #$01 : BEQ .DekuButler
CMP.b #$02 : BEQ .DekuPrincess
@@ -91,6 +101,10 @@ Sprite_DekuScrub_Main:
dw DekuButler
dw DekuPrincess
dw DekuButler_Peacetime
dw DekuPrinces_Peacetime
EstadoInactivo:
{
%PlayAnimation(0, 1, 16)
@@ -159,6 +173,24 @@ Sprite_DekuScrub_Main:
%ShowSolicitedMessage($0C3)
RTS
}
DekuButler_Peacetime:
{
%StartOnFrame(3)
%PlayAnimation(3, 3, 10)
JSL Sprite_PlayerCantPassThrough
; %ShowSolicitedMessage($0C4)
RTS
}
DekuPrinces_Peacetime:
{
%StartOnFrame(4)
%PlayAnimation(4, 4, 10)
JSL Sprite_PlayerCantPassThrough
; %ShowSolicitedMessage($0C5)
RTS
}
}
; =========================================================