ref: 991d207d86c936757e70d2e6a1f6ee6b0e0f5891
dir: /home/rtc.asm/
RTC:: ; 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