What are you trying to accomplish?
The second code is doing the same thing if platform is moving or not, so why not just set animation to bounce in the main event?
You don't need to check if an animation is playing, and another isn't playing. Obviously if JumpFall is playing, then HurtFall isn't. Not sure that is making a difference or not.