Toggle for having mushroom in past
Used the empty bit in INVENTORY_SWAP to add a toggle for mushroom in past
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
;================================================================================
|
||||
!INVENTORY_SWAP = "$7EF38C"
|
||||
; Item Tracking Slot
|
||||
; brmp-skf
|
||||
; brmpnskf
|
||||
; b = blue boomerang
|
||||
; r = red boomerang
|
||||
; m = mushroom
|
||||
; m = mushroom current
|
||||
; p = magic powder
|
||||
; -
|
||||
; n = mushroom past
|
||||
; s = shovel
|
||||
; k = fake flute
|
||||
; f = working flute
|
||||
@@ -209,6 +209,7 @@ AddInventory:
|
||||
BRL .incrementCounts
|
||||
+ CPY.b #$29 : BNE + ; Mushroom
|
||||
LDA !INVENTORY_SWAP : ORA #$20 : STA !INVENTORY_SWAP
|
||||
LDA !INVENTORY_SWAP : ORA #$0F : STA !INVENTORY_SWAP
|
||||
BRL .incrementCounts
|
||||
+ CPY.b #$0D : BNE + ; Magic Powder
|
||||
LDA !INVENTORY_SWAP : ORA #$10 : STA !INVENTORY_SWAP
|
||||
|
||||
Reference in New Issue
Block a user