ref: 7b12060e6a6c276f3c044c04f131befa28749da5
dir: /home/time_palettes.asm/
UpdateTimeAndPals:: ; update time and time-sensitive palettes ; rtc enabled? ld a, [wSpriteUpdatesEnabled] cp 0 ret z call UpdateTime ; obj update on? ld a, [wVramState] bit 0, a ; obj update ret z TimeOfDayPals:: callfar _TimeOfDayPals ret UpdateTimePals:: callfar _UpdateTimePals ret