summaryrefslogtreecommitdiff
path: root/home/copy.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/copy.asm')
-rw-r--r--home/copy.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/copy.asm b/home/copy.asm
index e14d859c..8dc2acea 100644
--- a/home/copy.asm
+++ b/home/copy.asm
@@ -1,9 +1,9 @@
FarCopyData:: ; 009d (0:009d)
; Copy bc bytes from a:hl to de.
- ld [wd122+1], a
+ ld [wFarCopyDataSavedROMBank], a
ld a, [H_LOADEDROMBANK]
push af
- ld a, [wd122+1]
+ ld a, [wFarCopyDataSavedROMBank]
call BankswitchCommon
call CopyData
pop af