- fixed state checking in A_Teleport.