Follow our Instagram!
Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.

Most Generation PRNG Help / Information

mingot said:
I don't think you are going to have a whole lot of luck with trying to work Mersenne backwards as you need 624 sequential values to even predict future iterates (you can also likely use them to figure out past, back to seed, too).
Click to expand...Click to collapse...
I don't think I need 624 sequential values, if I know I'm on second roll and I know the algorithm behind the initialisation

t[0] = Initial SEED
t[n] = (( upper 2bits of t [n-1] ) xor t [n-1]) * 0x6c078965 + n

where n = 1 - 623

(taken from page 21).

I need to check into Mersenne, again - but if I recall correctly, only two or three of these previous values are taken. With second roll, these should be rather fixed.

Still I'm not sure whether this rollback would be possible - if second mersenne roll is not bijective, then we'd be stuck with anyway.

TCC
Shika511 said:
so your saying I'd have to advance it 115 then? Because the rng reporter said 114, and the frame is 1?
Click to expand...Click to collapse...

I'm not sure what you meaning. But the formula for for how many journal flips you should do is:

((Target frame) - (frame of the legend ) - (number of roamers))/2



So if you release a roaming pokémon the number of journal flips will be (114-1-1)/2 = 56

If you don't wanna release any roamer it's best to find a another IV-spread that has a odd frame.
Hamstern said:
I'm not sure what you meaning. But the formula for for how many journal flips you should do is:

((Target frame) - (frame of the legend ) - (number of roamers))/2



So if you release a roaming pokémon the number of journal flips will be (114-1-1)/2 = 56

If you don't wanna release any roamer it's best to find a another IV-spread that has a odd frame.
Click to expand...Click to collapse...

thanks, that's what I was asking for. I don't have any pokemon roaming around right now.
yngstr said:
Uh oh, looks like I missed something here... encounter slots? I was under the false impression that once I had a spread picked out, as long as I had my frames correct, it would assign those IVs to the next pokemon I encountered, whatever that may be. Now I'm confused...
Click to expand...Click to collapse...

Check the first page, a few posts down. You'll see the post.

What pokemon you encounter is determined by the random number generator.

When you target a specific frame the calls that determine which monster you will catch are fixed, right along with the ivs that are also fixed. So if you hit the same frame with the same same seed you will always get the same monster. Of the same level. Holding the same item.

Different frames, which may have the same ivs may yield a different monster.
I don't get it I have done everyting right when i started the game my standard frame was 9, but i haved to have 26. so i have done 8 pageflips to capture/defeated and one extra to a other page so that i would make my frame to 26. The delay that i must hit was 595 and i did so i did everything right but I still don't get the right IV's :S
bizar said:
I don't get it I have done everyting right when i started the game my standard frame was 9, but i haved to have 26. so i have done 8 pageflips to capture/defeated and one extra to a other page so that i would make my frame to 26. The delay that i must hit was 595 and i did so i did everything right but I still don't get the right IV's :S
Click to expand...Click to collapse...

No you didn't do everything right. 9 + 8x2 = 25, not 26. And " one extra to a other page so that i would make my frame to 26" makes no sense.
Back Top