• Opcode: 0x018
  • Short name: PREQSW
  • Long name: Request party entity execution (asynchronous execution, guaranteed)

Argument

The ID of the current party member Entity (0, 1 or 2).

Stack

…, Priority, Label => …

Description

Go to the method Label in the entity associated with the character Argument in the current party with a specified Priority (top of stack = Label, below = Priority). Party slot resolved via the savemap party-entity map. Guaranteed request that waits (returns 1 to retry) until the requested script starts; asynchronous thereafter.

PC handler: SCRIPT_PREQSW.

Function addresses

Function Address Description
SCRIPT_PREQSW 0x51D360 Field script opcode handler (verified IDA function)