Difference between revisions of "FF7/Field/Script/Opcodes/74 GETPC"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Synergy Blades
 
ffrtt>BukTop
m (2 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 04:17, 23 May 2019

  • Opcode: 0x74
  • Short name: GETPC
  • Long name: Get Party Character

Memory layout

0x74 B C A

Arguments

  • const UByte B: Bank to store the value.
  • const UByte C: Character offset in the party whose value should be retrieved.
  • const UByte A: Address to store the value.

Description

Gets the standard Character ID for the party member, referenced by C. This value is between 0 and 2; 0 for the party member at the top of the list, 1 for the member in the middle, and 2 for the member in the bottom slot, as found in the main menu. The character ID is then placed at the specified bank and address.