diff --git a/keydrop/standing_items.asm b/keydrop/standing_items.asm index ae75fba..0f5e9f9 100644 --- a/keydrop/standing_items.asm +++ b/keydrop/standing_items.asm @@ -144,6 +144,10 @@ PotCollectionRateTable: ; Reserved $250 296 * 2 org $A8ACB0 +UWEnemyItemFlags: +; Reserved $250 296 * 2 + +org $A8AF00 RevealPotItem: STA.b $04 ; save tilemap coordinates diff --git a/stats.asm b/stats.asm index db89a99..d41e69f 100644 --- a/stats.asm +++ b/stats.asm @@ -97,6 +97,7 @@ IncrementSmallKeysNoPrimary: PHP : REP #$20 ; set 16-bit accumulator LDA $048E : CMP.w #$0087 : BNE ++ ; check for hera basement cage LDA $A8 : AND #$0003 : CMP #$0002 : BNE ++ ; must be quadrant 2 + LDA SprDropsItem, X : AND #$00FF : BNE ++ ; must not be a standing item PLP : PHY : LDY.b #$24 : JSL.l FullInventoryExternal LDA StandingItemsOn : BNE +++ JSR CountChestKey