Add PHX/PLX in a better spot to prevent CountBottles from overwritting X
This commit is contained in:
committed by
caitsith2
parent
b5c7846c40
commit
8cf3ccb13e
@@ -1150,6 +1150,7 @@ AttemptItemSubstitution:
|
|||||||
RTS
|
RTS
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
CountBottles:
|
CountBottles:
|
||||||
|
PHX
|
||||||
LDX.b #$00
|
LDX.b #$00
|
||||||
LDA $7EF35C : BEQ ++ : INX
|
LDA $7EF35C : BEQ ++ : INX
|
||||||
++ : LDA $7EF35D : BEQ ++ : INX
|
++ : LDA $7EF35D : BEQ ++ : INX
|
||||||
@@ -1157,6 +1158,7 @@ CountBottles:
|
|||||||
++ : LDA $7EF35F : BEQ ++ : INX
|
++ : LDA $7EF35F : BEQ ++ : INX
|
||||||
++
|
++
|
||||||
TXA
|
TXA
|
||||||
|
PLX
|
||||||
RTS
|
RTS
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
ActivateGoal:
|
ActivateGoal:
|
||||||
|
|||||||
Reference in New Issue
Block a user