- Opcode: 0x01C
- Short name: HALT
- Long name: Halt
Argument
Always 0.
Stack
No change.
Description
Freezes the current script. The handler unconditionally returns 1 (wait — retry the same instruction next frame), so execution sticks on this instruction forever and never advances. To end only the current script and return to its caller, use RET instead.
PC handler: SCRIPT_HALT.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_HALT | 0x51D710 | Field script opcode handler (verified IDA function) |