update cart release wait state based on direction
This commit is contained in:
@@ -429,9 +429,16 @@ Sprite_Minecart_Main:
|
|||||||
|
|
||||||
LDA SprTimerD, X : BNE .not_ready
|
LDA SprTimerD, X : BNE .not_ready
|
||||||
LDA #$40 : STA SprTimerA, X
|
LDA #$40 : STA SprTimerA, X
|
||||||
%GotoAction(0)
|
LDA.w !SpriteDirection, X : CMP.b #$00 : BEQ .vert
|
||||||
.not_ready
|
CMP.b #$02 : BEQ .vert
|
||||||
RTS
|
JMP .horiz
|
||||||
|
.vert
|
||||||
|
%GotoAction(1) ; Minecart_WaitVert
|
||||||
|
RTS
|
||||||
|
.horiz
|
||||||
|
%GotoAction(0)
|
||||||
|
.not_ready
|
||||||
|
RTS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user