I am having a really hard time trying to do this
can some help me break it down.
"In Generation V, the PID is related only to Gender, Shininess and Ability. There’s no correlation to IV and Nature. PokéGen currently doesn’t support any of the Gen V PID generation methods.
The PID hexadecimal format is:
AAAXAAYY
X – Determines Ability
YY – Determines Gender
Matching PID with Ability
For Dream World Abilities, see f) Ability.
Take your Pokémon’s PID. It should be a string of ten numbers.
Open the Decimal/Hexadecimal/Binary Converter.
Paste the PID in the ‘Decimal’ box; Copy/Paste in a text editor the string that has appeared in the ‘Hexadecimal’ box.
aaaXaayy
You should have obtained a string of eight characters, matching the format described above. Now, copy only the fourth character in your string (the X in the format, which determines Ability), and paste it in the ‘Hexadecimal’ box.
We’re converting it in binary code, so you’ll need the string that has appeared in the ‘Binary’ box. Copy/Paste it in a text editor.
Now, whatever sequence of 0 and 1 you’ve obtained, you need just the very last number of the sequence.
0 -> Your Pokémon’s Ability is Ability 1
1 -> Your Pokémon’s Ability is Ability 2
To know which Ability is Ability 1, and which is Ability 2, open your Pokémon’s corresponding Pokédex Page.
The first ability listed is Ability 1, the second Ability listed is Ability 2.
Now, in PokéGen, in the ‘Main’ Tab, check the Ability value.
If the Ability listed there matches the one set in the PID ( i.e. PID Ability 1 [Water Absorb] = Ability 1 [Water Absorb]), the PID is correct, and you don’t need to edit anything.
If the Ability listed there doesn’t match the one set in the PID (i.e. PID Ability 1 [Water Absorb] =/= Ability 2 [Cursed Body]), the PID is incorrect, and you need to change the PID.
Here’s what you need to do.
a) Take the binary sequence you’ve obtained earlier and pasted in the text editor;
b – 1) If you need to give your Pokémon the Ability 1, change the very last number of the sequence to 0;
b – 2) if you need to give your Pokémon the Ability 2, change the very last number of the sequence to 1;
c) Copy the full new binary sequence, paste it in the ‘Binary’ box of the Decimal/Hexadecimal/Binary Converter;
d) Copy the single character that has appeared in the ‘Hexadecimal’ box;
e) Take the 8-characters hexadecimal sequence you’ve obtained earlier, by converting the PID;
f) Replace the fourth character of the hexadecimal string (aaaXaayy) with the one you’ve copied at d) (Select the character -> Paste)
g) Copy the full new hexadecimal sequence, paste it in the ‘Hexadecimal’ box of the Decimal/Hexadecimal/Binary Converter;
h) Copy the full 10-numbers sequence that has appeared in the ‘Decimal’ box;
i) Paste it in the ‘PID’ box in the ‘Main’ Tab of PokéGen.
PID and Ability are now matching."