fix helmet chuchu animation bug where helmet wouldnt appear in frame 0

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

View File

@@ -63,6 +63,13 @@ Sprite_HelmetChuchu_Prep:
JSL GetRandomInt : AND.b #$02 : STA SprAction, X
STZ.w SprMiscB, X
LDA.w SprAction, X : BNE +
LDA.b #$04 : STA.w SprFrame, X
+
CMP.b #$02 : BNE +
LDA.b #$02 : STA.w SprFrame, X
+
PLB
RTL
}