X= Take all of DVs but HP, each one over 7 turns into a 1. Each under 8 turns into a 0.Make a binary out of it.
E. g. DVs=15/3/5/7/9
0001
0001=1
X=1
Y= Take special DV. Convert to binary and take last 2 digits. Add 2 00s in front of it. That number in binary = Y. So 9= 1001
0001=1
Y=1
So:
(1x5+1)/2)+32
(6/2)+32
3+32
35 Base...
Type:
Take attack and defense DVs and convert to binary...
3=0011
5=0101
Then take the last 2 digits of the attack and defense and combine them in this order: attack-defense
1101=13
Then take this chart, and you find out that the Hidden Power is a 35 base Ice attack.
Value Type
15 Dark
14 Dragon
13 Ice
12 Psychic
11 Electric
10 Grass
9 Water
8 Fire
7 Steel
6 Ghost
5 Bug
4 Rock
3 Ground
2 Poison
1 Flying
0 Fighting