Well, after researching extensively on the web, the process to implement trash bytes in PokeGen, or any other Pokemon editor goes like this:
1) Type in the name (of the pokemon or the OT)
Example: For Shaymin, type "Shaymin" in the box.
2) Start inputing numbers into the box
after the name until the editor will not allow anymore to be input into the box;
Example: For Shaymin, it will now say "Shaymin1234"
3) Remove the last two numbers
Example: For Shaymin, it will now say "Shaymin12"
4) The number of numbers that remain
are the amount of \0000
sequences that must be placed between the escape and terminator sequences: \FFFF
Example: For Shaymin, it will now say
As I said in Step 1, this works for the nickname and the OT (Only for Gen 4 origin OTs). So rinse and repeat for the OT. In Gen 5, the OT need the escape sequence \FFFF
first and finish out the remaining spaces with the sequence \0000
If you did it correctly using the OT name "Nikki", the final entry will say:
Gen 4 OT = "Nikki\FFFF\0000\FFFF"
Gen 5 OT = "Nikki\FFFF\0000\0000" or simply type "Nikki" (the editor will fill it in for you)
This corrects the previously incorrect trash bytes coming up as invalid in PokeCheck's (the legality checker I was using the entire time)legality checker. Why this works is due to the fact for every space not used, the trash byte sequences are added. This goes up to 11 spaces for nicknames and 8 spaces for OTs. So
= 11 spaces.
Full Guide here
Thanks for your help again, Galdr.
The Shaymin was actually for use with my sister's game: I'm attempting to teach her the OU metagame with actually using our DS Systems. So I will PokeGen her every team. It gives me satifaction when the legality check comes up with nothing illegal about it. Shaymin's new code, if you care to upload it to PokeCheck yourself to see the legailty check corrected from the original, here it is: