STA instead of STX

This commit is contained in:
sporchia
2017-08-11 23:21:43 -04:00
parent e3ba7a1757
commit 201e371998

View File

@@ -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