don't require both shoulders twice; causes too much lag

This commit is contained in:
ken
2021-03-16 22:23:06 -07:00
parent a19c72a062
commit 025b4941f3

View File

@@ -124,9 +124,9 @@ RTL
;ProcessBottleMenu:
;--------------------------------------------------------------------------------
ProcessBottleMenu:
LDA $F6 : AND #$30 : CMP.b #$30 : BEQ .double_shoulder_pressed
LDA $F4 : AND #$40 : BEQ .y_not_pressed ; skip if Y is not down
.double_shoulder_pressed
; LDA $F6 : AND #$30 : CMP.b #$30 : BEQ .double_shoulder_pressed
; LDA $F4 : AND #$40 : BEQ .y_not_pressed ; skip if Y is not down
; .double_shoulder_pressed
LDA $7EF34F ; check bottle state
BEQ .no_bottles ; skip if we have no bottles
PHX
@@ -139,9 +139,9 @@ ProcessBottleMenu:
.no_bottles
LDA #$00 ; pretend like the controller state was 0 from the overridden load
RTL
.y_not_pressed
LDA $F4 : AND.b #$0C ; thing we wrote over - load controller state
RTL
; .y_not_pressed
; LDA $F4 : AND.b #$0C ; thing we wrote over - load controller state
;RTL
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------