Fix heart piece item resolution when mirroring

Fix HC big key incrementing total item count
Fix key tracking
Fix misc stat incrementing
This commit is contained in:
cassidoxa
2023-08-14 00:25:59 -04:00
parent a3bc24c383
commit 491e033ff0
3 changed files with 13 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ AddInventory:
LDA.l StatsLocked : BNE .done
LDA.w InventoryTable_properties,Y : BIT #$01 : BEQ .done
JSR.w ShopCheck : BCS .done
JSR.w DungeonIncrement
JSR.w DungeonIncrement : BCS .done
JSR.w IncrementByOne
JSR.w StampItem
SEP #$20
@@ -210,6 +210,7 @@ DungeonIncrement:
++
+
.done
CLC
RTS
.ballchain_bigkey
LDA.l BigKeysBigChests
@@ -260,6 +261,7 @@ RTS
IncrementByOne:
REP #$20
TYA : ASL : TAX
LDA.w InventoryTable_stat,X : BEQ .skip
STA.b Scrap0B
SEP #$20