aboutsummaryrefslogtreecommitdiffstats
path: root/home/copy.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-08-30 18:56:44 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-08-30 18:56:44 -0400
commit2b7961759b3786725b95ee8f4a0b6e556091db7a (patch)
tree6287d4bb7bad7d012f804dc18856341a09fc015b /home/copy.asm
parentMerge branch 'master' of https://github.com/iimarckus/pokered (diff)
downloadpokeyellow-2b7961759b3786725b95ee8f4a0b6e556091db7a.tar.gz
pokeyellow-2b7961759b3786725b95ee8f4a0b6e556091db7a.tar.xz
pokeyellow-2b7961759b3786725b95ee8f4a0b6e556091db7a.zip
Fixes.
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