From b0283bb689036fd56fb9a5ce05ced3108ecba65f Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 1 Mar 2024 19:03:55 -0500 Subject: [PATCH] [DayNight] fix mosaic transitions, don't overwrite fog layer --- Overworld/time_system.asm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Overworld/time_system.asm b/Overworld/time_system.asm index b4e0b78..66e577d 100644 --- a/Overworld/time_system.asm +++ b/Overworld/time_system.asm @@ -121,6 +121,7 @@ RunClock: ;rain layer ? LDA $8C : CMP #$9F : BEQ .skip_bg_updt0 LDA $8C : CMP #$9E : BEQ .skip_bg_updt0 ; canopy layer ? + CMP #$97 : BEQ .skip_bg_updt0 ; fog layer? JSL $0BFE70 ;update background color BRA .inc_hours_end @@ -376,6 +377,13 @@ org $09C4E3 ;$0B/FEBE 8F 40 C5 7E STA $7EC540 ;$0B/FEC2 8F 40 C3 7E STA $7EC340 +; Custom BG Color Mosaic Background Color fix +org $028464 + NOP #6 + +org $02AE92 + NOP #6 + ; org $0BFEB6 OLD HOOK ; ZS OW Expanded - ReplaceBGColor org $2886B4