aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pikachu
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2024-06-27 02:19:06 +0000
committerGitHub <noreply@github.com>2024-06-26 21:19:06 -0500
commit57bec62508c6ae3424977c9db55ad66fc1eb0a42 (patch)
treee7b3b81c68c901a6b2b1811c8a6e1c57b479dd44 /engine/pikachu
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-57bec62508c6ae3424977c9db55ad66fc1eb0a42.tar.gz
pokeyellow-57bec62508c6ae3424977c9db55ad66fc1eb0a42.tar.xz
pokeyellow-57bec62508c6ae3424977c9db55ad66fc1eb0a42.zip
Improve documentation of some SRAM routines (#114)
Diffstat (limited to 'engine/pikachu')
-rw-r--r--engine/pikachu/pikachu_pic_animation.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pikachu/pikachu_pic_animation.asm b/engine/pikachu/pikachu_pic_animation.asm
index 125313ac..8abbb1f9 100644
--- a/engine/pikachu/pikachu_pic_animation.asm
+++ b/engine/pikachu/pikachu_pic_animation.asm
@@ -666,12 +666,12 @@ DecompressRequestPikaPicAnimGFX:
ld a, b
call UncompressSpriteFromDE
ld a, BANK(sSpriteBuffer1)
- call SwitchSRAMBankAndLatchClockData
+ call OpenSRAM
ld hl, sSpriteBuffer1
ld de, sSpriteBuffer0
ld bc, SPRITEBUFFERSIZE * 2
call CopyData
- call PrepareRTCDataAndDisableSRAM
+ call CloseSRAM
ld a, [wPikaPicAnimCurGraphicID]
call LookUpTileOffsetForCurrentPikaPicAnimGFX
call GetPikaPicVRAMAddressForNewGFX