Fix small key stats tracker

This commit is contained in:
cassidoxa
2023-03-13 13:15:30 -04:00
parent efa5d288a8
commit 1f8389c446
3 changed files with 14 additions and 7 deletions

View File

@@ -119,6 +119,7 @@ CountChestKey: ; called by neighbor functions
CPY.b #$24 : BEQ + ; small key for this dungeon - use DungeonID
CPY.b #$A0 : !BLT .end ; Ignore most items
CPY.b #$AE : !BGE .end ; Ignore reserved key and generic key
TYA : AND.B #$0F
TAX : BRA .count ; use Key id instead of DungeonID (Keysanity)
+
LDA.w DungeonID : LSR : TAX