Difference between revisions of "FF7/Field/Script/Opcodes/CA PRTYE"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
m
m (6 revisions imported)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* Opcode: '''0xC8'''
+
* Opcode: '''0xCA'''
* Short name: '''PRTYP'''
+
* Short name: '''PRTYE'''
 
* Long name: Party Change
 
* Long name: Party Change
  
 
==== Memory layout ====
 
==== Memory layout ====
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xC8
+
! width="40" | 0xCA
 
! width="40" | ''1''
 
! width="40" | ''1''
 
! width="40" | ''2''
 
! width="40" | ''2''
Line 32: Line 32:
 
|-
 
|-
 
| align="center" | 1
 
| align="center" | 1
| Tifa
+
| Barret
 
|-
 
|-
 
| align="center" | 2
 
| align="center" | 2
| Barret
+
| Tifa
 
|-
 
|-
 
| align="center" | 3
 
| align="center" | 3
Line 41: Line 41:
 
|-
 
|-
 
| align="center" | 4
 
| align="center" | 4
| Yuffie
+
| Red XIII
 
|-
 
|-
 
| align="center" | 5
 
| align="center" | 5
| Red XIII
+
| Yuffie
 
|-
 
|-
 
| align="center" | 6
 
| align="center" | 6
Line 50: Line 50:
 
|-
 
|-
 
| align="center" | 7
 
| align="center" | 7
| Cid
+
| Vincent
 
|-
 
|-
 
| align="center" | 8
 
| align="center" | 8
| Vincent
+
| Cid
 
|-
 
|-
 
| style="background:rgb(204,204,204)" align="center" | 9
 
| style="background:rgb(204,204,204)" align="center" | 9

Latest revision as of 05:18, 23 May 2019

  • Opcode: 0xCA
  • Short name: PRTYE
  • Long name: Party Change

Memory layout

0xCA 1 2 3

Arguments

  • const UByte 1: Character ID for first party character.
  • const UByte 2: Character ID for second party character.
  • const UByte 3: Character ID for third party character.


Description

Changes the current party to the characters specified by each of the three arguments, or leaves the party member blank if the ID is 0xFE. Note that the chocobo entry will crash during battle, and that Young Cloud and Sephiroth occupy the same 'slots' used by Vincent and Cait Sith's character entries.

Character IDs

ID Character
0 Cloud
1 Barret
2 Tifa
3 Aeris
4 Red XIII
5 Yuffie
6 Cait Sith
7 Vincent
8 Cid
9 Young Cloud
A Sephiroth
B Chocobo
FE No character