summaryrefslogtreecommitdiff
path: root/engine/rtc
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2019-02-09 18:03:07 -0500
committerGitHub <noreply@github.com>2019-02-09 18:03:07 -0500
commitb791198f74e55ff6a96d33784d9661854dbca113 (patch)
tree17c78e5808c557144605884de2cdc99ddfdd0ebd /engine/rtc
parent4fe0d93d4c0536b3517ba4b58822e5f6b1019382 (diff)
parent349664ec15995b40151378bbfc405930d47a3c5c (diff)
Merge pull request #596 from Rangi42/master
Remove the nested UNION within battle WRAM
Diffstat (limited to 'engine/rtc')
-rw-r--r--engine/rtc/timeset.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/rtc/timeset.asm b/engine/rtc/timeset.asm
index 366dd2460..3275d313a 100644
--- a/engine/rtc/timeset.asm
+++ b/engine/rtc/timeset.asm
@@ -44,7 +44,7 @@ InitClock:
ld hl, Text_WokeUpOak
call PrintText
ld hl, wTimeSetBuffer
- ld bc, 50
+ ld bc, wTimeSetBufferEnd - wTimeSetBuffer
xor a
call ByteFill
ld a, 10 ; default hour = 10 AM