set SprTimerA after deciding minecart direction
This commit is contained in:
@@ -524,7 +524,7 @@ HandleTileDirections:
|
|||||||
JSL Player_ResetState
|
JSL Player_ResetState
|
||||||
RTS
|
RTS
|
||||||
|
|
||||||
; -------------------------------------------------------
|
; -----------------------------------------------------
|
||||||
.check_for_movement
|
.check_for_movement
|
||||||
CMP.b #$B2 : BEQ .check_direction
|
CMP.b #$B2 : BEQ .check_direction
|
||||||
CMP.b #$B3 : BEQ .check_direction
|
CMP.b #$B3 : BEQ .check_direction
|
||||||
@@ -593,6 +593,7 @@ HandleTileDirections:
|
|||||||
LDA SprY, X : AND #$F8 : STA SprY, X
|
LDA SprY, X : AND #$F8 : STA SprY, X
|
||||||
%GotoAction(5) ; Minecart_MoveWest
|
%GotoAction(5) ; Minecart_MoveWest
|
||||||
.done
|
.done
|
||||||
|
LDA #$04 : STA SprTimerA, X
|
||||||
RTS
|
RTS
|
||||||
|
|
||||||
; Direction to move on tile collision
|
; Direction to move on tile collision
|
||||||
|
|||||||
Reference in New Issue
Block a user