Hey there, I am currently using the script "Stacked States" and was wondering how I could do a script call in an event to count how many of state X there is on one actor / enemy. Looking at the code I tried something like this but no luck :/
Note I am trying to count a specific state, not states in general.
Note I am trying to count a specific state, not states in general.
Code:
@a = $game_party.battle_members[0]@b = @a.states(5).count.to_s$game_message.add(@