This script displays an encounter balloon over your player character on the map whenever you are about to encounter a random battle monster. When this balloon is displayed, the player can choose to skip the random encounter by pressing a specific button.
This only applies to random encounters.
You will also need this spritesheet. Place it inside your Graphics/System folder
There are several configuration options, though the defaults should be fine for most purposes.
- Skip_Key: the key to press to skip a battle, if possible
- Disable_Menu: disables menu access when the encounter balloon is displayed
- Disable_Movement: disables player movement when the encounter balloon is displayed
- Play_SE: allows you to play a sound effect when you encounter a random battle
- Encounter_SE: the sound effect that will be played, if enabled
Each troop comes with a “skip condition”, which is a special condition
associated with the troop that determines whether your party can skip
the battle or not.
To set up a skip condition:
- Create an event page for the troop
- The first command must be a comment, with the line
- The second command is a conditional branch, which you will use to specify
the skip condition
Whenever a random encounter appears, the colour of the balloon determines
whether you can skip the battle or not: if it is red, then you can’t skip.
If it is blue, then you can skip. The skip condition must be met in order
for the balloon to be blue. If no skip condition is specified, then it is
assumed to be not skippable.
In order to skip battles, you must have enough “encounter points”. The encounter points are stored with the game party, and tied to a variable of your choice.
In the configuration, you can set the max amount of encounter points the party can have using a formula.
Each troop may require a certain amount of encounter points in order to skip.
If you choose to skip the battle, then your encounter points will decrease
by that amount.
To specify the amount of encounter points is required to skip a battle:
- In the same troop page that you used for the skip condition
- Create a comment “<encounter points>”
Create a “control variable” command, and use the script box to set the
amount of encounter points required. This is a formula.
In addition to encounter points, a party also has an encounter level.
This can be used in the encounter points formula.
You can change the encounter level using script calls
For some integer
Disabling encounter skipping
You can disable the encounter balloon option by making a script call
If disabled, random encounters will be processed as usual.
The Encounter Balloon
This script requires an “encounter balloon” spritesheet for the actual balloon animation. The script by default uses the one up there.
You may create your own balloon animation easily:
- Modify the default ones
- Create your own animation sequence, and update the balloon settings in the configuration as required