Advanced Scripting
Section 4.C
The pages in this subsection will go over some advanced ways of setting up your custom midbattle scripts.
In the subsection "Speech Utilities", I will go over everything related to setting up speech and dialogue in much more thorough detail.
In the subsection "Variable Utilities", I will introduce the midbattle variable, how to edit it's value, and how you can make something happen in response to its value changing.
In the subsection "Storing Scripts", I will go over how to store entire midbattle hashes in the plugin scripts themselves so that you may call upon them when you need them. This not only allows you to save space in your event scripts themselves, but makes your midbattle scripts more accessible and easily re-usable for multiple battle calls.
In the subsection "Hardcoding", I will go over an entirely different method of setting up midbattle scripts where you may simply hardcode entire battle scenarios freehand, rather than relying on the pre-made hash system where you input certain values for certain outcomes. This method requires you to be fairly competent at coding, so I recommend sticking with the hash system if you aren't confident in your abilities.
In the subsection "Global Scripts", I will go over a way to implement midbattle scripts that can apply globally to any battle, without having to set a battle rule for a specific battle.
Last updated