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: BigChuchu_Dead:
{ {
#_068517: LDA.b #$FF LDA.b #$FF
#_068519: STA.w $0BC0, X STA.w $0BC0, X
LDA.b #$04 : STA.w SprState, X LDA.b #$04 : STA.w SprState, X
STZ.w SprHealth, X STZ.w SprHealth, X
RTS RTS

View File

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

View File

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