Difference between revisions of "FF7/Field/Script/Opcodes/12 JMPB"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Synergy Blades
 
Qhimm>Synergy Blades
(No difference)

Revision as of 23:26, 17 August 2006

  • Opcode: 0x12
  • Short name: JMPB
  • Long name: Jump back

Memory layout

0x10 A

Arguments

  • const UByte A: Amount to jump backwards.

Description

Jumps backward in the current script a specified amount. The jump begins just before the jump opcode itself and then moves the current byte pointer back the specified number of bytes. In the following example, the SOLID and WAIT lines are repeated indefinitely.

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

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