FF7/Field/Script/Opcodes/28 KAWAI

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
  • Opcode: 0x28
  • Short name: KAWAI
  • Long name: Character Graphics Opcode (Multibyte sequence)

Memory layout

0x28 L S ...

Arguments

  • const UByte L: Total length of the entire opcode and argument list.
  • const UByte S: Operation to perform.
  • Variable ...: Sequence of arguments, depending on the operation type.

Description

KAWAI is a multipurpose, graphics-related opcode that performs a variety of different operations on visible entity objects, depending on the subop argument. It was named after Final Fantasy VII's Character Programmer, Hiroshi Kawai.

Subcodes by Opcode

00 EYETX
01 TRNSP
02 AMBNT
06 LIGHT
0A SBOBJ
0D SHINE
FF RESET