What I've been using is a combination of enemy states + enemy AI. The intents are the states, visible as icons, and the enemies can only use specific skills skills depending on their "intent" state. Can't tell you the exact plugins I'm using right now cause I'm on the go, but I'm pretty sure you can do it with Yanfly's stuff.