this can be done with smartai

don't care about setcanfly, it will be handled dynamically