update cart release wait state based on direction

This commit is contained in:
scawful
2024-05-22 20:16:50 -04:00
parent 5f4e6b6908
commit 9bbb49b83f

View File

@@ -429,6 +429,13 @@ Sprite_Minecart_Main:
LDA SprTimerD, X : BNE .not_ready
LDA #$40 : STA SprTimerA, X
LDA.w !SpriteDirection, X : CMP.b #$00 : BEQ .vert
CMP.b #$02 : BEQ .vert
JMP .horiz
.vert
%GotoAction(1) ; Minecart_WaitVert
RTS
.horiz
%GotoAction(0)
.not_ready
RTS