diff --git a/inventory.asm b/inventory.asm index cf660f8..c07eb52 100644 --- a/inventory.asm +++ b/inventory.asm @@ -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