summaryrefslogtreecommitdiff
path: root/home/gfx.asm
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-04-27 03:33:13 -0400
committerentrpntr <entrpntr@gmail.com>2020-04-27 03:35:35 -0400
commit70d3a3fdbc508eeb4557ddc43d78ba12ed41963e (patch)
tree202f65e4131709331ae62cbe5eace4d6f8b6aa58 /home/gfx.asm
parent75cf425d30db6a036743cf85c483c1b537063605 (diff)
Sync with the recent updates to pokecrystal.
Diffstat (limited to 'home/gfx.asm')
-rw-r--r--home/gfx.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/gfx.asm b/home/gfx.asm
index 897a43ef..a1a2dee2 100644
--- a/home/gfx.asm
+++ b/home/gfx.asm
@@ -61,10 +61,10 @@ DecompressRequest2bpp::
FarCopyBytes::
; copy bc bytes from a:hl to de
- ld [wBuffer], a
+ ld [wTempBank], a
ldh a, [hROMBank]
push af
- ld a, [wBuffer]
+ ld a, [wTempBank]
rst Bankswitch
call CopyBytes
@@ -77,10 +77,10 @@ FarCopyBytesDouble::
; Copy bc bytes from a:hl to bc*2 bytes at de,
; doubling each byte in the process.
- ld [wBuffer], a
+ ld [wTempBank], a
ldh a, [hROMBank]
push af
- ld a, [wBuffer]
+ ld a, [wTempBank]
rst Bankswitch
; switcheroo, de <> hl