summaryrefslogtreecommitdiff
path: root/home/vcopy.asm
diff options
context:
space:
mode:
authorAntonio Niño Díaz <antonio_nd@outlook.com>2017-06-09 22:54:09 +0100
committerAntonio Niño Díaz <antonio_nd@outlook.com>2017-06-09 22:54:09 +0100
commit9ea25bc8cd32df5b3bcf6333c3d2582e1b11f2dd (patch)
tree838b94841af8efe22697c15775f99035d42fd734 /home/vcopy.asm
parentdfc094db727d094e50e2a7bfb7fc1ae22cb1084b (diff)
Replace deprecated mnemonics by the correct ones
The old mnemonics generate warnings with new versions of rgbds. This patch replaces them by the correct ones. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
Diffstat (limited to 'home/vcopy.asm')
-rw-r--r--home/vcopy.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/home/vcopy.asm b/home/vcopy.asm
index 3fe19745..ad92e8fb 100644
--- a/home/vcopy.asm
+++ b/home/vcopy.asm
@@ -123,7 +123,7 @@ AutoBgMapTransfer::
ld a,[H_AUTOBGTRANSFERENABLED]
and a
ret z
- ld hl,[sp + 0]
+ ld hl,sp + 0
ld a,h
ld [H_SPTEMP],a
ld a,l
@@ -205,7 +205,7 @@ VBlankCopyBgMap::
ld a,[H_VBCOPYBGSRC] ; doubles as enabling byte
and a
ret z
- ld hl,[sp + 0]
+ ld hl,sp + 0
ld a,h
ld [H_SPTEMP],a
ld a,l
@@ -238,7 +238,7 @@ VBlankCopyDouble::
and a
ret z
- ld hl, [sp + 0]
+ ld hl, sp + 0
ld a, h
ld [H_SPTEMP], a
ld a, l
@@ -290,7 +290,7 @@ VBlankCopyDouble::
ld a, h
ld [H_VBCOPYDOUBLEDEST + 1], a
- ld hl, [sp + 0]
+ ld hl, sp + 0
ld a, l
ld [H_VBCOPYDOUBLESRC], a
ld a, h
@@ -316,7 +316,7 @@ VBlankCopy::
and a
ret z
- ld hl, [sp + 0]
+ ld hl, sp + 0
ld a, h
ld [H_SPTEMP], a
ld a, l
@@ -360,7 +360,7 @@ VBlankCopy::
ld a, h
ld [H_VBCOPYDEST + 1], a
- ld hl, [sp + 0]
+ ld hl, sp + 0
ld a, l
ld [H_VBCOPYSRC], a
ld a, h