2014-02-02 01:26:39 +00:00
|
|
|
RTC:: ; 46f
|
2013-09-03 22:35:37 +00:00
|
|
|
; update time and time-sensitive palettes
|
|
|
|
|
|
|
|
; rtc enabled?
|
2015-11-25 15:26:30 +00:00
|
|
|
ld a, [wSpriteUpdatesEnabled]
|
2013-09-03 22:35:37 +00:00
|
|
|
cp 0
|
|
|
|
ret z
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2013-09-03 22:35:37 +00:00
|
|
|
call UpdateTime
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2013-09-03 22:35:37 +00:00
|
|
|
; obj update on?
|
|
|
|
ld a, [VramState]
|
|
|
|
bit 0, a ; obj update
|
|
|
|
ret z
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TimeOfDayPals:: ; 47e
|
2017-12-24 17:47:30 +00:00
|
|
|
callfar _TimeOfDayPals
|
2013-09-03 22:35:37 +00:00
|
|
|
ret
|
|
|
|
; 485
|
|
|
|
|
2018-01-02 16:13:57 +00:00
|
|
|
Special_UpdateTimePals:: ; 485
|
|
|
|
callfar _Special_UpdateTimePals
|
2013-09-03 22:35:37 +00:00
|
|
|
ret
|
|
|
|
; 48c
|