From 869706e50b4963a28f4a3be5fab96d9091c6107b Mon Sep 17 00:00:00 2001 From: cassidy Date: Thu, 20 May 2021 20:32:29 -0400 Subject: [PATCH] Fix bombs count --- inventory.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory.asm b/inventory.asm index aa27b73..7226629 100644 --- a/inventory.asm +++ b/inventory.asm @@ -739,8 +739,8 @@ RTS ;-------------------------------------------------------------------------------- Link_ReceiveItem_HUDRefresh: LDA $7EF343 : BNE + ; skip if we have bombs - LDA $7EF375 : BEQ + ; skip if we are filling no bombs LDA $7EF370 : !ADD.l StartingMaxBombs : BEQ + ; skip if we can't have bombs + LDA $7EF375 : BEQ + ; skip if we are filling no bombs DEC : STA $7EF375 ; decrease bomb fill count LDA.b #$01 : STA $7EF343 ; increase actual bomb count +