summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-18 22:34:11 -0700
committerYamaArashi <shadow962@live.com>2015-07-18 22:34:11 -0700
commitd0526c036210d2ee186a2a45feac91747ef6fb85 (patch)
treebf8f67ee9c7edf30e3b0b37ca98f618f8aadfc85 /home
parentc169073eed4f0362ef42170098a141a2fcbd71d0 (diff)
small changes
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