summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home.asm b/home.asm
index 27587d511..31131b8d2 100644
--- a/home.asm
+++ b/home.asm
@@ -169,7 +169,7 @@ INCLUDE "home/hp_pals.asm"
CountSetBits::
; Count the number of set bits in b bytes starting from hl.
-; Return in a, c and [wd265].
+; Return in a, c and [wNumSetBits].
ld c, 0
.next
ld a, [hli]
@@ -188,7 +188,7 @@ CountSetBits::
jr nz, .next
ld a, c
- ld [wd265], a
+ ld [wNumSetBits], a
ret
GetWeekday::