From 50dec603e2983e607e2a8afe86268d199033658a Mon Sep 17 00:00:00 2001 From: aerinon Date: Thu, 25 Jan 2024 11:04:16 -0700 Subject: [PATCH] fix: duplicate code --- inventory.asm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/inventory.asm b/inventory.asm index 7f3c35e..b6eac74 100644 --- a/inventory.asm +++ b/inventory.asm @@ -477,20 +477,6 @@ FluteCallForDuck: LDA.l FluteEquipment ; what we wrote over RTL ;-------------------------------------------------------------------------------- -; FluteCallForDuck: -;-------------------------------------------------------------------------------- -; sets A to #$02 to ignore summoning the duck -FluteCallForDuck: - LDA.l WarningFlags : AND.b #$20 : BNE .vanilla ; glitched modes allowed flute in rain state - LDA.l ProgressIndicator : CMP.b #$02 : BCS .vanilla ; must rescue Zelda first - - .noDuck - LDA.b #$02 : RTL - - .vanilla - LDA.l FluteEquipment ; what we wrote over -RTL -;-------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------- ; CheckKeys: