Search the Community
Showing results for tags 'table'.
-
Hey folks, I'm doing some research on the Mersenne Twister RNG in Heartgold which is used for generating the PIDs of eggs. I'm just doing it to understand the logic which is used here. Right now I'm stuck with this look-up table thing. I read that about 600 numbers are generated by the twister and that there's an address for the frame counter, but where are the values stored? I tried getting a Pokémon from the daycare and compare it's PID with the number I generated externally with the given initial seed and got a match, but I don't understand where this and the next values come from in the games. The value at the address of the initial seed changes to something else after an egg is generated. Also chanigng the initial seed on game start doesn't change the outcome, so it must be stored previously, only question is where?
-
Wiki Question Center (Links) If you have any questions how to code, add, etc. anything to the wiki, ask here. If it is a general statement and/or problem with the wiki itself, then start a new thread. Links: General Format Guide Table Format Guide Automatic Table Generator