Fixing bugs with pottery lottery

This commit is contained in:
aerinon
2022-01-13 15:03:20 -07:00
parent 149f19df83
commit 50dd0c7be4
4 changed files with 186 additions and 166 deletions

View File

@@ -242,7 +242,8 @@ IncrementSmallKeysNoPrimary:
JSL.l UpdateKeys
LDA $1B : BEQ + ; skip room check if outdoors
PHP : REP #$20 ; set 16-bit accumulator
LDA $048E : CMP.w #$0087 : BNE ++ ; hera basement
LDA $048E : CMP.w #$0087 : BNE ++ ; check for hera basement cage
LDA $A8 : AND #$0003 : CMP #$0002 : BNE ++ ; must be quadrant 2
PLP : PHY : LDY.b #$24 : JSL.l FullInventoryExternal
LDA ShuffleKeyDrops : BNE +++
JSR CountChestKey