Zarby day and night intro and triforce room fix

This commit is contained in:
scawful
2024-04-27 18:00:57 -04:00
parent 513da6dbd0
commit 388f1a4e80

View File

@@ -29,6 +29,31 @@ HUD_ClockDisplay:
RTL 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: DrawClockToHudLong:
{ {
JSR DrawClockToHud JSR DrawClockToHud