summaryrefslogtreecommitdiff
path: root/home/battle.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/battle.asm')
-rw-r--r--home/battle.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/battle.asm b/home/battle.asm
index da9c081a2..0fb077c90 100644
--- a/home/battle.asm
+++ b/home/battle.asm
@@ -275,6 +275,6 @@ PushLYOverrides::
ld a, HIGH(wLYOverrides)
ld [wRequested2bppDest + 1], a
- ld a, (wLYOverridesEnd - wLYOverrides) / 16
- ld [wRequested2bpp], a
+ ld a, (wLYOverridesEnd - wLYOverrides) / LEN_2BPP_TILE
+ ld [wRequested2bppSize], a
ret