Difference between revisions of "FF8/Field/Script/Opcodes/003 JPF"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Myst6re
(checked)
Qhimm>Shard
Line 4: Line 4:


==== Argument ====
==== Argument ====
 
Number of instructions to jump forward. (in Deling's editor, this is just a label)
Number of instructions to jump forward.


==== Stack ====
==== Stack ====
 
:'''JPF'''
..., ''condition'' => ...


==== Description ====
==== 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.
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.

Revision as of 03:22, 14 May 2014

  • 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

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.