if (xVel < 0)
xVel *= -0.2
if (state == 5)
{
state = 3
statetime = 0
turndelay = 30
xVel = 0
yVel = 0
}