Changes

Jump to navigation Jump to search

FF8/Variables

No change in size, 22:41, 5 December 2020
Corrected link to Cheat Engine table
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 size of the variable.
The variables are all stored in save files, with the save block starting at address 0xD10 on uncompressed PC saves. The parameter to access a variable in the game scripts is basically the offset from this point in the variable block. For example, getting main story progress (word 256, which is word 0x100 in hex) just gets the two bytes starting at address 0xD10 + 0x100 = 0xE10. The varmap is continuous in memory while the game is running as well. In the en-US version of the original and SE releases (and likely most other versions), the varblock begins at 0x18fe9b8. You can use this [https://www.mediafire.com/?ucolf65ewq1yoty|this Cheat Engine table] to track them as you play.
Items in grey are unused by field scripts (some of them may be used in battle scripts).
1
edit

Navigation menu