diff options
| author | mid-kid <esteve.varela@gmail.com> | 2018-06-01 09:04:36 +0200 |
|---|---|---|
| committer | mid-kid <esteve.varela@gmail.com> | 2018-06-01 09:04:36 +0200 |
| commit | 17087489c6b2466b1d4b2d22d7760604d3e755f8 (patch) | |
| tree | 24f1aec0ce3655646804b626b1dae395a4f46117 /engine/gfx | |
| parent | 761edc7db37df18a6e7f41e0d3bb9edd1e3cf721 (diff) | |
Miscellaneous fixes in the use of _command constants.
Diffstat (limited to 'engine/gfx')
| -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] |
