fix: key counts again

This commit is contained in:
aerinon
2025-12-08 16:37:51 -07:00
parent fca7f214bc
commit 4437194cfe
4 changed files with 5 additions and 1 deletions

View File

@@ -688,6 +688,7 @@ KeyGet:
LDA.b Scrap00 : CMP.l KeyTable, X : BNE +
.countIt
LDA.l StandingItemCounterMask : AND SpawnedItemFlag : BEQ ++
STA.w SpawnedItemKeyCounted
JSL AddInventory
++ PLX : PLA : RTL
+ CMP.b #$AF : beq .countIt ; universal key