- Opcode: 0x03
- Short name: JPF
- Long name: Jump Forward with condition
Argument
Number of instructions to jump forward. (in Deling’s editor, this is just a label)
Stack
Condition
JPF
Description
Jump forward a number of instructions given by the Argument if condition is equal to 0. Else does nothing. The condition is always popped from the stack. Concretely: the top stack value is popped; if it is non-zero the handler returns 2 (fall through to the next instruction); if it is zero the signed Argument is added to the instruction pointer (entity +374) and the handler returns 4.
PC handler: SCRIPT_JPF.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_JPF | 0x51C4F0 | Field script opcode handler (verified IDA function) |