Fix bug with eon abyss link sprite palette

This commit is contained in:
scawful
2025-01-11 09:40:59 -05:00
parent b09aebc5de
commit ee18cda610

View File

@@ -48,10 +48,10 @@ GameboyLinkRedMail:
LinkState_GameboyInDungeonEntrance:
{
print pc
; if link is in the dark world, change his sprite to the gbc one
LDA $0FFF : CMP #$00 : BEQ .return
LDA.w !CurrentMask : BNE .return
LDA $BC : CMP #$06 : BEQ .return
LDA.w !CurrentMask : CMP.b #$05 : BEQ .return
JSL UpdateGbcPalette
LDA #$3B : STA $BC ; change link's sprite
.return