summaryrefslogtreecommitdiff
path: root/engine/gfx/pic_animation.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2019-01-15 13:06:16 +0100
committermid-kid <esteve.varela@gmail.com>2019-01-15 13:06:16 +0100
commit5f60cc24cf0935c4908151f0462e67a08d59558d (patch)
tree9e35d189dc4f6448aaea340bad5967e9a1cc9924 /engine/gfx/pic_animation.asm
parent1853e3d127556103fe5828b8589305192106d27e (diff)
Fix some constants
Glass ting SFX were added in crystal. PicAnimations and UnownAnimations are expected to be in the same bank as their pointers, because the pointers are not BANK()-referenced separately.
Diffstat (limited to 'engine/gfx/pic_animation.asm')
-rw-r--r--engine/gfx/pic_animation.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/gfx/pic_animation.asm b/engine/gfx/pic_animation.asm
index 6d8b52d44..88dc1f6d9 100644
--- a/engine/gfx/pic_animation.asm
+++ b/engine/gfx/pic_animation.asm
@@ -892,12 +892,12 @@ GetMonAnimPointer:
call PokeAnim_IsEgg
jr z, .egg
- ld c, BANK(UnownAnimations)
+ ld c, BANK(UnownAnimationPointers) ; aka BANK(UnownAnimationIdlePointers)
ld hl, UnownAnimationPointers
ld de, UnownAnimationIdlePointers
call PokeAnim_IsUnown
jr z, .unown
- ld c, BANK(PicAnimations)
+ ld c, BANK(AnimationPointers) ; aka BANK(AnimationIdlePointers)
ld hl, AnimationPointers
ld de, AnimationIdlePointers
.unown