Scripted sequences
ScriptSequenceSelector · signed byte, operand of Run a sequence
This byte selects a scripted sequence: the portal animation, the copy-protection question, or the dialogue with one of the three characters who can join the party. The characters' names come from the matching character presets in the executable.1
Other values reach the same path as the character dialogues; whether they are valid is unknown.
typedef enum ScriptSequenceSelector {
SCRIPT_SEQUENCE_PORTAL = -2, /* Byte 0xfe: play the portal animation. */
SCRIPT_SEQUENCE_PASSWORD_CHECK = -1, /* Byte 0xff: ask the copy-protection question. */
SCRIPT_SEQUENCE_NPC_INSAL = 0, /* Byte 0x00: offer Insal a place in the party. */
SCRIPT_SEQUENCE_NPC_CALANDRA = 1, /* Byte 0x01: run Calandra's dialogue. */
SCRIPT_SEQUENCE_NPC_SHORN = 2 /* Byte 0x02: run Shorn's dialogue. */
} ScriptSequenceSelector;
The dialogues and their effects are described in character dialogue sequences. They can set global script flags.
Sources
Locations refer to the game executable reference.