- Opcode: 0x169
- Short name: UNKNOWN4
- Long name: Set direct-movement flag
Argument
none
Stack
Flag (0/1)
UNKNOWN4
Description
Sets the entity’s “move without walkmesh clipping” flag from the stack — the same flag that CMOVE/RCMOVE set implicitly for direct (unclipped) movement. Used only twice, on the Ragnarok hatch screen.
PC handler: SCRIPT_UNKNOWN4 (renamed SCRIPT_UNKNOWN4_set_motion_flag576 in the community IDB).
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_UNKNOWN4 | 0x526210 | Field script opcode handler (verified IDA function) |