Rewriting blacksmith ai to state machine