Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/74 GETPC

885 bytes added, 03:40, 7 September 2006
no edit summary
* Opcode: '''0x74'''
* Short name: '''GETPC'''
* Long name: Get Party Character

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x74
! width="40" | ''B''
! width="40" | ''C''
! width="40" | ''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 [[FF7/Field/Character ID|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.