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>BukTop
m (1 revision imported)
m (2 revisions imported)
 
(No difference)

Latest revision as of 05:18, 23 May 2019

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