Making an an enemy with a state only able to attack a specific actor?

Apologies, as this is my first time using RPG maker for a game. I'm trying to make a "Grapple" skill for my actor, that inflicts a "Grappled" status that makes it so that the targeted enemy is only able to use their skills on that actor, and that character only able to use skills on that enemy, or at least, for their skills to only work/be effective on that enemy. . The second part is less important, but what I really need is for the enemy to only use their skills on the actor.

Any help is appreciated, thank you.
Like I said on another thread, you never mentioned the battle system you're currently using in your project.

Original thread: https://forums.rpgmakerweb.com/threads/making-an-an-enemy-with-a-state-only-able-to-attack-a-specific-actor.153880/