[ADDED]AIMovement mode 0 function