summaryrefslogtreecommitdiff
path: root/home/copy.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-07-10 15:50:13 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-07-10 15:50:13 -0400
commit992bdfe53740858eae7e40f1380b05fe4cd75d9d (patch)
treec6f96e3183ed702bd2fc266775dff525da27d388 /home/copy.asm
parent7f4fac9e46621c6db3568c48f122357912613ba0 (diff)
More home.asm fixes.
Change CopyVideoData/Double to CopyVideoData/DoubleAlternate and CopyVideoData/DoubleLCDEnabled to CopyVideoData. Also an address fix.
Diffstat (limited to 'home/copy.asm')
-rw-r--r--home/copy.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/copy.asm b/home/copy.asm
index 074c1556..e14d859c 100644
--- a/home/copy.asm
+++ b/home/copy.asm
@@ -33,10 +33,10 @@ CopyData:: ; 00b1 (0:00b1)
jr nz, .copybytes
ret
-CopyVideoData:: ; 00c8 (0:00c8)
+CopyVideoDataAlternate:: ; 00c8 (0:00c8)
ld a, [rLCDC]
bit 7,a ; LCD enabled?
- jp nz, CopyVideoDataLCDEnabled ; if yes, then copy video data
+ jp nz, CopyVideoData ; if yes, then copy video data
push hl
ld h,d
ld l,e
@@ -53,10 +53,10 @@ CopyVideoData:: ; 00c8 (0:00c8)
pop af
jp FarCopyData
-CopyVideoDataDouble:: ; 00e3 (0:00e3)
+CopyVideoDataDoubleAlternate:: ; 00e3 (0:00e3)
ld a, [rLCDC]
bit 7,a ; LCD enabled?
- jp nz, CopyVideoDataDoubleLCDEnabled ; if yes, then copy video data
+ jp nz, CopyVideoDataDouble ; if yes, then copy video data
push de
ld d,h
ld e,l