I know it sounds a little weird, so let me explain. I have this common event for summoning:
The only problem I have with it is that if a summoned being is already out and the player tries to summon another, they've wasted a turn. I'd like a script that will detect if a switch is on and keep a player from taking the action so they can choose another action with no consequences. Thanks for the help!
~Guardian1239
@>Conditional Branch: [Imp] is In the Party
@>Recover All: [Imp]
@>Change Party Member: Remove [Imp]
@>Control Switches: [001] = OFF
: Else
@>Conditional Branch: Switch [001] == OFF
@>Change Party Member: Add [Imp]
@>Text: I'm at your service, master.
@>Control Switches: [001] = ON
@>
: Else
@>Text: You can only have one summoned being out at a time.
@>Change SP/MP: [Summoner], + 10
: Branch End
@>
: Branch End
@>
@>Recover All: [Imp]
@>Change Party Member: Remove [Imp]
@>Control Switches: [001] = OFF
: Else
@>Conditional Branch: Switch [001] == OFF
@>Change Party Member: Add [Imp]
@>Text: I'm at your service, master.
@>Control Switches: [001] = ON
@>
: Else
@>Text: You can only have one summoned being out at a time.
@>Change SP/MP: [Summoner], + 10
: Branch End
@>
: Branch End
@>
The only problem I have with it is that if a summoned being is already out and the player tries to summon another, they've wasted a turn. I'd like a script that will detect if a switch is on and keep a player from taking the action so they can choose another action with no consequences. Thanks for the help!
~Guardian1239