Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/0A SPTYE

1,370 bytes added, 16:56, 7 September 2006
no edit summary
* Opcode: '''0x0A'''
* Short name: '''SPTYE'''
* Long name: Set Party From Memory

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x0A
! 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 ====

Sets the current party, using the [[FF7/Field/Character ID|Character ID]] values found at the banks and addresses specified by the arguments. It is possible to retrieve from three different banks.

This is used to set a party back to the player's configuration after a certain event, that requires specific characters that have been set using [[FF7/Field/Script/Opcodes/CA PRTYE|PRTYE]], has completed. An example would be the party being set to Barret only for the Dyne event/battle, and then returning the party back to the player's configuration before the Dyne event occurs.

Navigation menu