summaryrefslogtreecommitdiff
path: root/engine/overworld
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-01-10 20:58:47 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2022-01-10 20:58:47 -0500
commit2aba2b9ff003cb4c208634d62fa1cd69418b92f0 (patch)
tree6c4be1bbe616de4d6693f65486b1cf0b2f93c841 /engine/overworld
parent944d0e5303d64203d7a7fa157dc61178868bcbbf (diff)
Use time constants more often
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/time.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/time.asm b/engine/overworld/time.asm
index f72b653f..aa7334e4 100644
--- a/engine/overworld/time.asm
+++ b/engine/overworld/time.asm
@@ -345,7 +345,7 @@ _CalcHoursDaysSince:
ld c, a
sbc [hl]
jr nc, .skip
- add 24
+ add MAX_HOUR
.skip
ld [hl], c ; current hours
dec hl