Difference between revisions of "FF7/Field/Script/Opcodes/10 JMPF"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Synergy Blades
 
ffrtt>BukTop
m (2 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 04:16, 23 May 2019

  • Opcode: 0x10
  • Short name: JMPF
  • Long name: Jump forward

Memory layout

0x10 A

Arguments

  • const UByte A: Amount to jump forward.

Description

Jumps forward in the current script a specified amount. The jump begins just after the jump opcode itself and then skips the specified number of bytes. In the following example, the WAIT line is skipped.

JMPF (04)
WAIT (70,00)
SOLID (01)

If a jump longer than 0xFF is required, use JMPFL instead.