ref: 248763b238b6f8e8cb0bc0c5db05a270f1931ae7
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