Jump to content
Sign in to follow this  
Japhasca

How do I check an enemy's state in battle?

Recommended Posts

I am trying to check in a battle event if an enemy has a certain state present. I thought that it would be:

@Conditional Branch: Script: $game_troop.members[troop_id].state(state_id)

but it errors when it gets to ".state".

Can someone tell me the right way to do this?

Share this post


Link to post
Share on other sites

Wait, are you trying to check if ANY enemy has the state, or are you trying to check if a particular enemy (for example the fifth member of the troop) has the state?

Share this post


Link to post
Share on other sites

Next question: Why are you using a script call? Conditional Branch -> Page 3 -> Enemy [1.] has State [1.] inflicted The first enemy is selected by default so just select the correct state

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted