diff options
author | Idain <luiscarlosholguinperez@outlook.com> | 2022-01-10 21:57:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 20:57:40 -0500 |
commit | 5ac4a517513da3acc80abdac0cc74f39b5f92907 (patch) | |
tree | e49bb011e86ac4eef24612e33a595dc31e0f7d9d /engine/overworld/time.asm | |
parent | 67207fab94bbe24c79260dd0ad1be4e0579552c4 (diff) |
Use time constants more often (#867)
Diffstat (limited to 'engine/overworld/time.asm')
-rw-r--r-- | engine/overworld/time.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/time.asm b/engine/overworld/time.asm index dfb2632b0..2003910b3 100644 --- a/engine/overworld/time.asm +++ b/engine/overworld/time.asm @@ -390,7 +390,7 @@ _CalcHoursDaysSince: ld c, a sbc [hl] jr nc, .skip - add 24 + add MAX_HOUR .skip ld [hl], c ; current hours dec hl |