diff options
author | yenatch <yenatch@gmail.com> | 2018-06-05 07:04:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-05 07:04:54 -0400 |
commit | dbf05e48ebe2cd841a3d710f5bc9f24db2f068a0 (patch) | |
tree | 2b05ffe9e84a2c6212da18169141cfaa1ed40dd4 /engine/gfx/pic_animation.asm | |
parent | c61d6a3a5a602d5594071e9446bb3d93b5d99a75 (diff) | |
parent | 6f4e968b7038a2478c6bcf98b71aa81ed9d21f6a (diff) |
Merge pull request #517 from mid-kid/master
Some fixes all around
Diffstat (limited to 'engine/gfx/pic_animation.asm')
-rw-r--r-- | engine/gfx/pic_animation.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/gfx/pic_animation.asm b/engine/gfx/pic_animation.asm index 54999a6bb..925296388 100644 --- a/engine/gfx/pic_animation.asm +++ b/engine/gfx/pic_animation.asm @@ -399,11 +399,11 @@ PokeAnim_DoAnimScript: ; d0250 .RunAnim: ; d0261 call PokeAnim_GetPointer ld a, [wPokeAnimCommand] - cp -1 + cp endanim_command jr z, PokeAnim_End - cp -2 + cp setrepeat_command jr z, .SetRepeat - cp -3 + cp dorepeat_command jr z, .DoRepeat call PokeAnim_GetFrame ld a, [wPokeAnimParameter] |