This is topic Hidden Power Calculation in forum Research Lab at The Azure Heights Forum.

To visit this topic, use this URL:
https://www.math.miami.edu/~jam/azure/forum/buzz/ultimatebb.cgi?ubb=get_topic;f=1;t=001419

Posted by Thomaz (Member # 3330) on 05-28-2004, 08:12 AM:

I was wondering how you can calculate your Hidden Power type and power in RuSa. I know there's at least one of you who knows how, too bad I can't find the site anymore.

All I remember is that GSC calculations are way easier. =/

Edit: nevermind me, I found the topic: http://www.math.miami.edu/~jam/azure/forum/buzz/ultimatebb.cgi ?ubb=get_topic&f=1&t=001315&p=

Edit2: wow, after some calculations I figured these formulas are not right (I checked it with Meowth's Hidden Power Calculator; too bad you can't check the source code)

An example:

I have Skarmory lv.100 with 252/4/252/0/0/0 EV's in stats with Jolly nature, the stats are 320/185/377/193/96/163.
Entering the EV's and stats in my home made IV calculator I find the IV's to be 17/19/29/31/22/18 (not bad, if may say so myself)).

I calculate the Type and Power with the formulas stated in the other topic. I get the Type to be Poison and Power = 40.
According to Meowth's site, it should be Ground and 66 Power.
So I take my Skarm for a walk (fly?) on route below Mauville. Hey, a Electrike shows up. I use Hidden Power, it's Super Effective. Therefore, I presume Meowth's site was right.

So, what are the real formulas? I wanna know. ;.;

[ 05-28-2004, 09:45 AM: Message edited by: Thomaz ]

Posted by Don't Run With Scizors (Member # 2920) on 05-28-2004, 05:25 PM:

Nope, the one in that other topic is right. That's the same formula in my Excel spreadsheet, and I get similar results (only mine says it's a power of 67, not 66, must be some rounding error). It's probably a mistake made in your calculator's formula.

Posted by Thomaz (Member # 3330) on 05-29-2004, 04:59 AM:

If that's the case, can you tell me what is going wrong in this calculation?

Ok, I have the following IV's: 17/19/29/31/22/18.
17 and 29 don't have a remainder of 2 or 3, so I have P1=0, P2=2, P3=0, P4=4, P5=5 and P6=6 (=17).
I multiply 17 with 40 getting 680.
Then I divide it with 63, I get 10.79365079 ( )
Adding 30 gives me ~40 Power.
Now, for the Type;
Only 22 and 18 are even so I have T1=1, T2=2, T3=3, T4=4, T5=0, T6=0 (=10).
I multiply 10 with 15 which is 150.
Dividing with 63 gives me 2.380952381.

According to the table, it's the Poison type. If you would round it up, it would indeed be Ground.

So, what am I doing wrong?

Posted by Don't Run With Scizors (Member # 2920) on 05-29-2004, 09:14 AM:

Oh wait.

Okay, I must have been wasted when I read the AH formula, because now that I've read it again, it's missing some really important things:

Instead of just adding 1, 2, 3, 4, 5, and 6, you have to substitute in 1, 2, 4, 8, 16, and 32. So your calculations would be:

P1=0, P2=2, P3=0, P4=8, P5=16, and P6=32 (total = 58)

int(58 * 40 / 63) + 30 = 66

Same goes for type:

T1=1, T2=2, T3=4, T4=8, T5=0, and T6=0 (total = 15)

int (15 * 15 / 63) = 3 = Ground

Posted by Thomaz (Member # 3330) on 05-29-2004, 01:02 PM:

Thanks, dude. Now I can finally build a Hidden Power calculator program. ^^

Edit: done.

Edit2: and I can update my Pokemon RuSa Training Guide with Hidden Power data.

[ 05-29-2004, 01:26 PM: Message edited by: Thomaz ]

Posted by Bugcatcher Ed (Member # 3289) on 06-08-2004, 03:27 PM:

Be sure your IV calculator shows the possible IVs as a range. Even at level 100, you may not be able to fix the value.

Posted by Thomaz (Member # 3330) on 06-11-2004, 07:46 PM:

It does, it shows the first and last digit it can be. If it's only one, well, then it shows only one hae.

Karpe Diem