From 3497bd65149edc05ad7920b7ec80761aee6c4bf7 Mon Sep 17 00:00:00 2001 From: codemann8 Date: Fri, 12 May 2023 23:57:13 -0500 Subject: [PATCH] Fixed issue with enemy key drops using wrong palette/GFX sheet --- keydrop/standing_items.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/keydrop/standing_items.asm b/keydrop/standing_items.asm index f949109..d24246b 100644 --- a/keydrop/standing_items.asm +++ b/keydrop/standing_items.asm @@ -445,6 +445,7 @@ SpriteKeyPrep: LDA.w SpawnedItemFlag : STA SprItemFlags, X : BEQ + LDA.l SpawnedItemID : STA $0E80, X CMP #$24 : BNE ++ ; + JSL.l GetSpritePalette : STA.w $0F50, X ; setup the palette LDA $A0 : CMP.b #$80 : BNE + LDA SpawnedItemFlag : BNE + LDA #$24 ; it's the big key drop?