New AI Action script with massive state array.