Variable Battle dialogue, dependent on Skill and Turn Variables

I am trying to determine the simplest way to display scripted text during a Battle with conditions based on Player input.
  • Scripted text appears depending on the specific Skill that was cast by the Player.
  • Scripted text will be different each time the Player uses that same Skill against this specific Troop.


Simple scenario:
Player uses “CUT”.
Enemy says “Ow, you cut me!”
Player uses an Item.
Enemy says nothing.
Player uses “CUT”
Enemy says “Argh, you cut me a second time!”



Simple Logic:
->Player uses Skill# 01
->Skill# 01 has a common event = Turn ON Switch# 01
->Troop: Battle Event Condition
---->Condition# 01: Switch# 01 = ON
---->Condition# 02: Variable# 01 = Battle Turn
->If: Variable# 01 = 1, then Dialogue Option# 01
->If: Variable# 01 = 2, then Dialogue Option# 02
->If: Variable# 01 = n, then Dialogue Option# n …
->End: Each dialogue option will turn off Switch# 01 immediately after appearing on-screen


Challenges:
  • Most importantly, how do you determine which # Turn the Battle is currently in?
  • In order to avoid repeating dialogue, or skipping dialogue, does each Dialogue Option also have to include an entirely separate Switch?
  • ->Successfully executing Dialogue Option# 01 will turn Switch# 02 ON
  • ->Dialogue Option# 02 replaces Dialogue Option# 01 IF Switch# 02 is ON
  • ->Successfully executing Dialogue Option# 02 will turn Switch# 03 ON
  • ->etc…


Thanks for reading!

Original thread: https://forums.rpgmakerweb.com/threads/variable-battle-dialogue-dependent-on-skill-and-turn-variables.140837/