Okay, so I was in BrawlBox and I changed Sonic's Back Jump Animation (JumpB is the name of the animation) and I replaced it with one of his animations where he jumps out of a grab (CaptureJump is the name of the animation). And when I tried it out ingame, here was the result.
https://imageshack.com/i/nrj9jgj then this ->
https://imageshack.com/i/jtmws9jHe constantly flashes back and forth between those and I was wondering if someone could help me resolve this problem.

-help me!!!