Difference between revisions of "FF7/Field/Script/Opcodes/0B GTPYE"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>Synergy Blades
m (Description)
Line 24: Line 24:
 
==== Description ====
 
==== 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.
+
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 retrieve values into three different banks, one 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]].
 
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]].

Revision as of 17:01, 7 September 2006

  • Opcode: 0x0A
  • Short name: GTPYE
  • Long name: Get Party To Memory

Memory layout

0x0B B1 / B2 B3 / 0 A1 A2 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 Character IDs into the banks and addresses specified for each party member. It is possible to retrieve values into three different banks, one 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 SPTYE.