Add B button check to start riding, allows for easier lifting with A button
This commit is contained in:
@@ -212,6 +212,7 @@ Sprite_Minecart_Main:
|
|||||||
|
|
||||||
LDA !LinkCarryOrToss : AND #$03 : BNE .lifting
|
LDA !LinkCarryOrToss : AND #$03 : BNE .lifting
|
||||||
JSR CheckIfPlayerIsOn : BCC .not_ready
|
JSR CheckIfPlayerIsOn : BCC .not_ready
|
||||||
|
LDA $F4 : AND.b #$80 : BEQ .not_ready ; Check for B button
|
||||||
|
|
||||||
JSL Player_HaltDashAttack ; Stop the player from dashing
|
JSL Player_HaltDashAttack ; Stop the player from dashing
|
||||||
LDA #$02 : STA $02F5 ; Somaria platform and moving
|
LDA #$02 : STA $02F5 ; Somaria platform and moving
|
||||||
@@ -231,8 +232,6 @@ Sprite_Minecart_Main:
|
|||||||
%GotoAction(3) ; Minecart_MoveEast
|
%GotoAction(3) ; Minecart_MoveEast
|
||||||
|
|
||||||
.not_ready
|
.not_ready
|
||||||
RTS
|
|
||||||
|
|
||||||
.lifting
|
.lifting
|
||||||
%HandleLiftAndToss()
|
%HandleLiftAndToss()
|
||||||
RTS
|
RTS
|
||||||
@@ -247,6 +246,7 @@ Sprite_Minecart_Main:
|
|||||||
|
|
||||||
LDA !LinkCarryOrToss : AND #$03 : BNE .lifting
|
LDA !LinkCarryOrToss : AND #$03 : BNE .lifting
|
||||||
JSR CheckIfPlayerIsOn : BCC .not_ready
|
JSR CheckIfPlayerIsOn : BCC .not_ready
|
||||||
|
LDA $F4 : AND.b #$80 : BEQ .not_ready ; Check for B button
|
||||||
|
|
||||||
JSL Player_HaltDashAttack ; Stop the player from dashing
|
JSL Player_HaltDashAttack ; Stop the player from dashing
|
||||||
LDA #$02 : STA $02F5 ; Somaria platform and moving
|
LDA #$02 : STA $02F5 ; Somaria platform and moving
|
||||||
|
|||||||
Reference in New Issue
Block a user