Drop The Flag - Python

So, the level starts off pretty good, but on the last ogre, my character gets stuck in his moving animation, and gets stuck there. I have tried this code three times.

Im not showing my code because its the solution. (i think)

Sorry for no clarification. He builds the trap, and THEN gets stuck.

Please provide a link, a picture of your code and a screen shot

Mod edit: please also remove code solutions. Thank you.

(solution was here)

OK nevermind, its still strange, but the solution to this problem is to just throw a flag back away from the ogre and the level gets solved.

(part of the solution was here)

please delete your code if it is a solution

And please remove this solution too.