Difference between revisions of "FF8/Variables"

From Final Fantasy Inside
< FF8
Jump to navigation Jump to search
my_wiki>Shard
m
my_wiki>Shard
Line 9: Line 9:
 
| 256
 
| 256
 
| Main Story quest progress. In PC saves, value is at offset 0xE10  
 
| Main Story quest progress. In PC saves, value is at offset 0xE10  
 +
|-
 +
! align="left" | Byte
 +
| 488
 +
| Alternate Party Flags. Irvine +1/+16, Quistis +2/+32, Rinoa +4/+64, Zell +8/+128.<sub>1</sub>
 
|-
 
|-
 
! align="left" | Byte
 
! align="left" | Byte
Line 32: Line 36:
 
! align="left" | Byte
 
! align="left" | Byte
 
| 734
 
| 734
| Split Party Flags (+1 Zell, +2 Irvine, +4 Rinoa, +8 Quistis, +16 Selphie).
+
| Split Party Flags (+1 Zell, +2 Irvine, +4 Rinoa, +8 Quistis, +16 Selphie).<sub>2</sub>
 
|}
 
|}
 +
 +
==Notes==
 +
:1. Each party member in the inactive party when th party splits in disc 2. Each member except Selphie has one of the eight bits changed for this variable. One member has a flag in the 4 most significant bits, and the other has a flag in the 4 least significant bits. It's done this way so that when the characters appear, they animate towards different locations in the field, rather than stacking on top of each other.
 +
:2. This byte contains flags for which characters are in Squall's party when the party splits in disc 2.

Revision as of 03:33, 17 March 2014

Game variables can be accessed using the PSHM family of script functions, and can be written to by using the POPM family of functions. Which one you use depends on the variable.

Var type Var Number Description
Word 256 Main Story quest progress. In PC saves, value is at offset 0xE10
Byte 488 Alternate Party Flags. Irvine +1/+16, Quistis +2/+32, Rinoa +4/+64, Zell +8/+128.1
Byte 720 Squall's costume (0=normal, 1=student, 2=SeeD, 3=Bandage on forehead)
Byte 721 Zell's Costume (0=normal, 1=student, 2=SeeD)
Byte 722 Selphie's costume (0=normal, 1=student, 2=SeeD)
Byte 728 Random game seed? Value of Tomb of Unknown King student ID. Possibly does other things as well.
Byte 730 Joined Garden Festival committee (1=yes, 0=no)
Byte 734 Split Party Flags (+1 Zell, +2 Irvine, +4 Rinoa, +8 Quistis, +16 Selphie).2

Notes

1. Each party member in the inactive party when th party splits in disc 2. Each member except Selphie has one of the eight bits changed for this variable. One member has a flag in the 4 most significant bits, and the other has a flag in the 4 least significant bits. It's done this way so that when the characters appear, they animate towards different locations in the field, rather than stacking on top of each other.
2. This byte contains flags for which characters are in Squall's party when the party splits in disc 2.