Cannot tell turtle n; there are only x turtles defined.

You tried to activate a turtle with a number greater than the number of turtle defined. Use SETTURTLES to increase the number of turtles.