aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pikachu
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pikachu')
-rw-r--r--engine/pikachu/pikachu_pic_animation.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pikachu/pikachu_pic_animation.asm b/engine/pikachu/pikachu_pic_animation.asm
index 4f56d542..a5d9087f 100644
--- a/engine/pikachu/pikachu_pic_animation.asm
+++ b/engine/pikachu/pikachu_pic_animation.asm
@@ -616,10 +616,10 @@ PikaPicAnimCommand_loadgfx:
push af
xor a
ldh [hAutoBGTransferEnabled], a
- ldh a, [hTilesetType]
+ ldh a, [hTileAnimations]
push af
xor a
- ldh [hTilesetType], a
+ ldh [hTileAnimations], a
call GetPikaPicAnimByte
ld [wPikaPicAnimCurGraphicID], a
ld a, [wPikaPicAnimCurGraphicID]
@@ -634,7 +634,7 @@ PikaPicAnimCommand_loadgfx:
call DecompressRequestPikaPicAnimGFX
.done
pop af
- ldh [hTilesetType], a
+ ldh [hTileAnimations], a
pop af
ldh [hAutoBGTransferEnabled], a
pop af