Sprites housekeeping

This commit is contained in:
scawful
2024-11-21 21:02:28 -05:00
parent f25ae499d7
commit 78cf800378
3 changed files with 81 additions and 84 deletions

View File

@@ -389,8 +389,8 @@ Sprite_Manhandla_Main:
BigChuchu_Dead:
{
#_068517: LDA.b #$FF
#_068519: STA.w $0BC0, X
LDA.b #$FF
STA.w $0BC0, X
LDA.b #$04 : STA.w SprState, X
STZ.w SprHealth, X
RTS

View File

@@ -76,7 +76,6 @@ Sprite_DekuLeaf_Main:
JSL UseImplicitRegIndexedLocalJumpTable
dw WaitForPlayer
dw Whirlpool_Main
WaitForPlayer:
@@ -92,7 +91,6 @@ Sprite_DekuLeaf_Main:
RTS
}
Whirlpool_Main:
{
%PlayAnimation(0, 2, 10)
@@ -151,7 +149,6 @@ Sprite_DekuLeaf_Main:
.exit
RTS
}
}
; =========================================================

View File

@@ -105,7 +105,7 @@ Sprite_IceBlock_Main:
; matches the push direction (cached) and then initiate
; the speed changes if they agree
JSL Sprite_CheckDamageToPlayerSameLayer : BCC NotInContact
JSL Sprite_CheckDamageToPlayerSameLayer : BCC .NotInContact
LDA.w SprMiscA, X : BNE .push_cached
LDA.b $26 : STA.w SprMiscA, X
JSR ApplyPush