From 388f1a4e803eef90c0e54caa2b514b105b7b6c56 Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 27 Apr 2024 18:00:57 -0400 Subject: [PATCH] Zarby day and night intro and triforce room fix --- Overworld/time_system.asm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Overworld/time_system.asm b/Overworld/time_system.asm index 0766a07..1132f8f 100644 --- a/Overworld/time_system.asm +++ b/Overworld/time_system.asm @@ -29,6 +29,31 @@ HUD_ClockDisplay: RTL } +; Zarby Intro and Credits fix +pushpc +org $0CC265 ; IntroLogoPaletteFadeIn +JSL LogoFadeInSetClock +pullpc + +LogoFadeInSetClock: +JSL $00ED7C ; restore code +LDA.b #$08 : STA.l $7EE000 ; Set the time to 6:00am +RTL + +pushpc +org $0CCA59 +JSL ResetClockTriforceRoom + +pullpc + +ResetClockTriforceRoom: +JSL $00E384 ;Restored code + +LDA.b #$00 : STA.l $7EE000 ; low hours for palette? +LDA.b #$00 : STA.l $7EE001 ; high hours for palette? + +RTL + DrawClockToHudLong: { JSR DrawClockToHud