Fixed ExtendedSRAM not saving

Fix enemy drops and pots with Fairies/Chickens/Big Magic
Fixed Big Magic refill when in chests/standing items
Changed shop code to respect ShopEnableCount flag
This commit is contained in:
aerinon
2023-09-01 14:13:01 -06:00
parent aecc65595e
commit 9fc85218ae
6 changed files with 15 additions and 11 deletions

View File

@@ -181,6 +181,7 @@ ShopCheck:
; TODO: If we write all shops, we can use the ShopPurchase flag instead of this
LDA.b IndoorsFlag : BEQ .count
LDA.w ItemReceiptMethod : CMP.b #$01 : BEQ .count
LDA.l ShopEnableCount : BNE .count
LDA.w InventoryTable_properties,Y : BIT.b #$02 : BNE .count
REP #$20
LDA.b RoomIndex