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

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
my_wiki>Synergy Blades
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
* Opcode: '''0x10'''
 
* Opcode: '''0x10'''
* Short name: '''JMPF'''
+
* Short name: '''SKIP'''
 
* Long name: Jump forward
 
* Long name: Jump forward
  
Line 18: Line 18:
  
 
<pre>
 
<pre>
JMPF (04)
+
SKIP (04)
 
WAIT (70,00)
 
WAIT (70,00)
 
SOLID (01)
 
SOLID (01)
 
</pre>
 
</pre>
  
If a jump longer than 0xFF is required, use [[FF7/Field/Script/Opcodes/11 JMPFL|JMPFL]] instead.
+
If a jump longer than 0xFF is required, use [[FF7/Field/Script/Opcodes/11 JMPFL|LSKIP]] instead.

Latest revision as of 15:41, 21 September 2025

  • Opcode: 0x10
  • Short name: SKIP
  • 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.

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

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