move the mermaid splash spawn code

This commit is contained in:
scawful
2024-06-18 10:58:59 -04:00
parent b637195ffe
commit c340485a35

View File

@@ -111,13 +111,13 @@ Sprite_Mermaid_Main:
%PlayAnimation(3,3,20)
JSL Sprite_Move
LDA.b #10 : STA.w SprXSpeed, X
JSR SpawnSplash
LDA.w SprMiscD,X : BNE ++
STZ.w SprState, X
++
LDA.w SprTimerA, X : BEQ +
JSR SpawnSplash
LDA.b #-10 : STA.w SprYSpeed, X
STZ.w SprXSpeed, X