Difference between revisions of "FF7/Field/Script/Opcodes/A0 PC"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>BukTop
m (1 revision imported)
(No difference)

Revision as of 12:34, 4 April 2018

  • 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.