From e3428ff8080a90c76d2fafedf68f45164e92d038 Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 16 Jun 2024 22:09:36 -0400 Subject: [PATCH] dont change to gbc form if minish in dungeons --- Masks/gbc_form.asm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Masks/gbc_form.asm b/Masks/gbc_form.asm index 9e59f70..82778de 100644 --- a/Masks/gbc_form.asm +++ b/Masks/gbc_form.asm @@ -58,10 +58,11 @@ LinkState_GameboyInDungeonEntrance: { ; if link is in the dark world, change his sprite to the gbc one LDA $0FFF : CMP #$00 : BEQ .return - LDA $BC : CMP #$06 : BEQ .return - - JSL UpdateGbcPalette - LDA #$3B : STA $BC ; change link's sprite + LDA.w !CurrentMask : CMP.b #$05 : BEQ .return + LDA $BC : CMP #$06 : BEQ .return + + JSL UpdateGbcPalette + LDA #$3B : STA $BC ; change link's sprite .return