• Opcode: 0x017
  • Short name: PREQ
  • Long name: Request party entity execution

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). The party slot is resolved to a field entity through the savemap party-entity map; if no entity is mapped the handler yields. Non-blocking, like REQ (returns 3).

PC handler: SCRIPT_PREQ.

Function addresses

Function Address Description
SCRIPT_PREQ 0x51D1F0 Field script opcode handler (verified IDA function)