Oh thanks for answering I always struggled making ai in games. I've been recently working on a way of standardizing it with a decision tree approach so it's more manageable but also having different states is an interesting idea as well!