I'm making a 2D platformer and I have a few aerial attacks that the player can perform. Besides a few issues here and there, they seem to working largely fine save for some odd glitch that consistently happens at the end of the animation on one attack.
Basically what should be happening is if the player jumps, they go up, it plays a transition animation to the falling animation (called JumpPeak), they fall and if they hit the ground without doing anything, it plays a landing animation. At anytime during that sequence, if they press the attack button (along with possibly pressing up or down), they can perform an attack. Afterwards, it transitions to either the fall animation or is canceled and goes to the land animation if they hit ground during it.
The forward and up air attacks seem to be working fine as far as I can tell, but the down air attack looks like it goes to the JumpPeak animation for a split second. I'm not entirely sure since I can't get a good look at it and setting the game to go slowly doesn't work since it still plays for that split second, but it's definitely playing something that it shouldn't and is very noticeable.
I'm at a loss here since the attack itself is setup the same as the others and they don't have this issue.