summaryrefslogtreecommitdiff
path: root/engine/rtc/rtc.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-16 11:28:52 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-16 11:28:52 -0400
commitb9f2b93c1741c44eaa6468284303d16dde654553 (patch)
tree6fd5f53a732e2b5b2c574d945bf85ef7ef1004d4 /engine/rtc/rtc.asm
parent4342ced31f53ff5d523a7a9cf15aad8e37b355ae (diff)
Harmonize some more symbols with pokegold
Diffstat (limited to 'engine/rtc/rtc.asm')
-rw-r--r--engine/rtc/rtc.asm6
1 files changed, 3 insertions, 3 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