diff options
Diffstat (limited to 'home/rtc.asm')
-rw-r--r-- | home/rtc.asm | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/home/rtc.asm b/home/rtc.asm index 9fb71c0b..e2fa121f 100644 --- a/home/rtc.asm +++ b/home/rtc.asm @@ -1,24 +1,21 @@ -RTC:: ; 46f -; update time and time-sensitive palettes +Function343:: + ld a, [$c1cd] ; 343 + cp $0 ; 346 + ret z ; 348 + call Function467 ; 349 + ld a, [$cfe5] ; 34c + bit 0, a ; 34f + ret z ; 351 +Function352:: + ld hl, $4366 ; 352 + ld a, $23 ; 355 + rst FarCall ; 357 + ret ; 358 +; 359 -; rtc enabled? - ld a, [wSpriteUpdatesEnabled] - cp 0 - ret z - - call UpdateTime - -; obj update on? - ld a, [VramState] - bit 0, a ; obj update - ret z - -TimeOfDayPals:: ; 47e - callab _TimeOfDayPals - ret -; 485 - -UpdateTimePals:: ; 485 - callab _UpdateTimePals - ret -; 48c +Function359:: + ld hl, $4397 ; 359 + ld a, $23 ; 35c + rst FarCall ; 35e + ret ; 35f +; 360 |