sprite cleanup

This commit is contained in:
scawful
2024-12-10 19:01:58 -05:00
parent 56439fd7ab
commit 69554a4c9b
2 changed files with 3 additions and 3 deletions

View File

@@ -174,8 +174,8 @@ Sprite_AntiKirby_Main:
JSL Sprite_DirectionToFacePlayer JSL Sprite_DirectionToFacePlayer
LDA.b $0E : CMP.b #$10 : BCS .NotDone LDA.b $0E : CMP.b #$10 : BCS .NotDone
LDA.b $0F : CMP.b #$10 : BCS .NotDone LDA.b $0F : CMP.b #$10 : BCS .NotDone
LDA POSX : STA.w SprMiscB, X LDA.w POSX : STA.w SprMiscB, X
LDA POSY : STA.w SprMiscA, X LDA.w POSY : STA.w SprMiscA, X
LDA.b #$0C : STA.b $4B LDA.b #$0C : STA.b $4B
%SetTimerA($80) %SetTimerA($80)
LDA.b #$0A : STA.w SprFrame, X LDA.b #$0A : STA.w SprFrame, X

View File

@@ -51,7 +51,7 @@ Sprite_Goron_Prep:
{ {
PHB : PHK : PLB PHB : PHK : PLB
LDA.w WORLDFLAG : BEQ + LDA.w WORLDFLAG : BEQ +
LDA AreaIndex : CMP.b #$55 : BNE .not_sing LDA.w AreaIndex : CMP.b #$55 : BNE .not_sing
LDA.b #$04 : STA.w SprAction, X LDA.b #$04 : STA.w SprAction, X
.not_sing .not_sing
JSL GetRandomInt : AND.b #$01 : BEQ .rand JSL GetRandomInt : AND.b #$01 : BEQ .rand