Search the Community
Showing results for tags 'algorithm'.
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?
Quick question. I was curious if the PID/IV algorithm mumbo jumbo applies to Pokemon who have been hatched. Every time I run them through the legality checker it just says "Hatched" so I assume everything's fine when I use the Generate button instead.