Fixed issue with enemy key drops using wrong palette/GFX sheet

This commit is contained in:
codemann8
2023-05-12 23:57:13 -05:00
parent 71916fb320
commit 3497bd6514

View File

@@ -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?