STA instead of STX
This commit is contained in:
@@ -21,7 +21,7 @@ RigChestRNG:
|
|||||||
JSL.l DecrementItemCounter
|
JSL.l DecrementItemCounter
|
||||||
RTL
|
RTL
|
||||||
.forceHeart
|
.forceHeart
|
||||||
LDA #$33 : STX $C8 ; assure the correct state if player talked to shopkeeper
|
LDA #$33 : STA $C8 ; assure the correct state if player talked to shopkeeper
|
||||||
LDA $0403 : AND.b #$40 : BNE .notHeart
|
LDA $0403 : AND.b #$40 : BNE .notHeart
|
||||||
LDA #$07 ; give prize item
|
LDA #$07 ; give prize item
|
||||||
RTL
|
RTL
|
||||||
|
|||||||
Reference in New Issue
Block a user