ref: 8cbdd6cbce9b2a494b6570b70db5d1436b6a68b1
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