All battle participants (characters and monsters) have a variety of timers that determine when events occur in a battle. In order of priority, they are:
Stop, Action, Sap, Poison, Stone, Wall, Count
On each tick, every active timer counts down by one1), and any timers that reach zero are flagged as expired. Only one expired timer for one participant can be handled in a given ATB tick, and they are checked in order. If none of that participant's timers are expired, the next participant is checked. If no participants have any expired timers, no events occur during that tick.
For more details on how ATB ticks work, see: ATB System.
Stop: If this is active, all other timers for that participant are frozen until after it expires.
Action: This is the primary timer, used to determine when participants are ready to queue and execute actions. See the section below.
Sap: Determines when the HP leak effect expires.
Poison: Determines when Poison status will deal damage.
Stone: Determines when Gradual Petrification will advance.
Wall: Determines when Wall will expire.
Count: The visible time for Count. Only counts down every second tick.
Timer | Effect while active | Effect on expiration | Used by | Duration |
---|---|---|---|---|
Stop | Stop status; other timers are frozen | Stop status is removed | Stop, HrGlass1/2/3 | Spell's power * 3 2) |
Sap | HP leak (2 HP per tick) | HP leak effect is removed | Virus, Big Bang, etc. | Either 30 ticks or a random number of ticks |
Poison | Poison status | Damage (1/8 max HP) | Venom, Poison Gas, etc. | Vitality + 203) |
Stone | Gradual Petrification status | Petrification advances | Ray, Petrify | Vitality + 204) |
Wall | Wall (Reflect) status | Wall status is removed | Wall, StarVeil, MoonVeil | Spell's power + 30 5) |
Count | Count status | Death | Count (Plague, FatalEye) | Spell's power (10 Count ticks, which is 20 ATB ticks) |
The Speed Modifier affects the initial value set for all timers except for Count.6). Changing the Speed Modifier does not affect existing timer values.
Each time the Poison and Stone timers take effect, they are reset to their initial value. Changes to the Speed Modifier do not affect this.
All actions must be queued before they can be executed. The Action Timer is used to determine when both of these steps can happen.
At the start of battle7), and after executing an action, a participant's Action Timer is set to their Modified Relative Agility. When this timer is handled after expiration:
After a command is entered, the Action Timer is set to a value that depends on the command.
The Speed Modifier is then applied to the base value, and the Action Timer is set to the resulting value. When the timer is handled after expiration, the action is executed.
The Sleep and Paralyze status effects both work by setting the Action Timer to a high number, preventing the target from acting until after it expires.
The formula is: ( (300 - (4 * target's WIL) ) * Speed Modifier) / 6, with WIL being replaced by the $2F stat if the target is a monster. If the result would be negative when the Speed Modifier is applied, it is set to 1 first.
When a monster starts a Chain, all other battle participants' timers are paused until the Chain ends.
This section is highly technical, and probably only useful in the context of physical attack status procs, certain spells that cause Paralyze or Sleep, and possibly the mimic glitch.
Each timer includes a byte for storing flags:
For the purposes of status procs and the relevant spells that cause Paralyze and Sleep, the effect will fail if any flags are set on the target's Action Timer. It should only pass this test if the target has no command queued, is not asleep or paralyzed, and their Action Timer is non-zero.
The handlers for expired Poison, Stone, and Count timers do nothing if the character is currently Hiding or Jumping. The Poison damage/Petrification increase/Count death will not occur, and the timer will continue to be marked as expired.
Wall and Sap timers are handled normally, though the character will not take damage from Sap.