In this lesson we finish creating an additional function to make the enemy AI script wait for animations to finish playing before continuing.