Miscellaneous fixes in the use of _command constants.

This commit is contained in:
mid-kid
2018-06-01 09:04:36 +02:00
parent 761edc7db3
commit 17087489c6
4 changed files with 10 additions and 9 deletions

View File

@@ -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]