Fixed Animation Timing and created Flap Function

I added in the wait function call for the animation loops that were
missing them.
I also created the flap function for flapping the player's wings back
and fourth well flying.