Mid-Battle Scripting
Section 4
The Deluxe Battle Kit allows you to create special scripts that will run during battle to create custom scenarios. This can be used to display trainer speech during battle, change the battle music, make an animation play, edit the attributes of a battler or the battlefield, and so much more. What you can accomplish with this is only limited by your imagination.
To set up a midbattle script, you must use the "midbattleScript" Battle Rule. This is a special rule that wasn't covered in the "Deluxe Battle Rules" section above, as it requires its own section to go over all the ways in which it may be used and set up.
This rule is entered as setBattleRule("midbattleScript", Script)
, where "Script" can be a hash which contains a series of Trigger Keys.
Refer to the "Trigger Keys" section for more details.
Last updated