summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home.asm b/home.asm
index b5d066639..2f628a735 100644
--- a/home.asm
+++ b/home.asm
@@ -170,7 +170,7 @@ INCLUDE "home/double_speed.asm"
ClearSprites:: ; 300b
; Erase OAM data
ld hl, wVirtualOAM
- ld b, wSpritesEnd - wVirtualOAM
+ ld b, wVirtualOAMEnd - wVirtualOAM
xor a
.loop
ld [hli], a