Basically I just need to know the script for looping through every enemy until I find the one with the state and then return its id. I know I've seen this done before but I can NOT remember how.
**EDIT** Actually, if anyone knows how to store the id of a skill's target that'd work just as well. I thought it would be something simple like $game_variables[x] = b? (I've also seen b.id) but neither seem to work? if that's correct though let me know.
**EDIT** Actually, if anyone knows how to store the id of a skill's target that'd work just as well. I thought it would be something simple like $game_variables[x] = b? (I've also seen b.id) but neither seem to work? if that's correct though let me know.