summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/overworld.asm2
-rw-r--r--home/vcopy.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index 0485335a..97c46b0f 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -1705,7 +1705,7 @@ ScheduleNorthRowRedraw:: ; 0e91 (0:0e91)
CopyToScreenEdgeTiles:: ; 0ea6 (0:0ea6)
ld de,wScreenEdgeTiles
- ld c,2 * 20
+ ld c,2 * SCREEN_WIDTH
.loop
ld a,[hli]
ld [de],a
diff --git a/home/vcopy.asm b/home/vcopy.asm
index e90accb5..8de00e38 100644
--- a/home/vcopy.asm
+++ b/home/vcopy.asm
@@ -51,7 +51,7 @@ RedrawExposedScreenEdge:: ; 1d01 (0:1d01)
ld e,a
ld a,[H_SCREENEDGEREDRAWADDR + 1]
ld d,a
- ld c,18 ; screen height
+ ld c,SCREEN_HEIGHT
.loop1
ld a,[hli]
ld [de],a