Difference between revisions of "FF7/Field/Script/Opcodes/74 GETPC"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
(No difference)
|
Revision as of 03:40, 7 September 2006
- 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.