dont change to gbc form if minish in dungeons

This commit is contained in:
scawful
2024-06-16 22:09:36 -04:00
parent 96c3486072
commit e3428ff808

View File

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