Qhimm.com Forums

Final Fantasy 7 => General Discussion => Topic started by: Axel Firestorm on 2024-12-31 23:58:03

Title: Location of limit break data
Post by: Axel Firestorm on 2024-12-31 23:58:03
Does anyone know where the limit break use totals and character kill totals are stored, which hex addresses/banks & bytes they're kept in? Reunion's save map listing only goes so far and doesn't seem to include them. Thanks.
Title: Re: Location of limit break data
Post by: mav on 2025-01-01 13:39:26
This info is stored in the Savemap Character Records (https://wiki.ffrtt.ru/index.php/FF7/Savemap#Character_Record) per each character:

Code: [Select]
Offset Length Description
0x0E 1 byte Current limit level (1-4)
0x0F 1 byte Current limit bar (0xFF = limit break)
0x22 2 bytes Learned limit skills bitmask
0x24 2 bytes Number of kills
0x26 2 bytes Times limit 1-1 has been used
0x28 2 bytes Times limit 2-1 has been used
0x2A 2 bytes Times limit 3-1 has been used

In memory, the Savemap on PC is stored at address 0xdbfd38, and character records start at offset 0x54, each record is 132 bytes long.
Title: Re: Location of limit break data
Post by: Axel Firestorm on 2025-01-01 15:24:08
Thanks. How would I convert that to the [xx][yyy] variables used in Makou Reactor? Is there a way? I want to add a feature to my mod that shows how many current uses/kills a character has left to do before learning his or her next limit.
Title: Re: Location of limit break data
Post by: mav on 2025-01-01 17:34:36
If you want to access these values from the script then I believe it’s not possible. Field script can only access variables from the memory banks the devs specifically defined for that purpose. The character data lives outside this memory region.
Title: Re: Location of limit break data
Post by: Axel Firestorm on 2025-01-01 19:41:22
Oh ok. I wasn't sure. I'll just use static lists of the starting totals, then, which was what I'd originally gone with anyway. Thanks for your help.