branch label collision fix

* this was causing a free silver bow on any item pickup
This commit is contained in:
sporchia
2019-07-06 08:36:41 -04:00
parent 79bb2728f3
commit abbc707751

View File

@@ -193,11 +193,11 @@ AddReceivedItemExpandedGetItem:
++
BRL .done
+ CMP.b #$3B : BNE + ; Silver Bow
LDA $7EF376 : BNE + ; check arrows
LDA.b #$03 : BRA ++ ; bow without arrow
+
LDA.b #$04 ; bow with arrow
LDA $7EF376 : BNE ++ ; check arrows
LDA.b #$03 : BRA +++ ; bow without arrow
++
LDA.b #$04 ; bow with arrow
+++
STA $7EF340
LDA !INVENTORY_SWAP_2 : ORA #$40 : STA !INVENTORY_SWAP_2 ; mark silver bow on y-toggle
BRL .done