alarm[0] = timer xVel *= -1 if (xVel == 0) xVel = facing