KazoWAR Posted January 16, 2010 Posted January 16, 2010 How should I go about calculating a PID based on a selected Nature, Gender, Ability, Shiny, and Unown Shape.
OmegaDonut Posted January 17, 2010 Posted January 17, 2010 Do you want to just craft a PID from scratch? Or do you want to create one that would have been generated by the game? What I've also been curious about is the fact that HGSS only allows you to collect a certain set of Unown, until you unlock more letters. So there are restrictions on the PIDs used. Does the game forward the RNG until a PID with the appropriate letter appears, like with Synchronize? I'm not curious enough to test it; after all Unown don't have much competitive use.
KazoWAR Posted January 17, 2010 Author Posted January 17, 2010 It doesn't have to be a legal PID for now, this is for Pokemon Colosseum, so I don't really care how accurate the PID is to how the games create them. I am making a little program that allows the user to make Pokemon then export a code that creates the Pokemon in BOX 3 Slot 30.
codemonkey85 Posted January 18, 2010 Posted January 18, 2010 Well, if the PID doesn't have to be legal, then you don't really need to do any calculating. Just make up the PID, any number between 0 and 4,294,967,295! If you can make the Pokémon appear to have been hatched from an egg, that would be great too, as the PID would not conform to any known algorithm anyway.
KazoWAR Posted January 30, 2010 Author Posted January 30, 2010 yea, that is when i plan to do, random number form 0 to 4294967295, then do checks on it to see if it would give it the nature the user selected, the ability number, gender etc. if any fails then start over.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now