Merge pull request #204 from cassidoxa/v31.2.0-fixes

Fix some stats counting
This commit is contained in:
Lexi Rose
2023-09-07 11:50:36 -05:00
committed by GitHub

View File

@@ -159,15 +159,15 @@ AddInventory:
JSR.w IncrementByOne
JSR.w StampItem
JSR.w IncrementYAItems
REP #$20
REP #$30
LDA.l TotalItemCounter : INC : TAY
LDA.l BootsEquipment : BNE +
LDA.l BootsEquipment : AND.w #$00FF : BNE +
TYA : STA.l PreBootsLocations
+
LDA.l MirrorEquipment : BNE +
LDA.l MirrorEquipment : AND.w #$00FF : BNE +
TYA : STA.l PreMirrorLocations
+
LDA.l FluteEquipment : BNE +
LDA.l FluteEquipment : AND.w #$00FF : BNE +
TYA : STA.l PreFluteLocations
+
TYA