set SprTimerA after deciding minecart direction

This commit is contained in:
scawful
2024-06-06 20:44:34 -04:00
parent c20cab23d1
commit 67920c2753

View File

@@ -524,7 +524,7 @@ HandleTileDirections:
JSL Player_ResetState
RTS
; -------------------------------------------------------
; -----------------------------------------------------
.check_for_movement
CMP.b #$B2 : BEQ .check_direction
CMP.b #$B3 : BEQ .check_direction
@@ -593,6 +593,7 @@ HandleTileDirections:
LDA SprY, X : AND #$F8 : STA SprY, X
%GotoAction(5) ; Minecart_MoveWest
.done
LDA #$04 : STA SprTimerA, X
RTS
; Direction to move on tile collision