FF7/Field/Script/Opcodes/12 JMPB

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 12:34, 4 April 2018 by my_wiki>BukTop (1 revision imported)
Jump to navigation Jump to search
  • 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.