Difference between revisions of "FF7/Field/Script/Opcodes/0F SPECIAL"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>BukTop
m (13 revisions imported)
m (Ensure correct links for some op code)
 
(One intermediate revision by one other user not shown)
Line 21: Line 21:
 
=====Kernel=====
 
=====Kernel=====
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F5 ARROW|F5 ARROW]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F5 ARROW|F5 ARROW]]
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F5 ARROW|F6 PNAME]]
+
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F6 PNAME|F6 PNAME]]
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F5 ARROW|F7 GMSPD]]
+
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F7 GMSPD|F7 GMSPD]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F8 SMSPD|F8 SMSPD]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F8 SMSPD|F8 SMSPD]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/FB BTLCK|FB BTLCK]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/FB BTLCK|FB BTLCK]]
Line 36: Line 36:
 
====Subcodes by Opcode====
 
====Subcodes by Opcode====
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F5 ARROW|F5 ARROW]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F5 ARROW|F5 ARROW]]
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F5 ARROW|F6 PNAME]]
+
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F6 PNAME|F6 PNAME]]
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F5 ARROW|F7 GMSPD]]
+
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F7 GMSPD|F7 GMSPD]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F8 SMSPD|F8 SMSPD]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F8 SMSPD|F8 SMSPD]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F9 FLMAT|F9 FLMAT]]
 
  [[FF7/Field/Script/Opcodes/0F SPECIAL/F9 FLMAT|F9 FLMAT]]

Latest revision as of 17:12, 2 September 2020

  • Opcode: 0x0F
  • Short name: SPECIAL
  • Long name: Special Opcode (Multibyte sequence)

Memory layout

0x0F SUBOP ...

Arguments

  • const UByte SUBOP: Special suboperation for field script execution.
  • const UByte ...: 0 or more arguments, depending on the subop.

Description

Special is a multibyte opcode extension, mostly for game specific opcodes to FF7. The first argument specifies the type of operation and must be from the values listed below; the number of arguments after this must also match the number of arguments for the operation type.

Subcodes by Category

Kernel
F5 ARROW
F6 PNAME
F7 GMSPD
F8 SMSPD
FB BTLCK
FC MVLCK
FD SPCNM
FE RSGLB
Inventory
F9 FLMAT
FA FLITM
FF CLITM

Subcodes by Opcode

F5 ARROW
F6 PNAME
F7 GMSPD
F8 SMSPD
F9 FLMAT
FA FLITM
FB BTLCK
FC MVLCK
FD SPCNM
FE RSGLB
FF CLITM