Difference between revisions of "SCUMM/V5 opcodes"

Jump to navigation Jump to search
m (→‎SCUMM V5 opcodes: re-arranged for clarity)
m (→‎override: clarify)
Line 950: Line 950:


===Operation===
===Operation===
If the sub-opcode is 0, marks the end of an override section.
If the sub-opcode is 0, marks the end of an override section.<br>
If the sub-opcode is not 0, marks the beginning of an override section.
If the sub-opcode is not 0, marks the beginning of an override section. The instruction is immediately followed by a "jumpRelative" instruction.<br.
Overrides are used by cutscenes; if a cutscene is skipped (if the user presses the ESC key), the script will jump by the given target (offset from this instruction).
Overrides are used by cutscenes; if a cutscene is skipped (if the user presses the ESC key), the script will jump by the given target (offset from this instruction).