FF7/Field/Script/Opcodes/A0 PC

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 18:31, 9 October 2006 by my_wiki>Synergy Blades
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Opcode: 0xA0
  • Short name: PC
  • Long name: Playable Character

Memory layout

0xA0 C

Arguments

  • const UByte C: Character ID.

Description

Defines the entity in which this script resides as a playable character. The entity then becomes associated with the character ID C, including the entity's visible object, animation set, and scripts. For example, creating a visible entity and inserting PC(0) into its initialisation script will associate this entity with character ID 0.