Text advances¶
SetText in Regular Letter Rendering and Dialogue mode has a normal yield time when a text skip isn't happening of 0.02 seconds or 0.03 seconds in Japanese
for every standard letter. Every spaces do not get a wait and some punctuation has an additional fixed wait of 0.15 seconds. In non dialogue mode, an |spd,0| is prepended which already disables wait time and in Single Letter Rendering, wait times aren't supported at all.
There are ways to skip the wait times on demand such as from the input string itself If the speed is set to 0, but it is also possible to reduce it on demand by the player using either text skip system.
Text skip¶
SetText allows to skip the wait time that would normally happen at the end of the Dialogue post-processing in Dialogue mode.
There are 2 instance fields of MainManager involved in this feature:
skiptext
: Tells if a text skip was requested by either pressing the confirm input or the cancel input without holding it. Initialized to false in Dialogue setup and overridden to false in multiple Commands if applicable.isholdingskip
: Tells if the cancel input is held which implies thatskiptext
is true as this is a super set of theskiptext
. Initialized to false in Dialogue setup
When skiptext
turns to true, SetText will process every letter without yielding until some conditions happens. For example, if a next command is processed, it will force the text skip to stop before yielding for the next textbox, but there are other commands that stops it.
isholdingskip
on the other hand is more aggressive: it will automatically pass confirmation inputs needed to release a waitinput lock. This allows to pass textboxes as soon as the cooldown expires which for either skipping method is set to 16 frames. What this means is in the best case scenario, holding the Cancel input will still leave 16 frames of waiting between textboxes, but it will not require mashing.
Override a text skip¶
SetText can force a textskip to end via noskip which ignores any request to text skip and will still upheld the normal yield time.