From 201e371998d02366ccf641e369143decf58a5240 Mon Sep 17 00:00:00 2001 From: sporchia Date: Fri, 11 Aug 2017 23:21:43 -0400 Subject: [PATCH] STA instead of STX --- rngfixes.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rngfixes.asm b/rngfixes.asm index 3ed0b49..bc722bc 100644 --- a/rngfixes.asm +++ b/rngfixes.asm @@ -21,7 +21,7 @@ RigChestRNG: JSL.l DecrementItemCounter RTL .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 #$07 ; give prize item RTL