Facing after a level load
ScriptLevelDirection · signed byte, operand of
Change level or load monster resources
Script instructions · Virtual machine
When a script loads a level, this operand gives the direction the party faces
on arrival. One value keeps the current facing; any other value is written to
the party's direction as it is, so 0 to 3 are the
Direction values.1
typedef enum ScriptLevelDirection {
SCRIPT_LEVEL_KEEP_DIRECTION = -1 /* Byte 0xff: keep the party's current facing. */
} ScriptLevelDirection;
Sources
Locations refer to the game executable reference.