State Countdown Popup

Do you want to visually display the number of turns that a state has before it expires?

For example, perhaps you have a state that will automatically kill you after 5 turns have passed, and you would like the player to see the number as a visual indicator.

This plugin allows you to display a small number popup above a battler’s head that represents the number of turns left before a particular state expires.


Plugin: download here (right-click, save-as)

Related Plugins


Download ths plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_StateCountdownPopup plugin.

Once it is in your list of plugins, turn the plugin on.


By default, states will not display the countdown popup. You must indicate whether the state should show it using the note-tag

  <show countdown popup>

Once the countdown popup has been enabled, the game will automatically display it whenever the state is added.


Multiple Countdown Popup States

This plugin only supports one countdown popup at a time. This means that if the battler has two or more states that have the countdown popup enabled, only one of them will be picked.

The one that is picked is based on the “Priority” of the state. That is, the higher the priority, the more important it is.

In the case where there is a tie, the first state that the game saw will be picked.

Rounding the Counter


Some plugins convert the state counter into a decimal number rather than a whole number. By default, this plugin does not do any rounding.

If you would like to round your numbers, please use this note-tag:

<show countdown popup>
  rounding: NUM_PLACES
</show countdown popup>

If you want it to round to whole numbers, use 0. If you want it to round to two decimal places, use 2. For example:

<show countdown popup>
  rounding: 0
</show countdown popup>

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *