summaryrefslogtreecommitdiff
path: root/battle/core.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-11 01:02:28 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-11 01:02:28 -0500
commit41acb0667a321865277f50a45e662b1aae939a00 (patch)
tree7e6646403fd0a61371e4d1d48956d908655c1321 /battle/core.asm
parentc6fefd0fe878a350a5e8cb1140d0356c78648ba5 (diff)
Document macros/map.asm
Rename MORN/DAY/NITE to MORN_F/DAY_F/NITE_F; use MORN/DAY/NITE for shifted values (cleaner for person_events) Prefix FLOOR to the `elevfloor` constants
Diffstat (limited to 'battle/core.asm')
-rw-r--r--battle/core.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/battle/core.asm b/battle/core.asm
index cd745a957..21409c2a4 100644
--- a/battle/core.asm
+++ b/battle/core.asm
@@ -6676,7 +6676,7 @@ CheckSleepingTreeMon: ; 3eb38
; Get list for the time of day
ld hl, .Morn
ld a, [TimeOfDay]
- cp DAY
+ cp DAY_F
jr c, .Check
ld hl, .Day
jr z, .Check