From Bulbapedia, the community-driven Pokémon encyclopedia.
|| This page is intended to be moved into one of Bulbapedia's main content spaces.|
Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this article.
- Readable by all
- Editable only by me
- Associated talk page is to contain discussion regarding this page, content, and research ONLY. Messages addressed directly to me (User:TruePikachu) not related to this page are to go to my personal talk page.
As you walk into tall grass, there has always been a chance of being attacked by a wild Pokémon. In the games, however, where do these Pokémon come from? They are generated by the random number generator. The question is, how?
I have set out to find this answer, at least in the scope of Generation V. Due to the release of the newest GTS exploit, as well as PokeGen, I am able to send Pokémon to my own PCs (Windows XP and Linux) for investigation. How are the PIDs generated? How does the hidden byte change? I basically want the knowlege of how to make a perfectly legit Pokémon...by hand.
According to PokeGen, there are 12 RNG formulas used:
A-B-C-D (Used for all GenIV PkMn)
B-A-C-D (R) (Event)
B-A-C-D (U) (Event)
Chained (Sinnoh-Generated, with PokéRadar)
I have not confirmed any of this, so that will have to be done. I have some ideas, though:
- The ?-?-?-? is a sequence of letters from A-F, in alphabetical order (minus event)
- The A-?-?-? might be game-generated only
- The B-A-C-D might be event-generated only
- Could these sequences be part of the data encryption system? I doubt it, though...
- These might not be official names for them (official in the fanbase). The names might be different algorithms used in PokeGen internally, in which case I'd need to get source code access
The Mysterous Egg
I have, as a practice attempt with PokeGen, created an Oshawott. However, I was not careful enough and made the egg come from Marvelous Bridge. Of course, the game would never do this, but no red flags came up. It is currently sitting in my DS box system, and will be analysed further at a later date.