summaryrefslogtreecommitdiff
path: root/engine/rtc
diff options
context:
space:
mode:
Diffstat (limited to 'engine/rtc')
-rw-r--r--engine/rtc/rtc.asm6
-rw-r--r--engine/rtc/timeset.asm2
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/rtc/rtc.asm b/engine/rtc/rtc.asm
index e3007ee4e..c7c4fae9e 100644
--- a/engine/rtc/rtc.asm
+++ b/engine/rtc/rtc.asm
@@ -90,7 +90,7 @@ SaveRTC:
StartClock::
call GetClock
- call Function1409b
+ call _FixDays
call FixDays
jr nc, .skip_set
; bit 5: Day count exceeds 139
@@ -101,7 +101,7 @@ StartClock::
call StartRTC
ret
-Function1409b:
+_FixDays:
ld hl, hRTCDayHi
bit 7, [hl]
jr nz, .set_bit_7
@@ -116,7 +116,7 @@ Function1409b:
call RecordRTCStatus ; set bit 7 on sRTCStatusFlags
ret
-Function140ae:
+ClockContinue:
call CheckRTCStatus
ld c, a
and %11000000 ; Day count exceeded 255 or 16383
diff --git a/engine/rtc/timeset.asm b/engine/rtc/timeset.asm
index cdb2c9a12..5b12aec1f 100644
--- a/engine/rtc/timeset.asm
+++ b/engine/rtc/timeset.asm
@@ -593,7 +593,7 @@ InitialClearDSTFlag:
text_far _TimeAskOkayText
text_end
-DebugDisplayTime:
+Unreferenced_MrChrono:
hlcoord 1, 14
lb bc, 3, SCREEN_WIDTH - 2
call ClearBox