List of Opcodes: Difference between revisions
Happylappy (talk | contribs) Is there a reason we never did this? |
Happylappy (talk | contribs) |
||
| Line 5,631: | Line 5,631: | ||
|Level | |Level | ||
|level | |level | ||
| | |Map LEVEL the script should be located in. | ||
|- | |- | ||
|2 | |2 | ||
|ConstString | |ConstString | ||
|script_id | |script_id | ||
| | |Name of the script itself, only the first 8 characters are read. | ||
|- | |- | ||
|3 | |3 | ||
|uint | |uint | ||
| | |script_sector | ||
| | |The "sector" of the script, and the value <code>switch(sector())</code> will return in def 0. Often used to determine whether a cutscene should be played as a flashback or not. | ||
|} | |} | ||
=== 0x12d - supervision_ExecuteActingSub === | === 0x12d - supervision_ExecuteActingSub === | ||
Loads a specified Acting script from the specified level from within Unionall | Loads a specified Acting script from the specified level from within Unionall. | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 5,658: | Line 5,658: | ||
|Level | |Level | ||
|level | |level | ||
| | |Map LEVEL the script should be located in. | ||
|- | |- | ||
|2 | |2 | ||
|ConstString | |ConstString | ||
|script_id | |script_id | ||
| | |Name of the script itself, only the first 8 characters are read. | ||
|- | |- | ||
|3 | |3 | ||
|uint | |uint | ||
| | |script_sector | ||
| | |The "sector" of the script, and the value <code>switch(sector())</code> will return in def 0. Often used to determine whether a cutscene should be played as a flashback or not. | ||
|} | |} | ||