Status

The Status system keeps track of what state your game is in. Here are the states available:

NARRATIVE: When you are in a narrative scene. This usually means enemies will not attack, etc.

BATTLE: When you are in a battle.

BATTLE_PAUSED: When a battle is paused. For instance, perhaps the battle freezes while the camera pans to focus on a particular event.

BATTLE_WON/LOST: When the battle has been won/lost.

There is also a menu boolean to help track whether you have any menus open. These attributes can be used in your project as you see fit.