From 9208d06f3ad76235249cb0c92dadbfd722371cc9 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Sat, 7 Feb 2026 23:52:47 -0600 Subject: [PATCH] Fix bonk torches and smithy --- bookofmudora.asm | 8 ++++++-- swordswap.asm | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bookofmudora.asm b/bookofmudora.asm index 1077ab4..682bb21 100644 --- a/bookofmudora.asm +++ b/bookofmudora.asm @@ -57,8 +57,13 @@ GiveBonkItem: PHY : TAY JSL ShieldCheck TYA : PLY - BCC .done + BCS + + STZ.w $0DD0, X + PLA : PLA : PLA ; remove the stored return address + JML $85FC9D + ++ JSR AbsorbKeyCheck : BCC .notKey PHY : LDY.b #$24 : JSL AddInventory : PLY ; do inventory processing for a small key LDA.l CurrentSmallKeys : INC A : STA.l CurrentSmallKeys @@ -67,7 +72,6 @@ GiveBonkItem: RTL .notKey PHY : TAY : JSL Link_ReceiveItem : PLY - .done RTL ;-------------------------------------------------------------------------------- LoadBonkItem: diff --git a/swordswap.asm b/swordswap.asm index 7d8863a..6481b1f 100644 --- a/swordswap.asm +++ b/swordswap.asm @@ -134,8 +134,10 @@ GetSmithSword: LDA.l SmithItem : TAY JSL ShieldCheck - BCC .done + BCS + + JML $86B4A5 + + STZ.w ItemReceiptMethod ; Item from NPC PHX : JSL Link_ReceiveItem : PLX