From cc36ccc0b1dbf746a2e87fced1a9a8c1499fbd49 Mon Sep 17 00:00:00 2001 From: cassidoxa Date: Sun, 10 Sep 2023 00:55:03 -0400 Subject: [PATCH] Add time stamp for tossed fighter sword item --- inventory.asm | 3 +-- itemdatatables.asm | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/inventory.asm b/inventory.asm index d32baef..259cfcb 100644 --- a/inventory.asm +++ b/inventory.asm @@ -245,10 +245,9 @@ StampItem: LDA.b [Scrap0B] : BNE .skip INC.b Scrap0B : INC.b Scrap0B LDA.b [Scrap0B] : BNE .skip + LDA.l NMIFrames+2 : STA.b [Scrap0B] DEC.b Scrap0B : DEC.b Scrap0B LDA.l NMIFrames : STA.b [Scrap0B] - INC.b Scrap0B : INC.b Scrap0B - LDA.l NMIFrames+2 : STA.b [Scrap0B] .skip SEP #$20 RTS diff --git a/itemdatatables.asm b/itemdatatables.asm index a9f7b45..f296922 100644 --- a/itemdatatables.asm +++ b/itemdatatables.asm @@ -764,7 +764,7 @@ endmacro %InventoryItem($46, $0001, $0000, $0000) ; 46 - 300 rupees %InventoryItem($47, $0001, $0000, $0000) ; 47 - 20 rupees green %InventoryItem($48, $0085, $0000, $0000) ; 48 - Full bottle (good bee) -%InventoryItem($49, $0081, $0000, $0000) ; 49 - Tossed fighter sword +%InventoryItem($49, $0081, SwordTime, $0000) ; 49 - Tossed fighter sword %InventoryItem($4A, $0085, FluteTime, $0000) ; 4A - Active Flute %InventoryItem($4B, $0089, BootsTime, $0000) ; 4B - Boots %InventoryItem($4C, $0015, $0000, CapacityUpgrades) ; 4C - Bomb capacity (50)