Fix bonk torches and smithy
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user