summaryrefslogtreecommitdiff
path: root/home/time.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/time.asm')
-rw-r--r--home/time.asm10
1 files changed, 0 insertions, 10 deletions
diff --git a/home/time.asm b/home/time.asm
index abac80e76..caf857a68 100644
--- a/home/time.asm
+++ b/home/time.asm
@@ -1,6 +1,5 @@
; Functions relating to the timer interrupt and the real-time-clock.
-
AskTimer::
push af
ld a, [hMobile]
@@ -12,7 +11,6 @@ AskTimer::
pop af
reti
-
LatchClock::
; latch clock counter data
ld a, 0
@@ -21,7 +19,6 @@ LatchClock::
ld [MBC3LatchClock], a
ret
-
UpdateTime::
call GetClock
call FixDays
@@ -29,7 +26,6 @@ UpdateTime::
farcall GetTimeOfDay
ret
-
GetClock::
; store clock data in hRTCDayHi-hRTCSeconds
@@ -70,7 +66,6 @@ GetClock::
call CloseSRAM
ret
-
FixDays::
; fix day count
; mod by 140
@@ -131,7 +126,6 @@ FixDays::
xor a
ret
-
FixTime::
; add ingame time (set at newgame) to current time
; day hr min sec
@@ -202,8 +196,6 @@ InitTime::
farcall _InitTime
ret
-
-
PanicResetClock::
call .ClearhRTC
call SetClock
@@ -218,7 +210,6 @@ PanicResetClock::
ld [hRTCDayHi], a
ret
-
SetClock::
; set clock data from hram
@@ -266,7 +257,6 @@ SetClock::
call CloseSRAM ; unlatch clock, disable clock r/w
ret
-
ClearRTCStatus::
; clear sRTCStatusFlags
xor a