This is topic TeamPA's HP and Stat formula... and they're different!! in forum Research Lab at The Azure Heights Forum.

To visit this topic, use this URL:;f=1;t=000276

Posted by Givera (Member # 234) on 07-07-2000, 11:41 AM:
((BTW - This is for RGBY...))

HP: [ { (Base HP Stat + DV) * 2 + Stat Exp / 4} * Level] / 100 + Level + 10

Misc: [ { (Base Stat + DV) * 2 + Stat Exp / 4} x Level] / 100 + 5

Base Stat and DV are the same value that we're used to...

But Stat Exp is a number between 1 and 255 (Inclusive) ... It doesn't mention however if the value can be 0...

((My translator isn't working - But it mentions FE01h = FF^2... and something about (n-1)^2+1 ~ n^2... TeamPA usually uses "x ~ y" to signify "Between x and y"))

If you simplify the formula however... it lines up with the old (new?) one however...

"I expect to see [Darryn] and Givera made Azurians when GS is released in English" -Ancient-Egyptian Cat-Gonk

Posted by mewtwo's fortress (Member # 591) on 07-07-2000, 02:19 PM:
yeah i understand you

I am also known as mewtwo's fortress on the pokemasters ubb

Hibbert: Homer, I'm afraid you'll have to undergo a coronary bypass
Homer: Say it in English, Doc.
Hibbert: You're going to need open heart surgery.
Homer: Spare me your medical mumbo-jumbo.
Hibbert: We're going to cut you open and tinker with your ticker.
Homer: Could you dumb it down a shade?
-- "Homer's Triple Bypass"

Oh Doctor, I was in a wonderful place filled with fire and brimstone and
there were all guys in red pyjamas sticking pitchforks in my butt!
-- Homer recovers from a heart attack, "Homer's Triple Bypass"

Posted by Pokeshark (Member # 590) on 07-07-2000, 03:10 PM:
you have a translator?!?!?!? PLEASE,send it to me!! I need one bad!!1

Author of the ULTIMATE gameshark FAQ. Read it for your self at OR Happy Sharking!

Posted by cfalcon (Member # 19) on 07-07-2000, 07:12 PM:
Well, FF^2 is FE01, and that is the max value that your stat EXP goes to normally in each stat. You can set it higher (it makes no difference) with a shark, but my codes set it to that value, and no higher (I never tested this in an emulator, so I could be wrong: the "break point" (where you get the 63rd bonus point at L100) is lower for some monster, according to Meowth).

Stat Exp goes from 0-255*255 (like you said: I don't know how that is converted to points, except that it is exponential)...

Maybe someone has more math details?


"That's an awesome cape too, look, it's black and white!"
-pkthunder, on Lance's cape in the Gameboy version

Posted by Givera (Member # 234) on 10-06-2001, 09:10 PM:
Originally posted by spunman:
it would be interesting to see what formula the game actually uses to determine the points to add for stat exp.

Posted by spunman (Member # 1181) on 10-07-2001, 12:01 AM:
mleo2003: This formula was posted here a while back by Necrosaro. He said that he personally worked it out by reversing the Stat Exp. Formula.


i used one of our nicer computers at work to work out a HUGE excel page to figure every possibility for levels 2 through 100 and stat exp 2 through 65535 (just in case) for this formula and marcus majarra's. it checked the formulae against each other and spat out any discrepancies at the top. to point out the integer functions:


while necrosaro's formula pukes if you give it a stat exp of ed: LESS THAN 2 (do we really need to worry about 1 or 0? didn't think so.) it works perfectly for all other possibilities. yep, all 6,437,277 entries check with not a single error. impressive, seeing as how i couldn't even prove the two formulae against each other on paper. must just be me.

[ 10-07-2001: Message edited by: spunman ]

Posted by oporaca (Member # 922) on 10-07-2001, 12:52 AM:
Spunman, I found that formula myself a few days ago, and it can be drastically simplified.

Let me go find it...

Stat Points = Level * (2 + square root of(2 * Stat Experience - 7)) / 800

Easier to remember, if not exactly precise (because of a lack of integer functions).

[ 10-07-2001: Message edited by: oporaca ]

Posted by MK (Member # 1445) on 10-07-2001, 10:02 PM:
Quit sturring up the bones of the past!
Posted by Givera (Member # 234) on 10-07-2001, 11:31 PM:
Quit repeating yourself...

Hey radio buttons look cool on WinXP.

Posted by MK (Member # 1445) on 10-08-2001, 12:34 AM:
Quit sturring up the ancient bones of the past!
Posted by Haunter_girl (Member # 1866) on 10-12-2001, 11:45 AM:
Originally posted by Givera:

HP: [ { (Base HP Stat + DV) * 2 + Stat Exp / 4} * Level] / 100 + Level + 10

So does that mean that another way to calculate DVs would be

DV = {(HP –10 –level) * 100 * level – (stat Exp / 4) / 2} –base HP Stat ?

(and sorry if anything I say sounds dumb, since I'm still not very familiar to all these formulis etc, so I might not understand everything)

Karpe Diem