aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pikachu_pic_animation.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-06-11 20:37:15 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-06-11 20:37:15 -0400
commitf5983c0f813d3d908b6016db3ed866e4ca9437dc (patch)
treed6888723f443557ce45c9a00d873caa5e7a8930e /engine/pikachu_pic_animation.asm
parentCharacter dict; surfing minigame; printer debug (diff)
parentMore syncing with pokered (diff)
downloadpokeyellow-f5983c0f813d3d908b6016db3ed866e4ca9437dc.tar.gz
pokeyellow-f5983c0f813d3d908b6016db3ed866e4ca9437dc.tar.xz
pokeyellow-f5983c0f813d3d908b6016db3ed866e4ca9437dc.zip
Merge branch 'master' of github.com:pret/pokeyellow
Diffstat (limited to 'engine/pikachu_pic_animation.asm')
-rwxr-xr-xengine/pikachu_pic_animation.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pikachu_pic_animation.asm b/engine/pikachu_pic_animation.asm
index 1d91150e..be31e7d7 100755
--- a/engine/pikachu_pic_animation.asm
+++ b/engine/pikachu_pic_animation.asm
@@ -664,10 +664,10 @@ DecompressRequestPikaPicAnimGFX: ; fe128
jr c, .failed
ld a, b
call UncompressSpriteFromDE
- ld a, BANK(S_SPRITEBUFFER1)
+ ld a, BANK(sSpriteBuffer1)
call SwitchSRAMBankAndLatchClockData
- ld hl, S_SPRITEBUFFER1
- ld de, S_SPRITEBUFFER0
+ ld hl, sSpriteBuffer1
+ ld de, sSpriteBuffer0
ld bc, SPRITEBUFFERSIZE * 2
call CopyData
call PrepareRTCDataAndDisableSRAM