From 80f94824f4c959d9f87de5e3b39856ad8386e0e4 Mon Sep 17 00:00:00 2001 From: cassidoxa Date: Tue, 22 Aug 2023 10:18:02 -0400 Subject: [PATCH] Small fixes --- inventory.asm | 4 ++-- newitems.asm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inventory.asm b/inventory.asm index a4591da..9246d65 100644 --- a/inventory.asm +++ b/inventory.asm @@ -270,8 +270,8 @@ IncrementByOne: TYA : ASL : TAX LDA.w InventoryTable_stat,X : BEQ .skip STA.b Scrap0B - SEP #$20 - LDA.b #$01 : ADC.b [Scrap0B] : STA.b [Scrap0B] + SEP #$21 + LDA.b #$00 : ADC.b [Scrap0B] : STA.b [Scrap0B] .skip SEP #$20 RTS diff --git a/newitems.asm b/newitems.asm index 9716321..1c77e86 100644 --- a/newitems.asm +++ b/newitems.asm @@ -429,7 +429,7 @@ ItemBehavior: + ++ LDA.l ArrowMode : BEQ + - LDA.b #$01 : STA.l CurrentArrows + LDA.b #$01 : STA.l ArrowsFiller + RTS