Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/0B GTPYE

1,274 bytes added, 16:59, 7 September 2006
no edit summary
* Opcode: '''0x0A'''
* Short name: '''GTPYE'''
* Long name: Get Party To Memory

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x0B
! width="50" | ''B1 / B2''
! width="50" | ''B3 / 0''
! width="40" | ''A1''
! width="40" | ''A2''
! width="40" | ''A3''
|}

==== Arguments ====
* '''const Bit[4]''' ''B1'': Bank for first party member.
* '''const Bit[4]''' ''B2'': Bank for second party member.
* '''const Bit[4]''' ''B3'': Bank for third party member.
* '''const Bit[0]''' ''0'': Zero.
* '''const UByte''' ''A1'': Address for first party member.
* '''const UByte''' ''A2'': Address for second party member.
* '''const UByte''' ''A3'': Address for third party member.

==== Description ====

Retrieves the current party's [[FF7/Field/Character ID|Character ID]]s into the banks and addresses specified for each party member. It is possible to set values in three different banks for each member.

This is used to store the player's party configuration before they are overridden for a special event that requires a specific character setup. The player's original party configuration can then be set back to its original setup using [[FF7/Field/Script/Opcodes/0A SPTYE|SPTYE]].

Navigation menu