add interactable helmet chuchu subtypes, wip

This commit is contained in:
scawful
2024-06-28 15:15:54 -04:00
parent 3c09d9b5a1
commit bfbe46861f

View File

@@ -81,11 +81,14 @@ Sprite_HelmetChuchu_Main:
LDA.w SprAction, X
JSL UseImplicitRegIndexedLocalJumpTable
dw HelmetGreen
dw NoHelmetGreen
dw MaskRed
dw GreenChuchu_Helmet
dw GreenChuchu_NoHelmet
dw RedChuchu_Masked
; TODO: Add subtypes of just the helmet/mask gfx which can be hookshoted/hammered/lifted
dw HelmetSubtype
dw MaskSubtype
HelmetGreen:
GreenChuchu_Helmet:
{
%StartOnFrame(4)
%PlayAnimation(4, 5, 16)
@@ -96,7 +99,7 @@ Sprite_HelmetChuchu_Main:
RTS
}
NoHelmetGreen:
GreenChuchu_NoHelmet:
{
%StartOnFrame(0)
%PlayAnimation(0, 1, 16)
@@ -105,7 +108,7 @@ Sprite_HelmetChuchu_Main:
RTS
}
MaskRed:
RedChuchu_Masked:
{
%StartOnFrame(2)
%PlayAnimation(2, 3, 16)
@@ -113,6 +116,16 @@ Sprite_HelmetChuchu_Main:
JSR Sprite_Chuchu_Move
RTS
}
HelmetSubtype:
{
RTS
}
MaskSubtype:
{
RTS
}
}
Sprite_Chuchu_Move: