summaryrefslogtreecommitdiff
path: root/home/time.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-11-13 00:44:06 -0500
committeryenatch <yenatch@gmail.com>2015-11-13 00:44:06 -0500
commit9c5473e965520f672640daf4ee76622640e0de15 (patch)
tree33d513a05a026cb6c094eb7ee73ad52ee36d0888 /home/time.asm
parent1c1fe276ca59726bb0008c60006c6b48cd093573 (diff)
parent40802da3cf27a453f62c8c4b712e876b06a9d834 (diff)
Merge pull request #326 from PikalaxALT/master
Reopen #325
Diffstat (limited to 'home/time.asm')
-rw-r--r--home/time.asm11
1 files changed, 7 insertions, 4 deletions
diff --git a/home/time.asm b/home/time.asm
index 173ea573c..be7020bda 100644
--- a/home/time.asm
+++ b/home/time.asm
@@ -101,8 +101,8 @@ FixDays:: ; 5e8
; update dl
ld [hRTCDayLo], a ; DL
-; unknown output
- ld a, $40 ; %1000000
+; flag for s0_ac60
+ ld a, %01000000
jr .set
.daylo
@@ -120,8 +120,8 @@ FixDays:: ; 5e8
; update dl
ld [hRTCDayLo], a ; DL
-; unknown output
- ld a, $20 ; %100000
+; flag for s0_ac60
+ ld a, %00100000
.set
; update clock with modded day value
@@ -278,6 +278,7 @@ SetClock:: ; 691
Function6c4:: ; 6c4
+; clear s0_ac60
xor a
push af
ld a, BANK(s0_ac60)
@@ -289,6 +290,7 @@ Function6c4:: ; 6c4
; 6d3
Function6d3:: ; 6d3
+; append flags to s0_ac60
ld hl, s0_ac60
push af
ld a, BANK(s0_ac60)
@@ -301,6 +303,7 @@ Function6d3:: ; 6d3
; 6e3
Function6e3:: ; 6e3
+; check s0_ac60
ld a, BANK(s0_ac60)
call GetSRAMBank
ld a, [s0_ac60]