This script allows you to create choice selections with more than 4 choices, without using any script calls or comments. All you have to do is create multiple “show choice” commands and the game will handle the rest for you!
Script: Download Here
You start by adding a show choice command as usual, filling in each choice field
If you want more choices, just add another show choice command, and fill it out as usual.
Only show choice commands that appear immediately after a previous show choice command on the same level will be merged together, so if you had any other commands in between “show choice” commands, they will be treated as separate choice prompts.
The choice editor comes with 6 options when you press the “cancel” button
- Choice 1
- Choice 2
- Choice 3
- Choice 4
Each “show choice” command comes with their own options. All you need to do is select the cancel choice in the appropriate “show choice” command and the script sets it up for you! You should set the other commands to “disallow” otherwise I will simply choose the last one.
For the branch choice, all cancel branches will be executed if you choose that, so you should only create a cancel branch on the very last group of choices.
There is an option in the configuration section called “Manual Combine”. By default, this is set to
false, which means all choice commands will be automatically combined together. If you would like to be able to manually specify whether choice commands should be combined or not, you can set this to
When manual combining is enabled, before your first large show choice command, you must make a script call
In order to combine the following show choice commands together. This must be done before each set of large choices.
The idea behind the script is simple: Notice that all show choice commands exhibit the same pattern
- It begins with command 102, which holds the choices to draw as well as the cancel choice
- It is followed by command 402, which is the “when” check to determine whether the branch should be executed
- It is optionally followed by command 403, which is the “branch” case
We can take advantage of this fact by determining whether the next command AFTER all choice branches is another command 102. If it is, then we can merge it with the initial show choice command (of the current group). Delete the unneeded command 102, and update all branch numbers to correctly merge it with the initial branches.