From fcebea97afceb683e31fc415136fd7b65c745cdc Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Fri, 30 Oct 2020 16:53:44 -0700 Subject: [PATCH] Don't count chest keys if they are for another player. --- stats.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/stats.asm b/stats.asm index 832c51f..dd34e953 100644 --- a/stats.asm +++ b/stats.asm @@ -263,6 +263,7 @@ RTL ;-------------------------------------------------------------------------------- CountChestKey: ; called by neighbor functions PHA : PHX + lda !MULTIWORLD_ITEM_PLAYER_ID : bne .end CPY #$24 : BEQ + ; small key for this dungeon - use $040C CPY #$A0 : !BLT .end ; Ignore most items CPY #$AE : !BGE .end ; Ignore reserved key and generic key