blob: 9b8bc4ac3f893a13cb23f9485539de06a2b2bf3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
RTC:: ; 46f
; 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:: ; 47e
callfar _TimeOfDayPals
ret
; 485
UpdateTimePals:: ; 485
callfar _UpdateTimePals
ret
; 48c
|