How to tag an enemy?

So I'm setting up a steal event that will steal gold from an enemy if they are humanoid.

It's done by calling a common event from a steal skill.

My initial try at this was to create a state called "IsHuman" that the enemy would cast on itself at turn 0 in combat, so any humanoid in the battle is immediately tagged. 

Then in the conditional branch I have: if "enemy #1" is in state "IsHuman" then keep going with the conditional branch, if not -  text output "This enemy is  not humanoid"

This works perfectly, except that it obviously only works when there is only 1 enemy on the screen, and it is not directly checking if the enemy targeted by the skill has the state "IsHuman"

only that enemy #1 has that state.

So do any of you know a way to do this?
you can use the damage formula to check if enemy has a certain state and then apply said effect.

I don't know how you plan to steal actually unless you have a Plugin for that
You already have a thread in Plugin Requests for this. Please do not make multiple threads for the same issue - if you need help, post in the thread you already have ... and then wait for people to respond.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-tag-an-enemy.50459/