Anonymous

Changes

From Final Fantasy Inside

FF7/Battle and growth data

681 bytes added, 22:42, 25 November 2008
Stat curve record
Stat Difference = Rnd(1..8) + Base + Floor(Gradient * [Level Attained] / 100) - Current Stat
This difference is capped at 11 and the value located at 0x01F8 + [Stat Difference] is added to that Stat.
<br/>
<br/>
HP and MP use a similar system, but a different formula:
HP Baseline = Base * 40 + (Level - 1) * Gradient
MP Baseline = Base * 40 + [(Level - 1) * Gradient / 10]
Difference = Rnd(1..8) + [100 * Baseline / Current Stat] - 100
In the above formulas, Base is a signed byte (between -128 and 127) so Base * 40 can range between -5120 and 5080.<br/>
Again, this difference is capped at 11 and the appropriate points are increased by (Base is now treated as an unsigned byte):
(&[0x204 + Difference] / 100) * Base for HP
(&[0x210 + Difference] / 100) * [Level * Gradient / 10] - [(Level - 1) * Gradient / 10] for MP
where &[x] is the value located at the address of this section
- Placeholder for HP, MP, and Exp-
==== Character AI data ====
Anonymous user