Thread: RNG Research
View Single Post
Old Oct 30th, 2010, 1:20:03 AM   #401
Kaphotics
Remodeling Kitchens
is a Pokémon Researcheris a Contributor to Smogon
 
Kaphotics's Avatar
 
Join Date: Apr 2009
Posts: 758
Berkeley, CA
Default

When I was doing the set up picture for ya, I didn't see the IV MTRNG location advance at all even throughout the entire process. I'm pretty sure the 022160[A]4(8) location was flying with the rain.

Interesting... I'll try this out for the starters to see if they get the predicted IVs.

Code:
Frame	SEED1		SEED2
0	3D072258	5C841A77	Starting Seed
1	F5C0437B	F300431A	(Nature?)
2	957B114A	73342467	Ending Seed for all 3 starters (F301431A)
3	86FB0AF5	AC53CDB7	Start Belle Battle
4	42C20E6C	385453CA	Start Cheren Battle
5	25621B5F	DE525286	They left (1)
6	141A423E	8E4E23A4
7	F3A7EF39	A3824B9D
8	96FC8140	31B933B6
9	3BB0DD03	863B8385
10	82496BF2	418042C4
11	BD80B73D	7F700746
12	64A98ED4	1337A036
13	CC476C67	91F60FDC
14	3C288266	E83AD4C1
15	02B4A701	0D93E9CB
16	BBD30B28	7A759954
17	397A6D8B	3F142134
18	D4E0399A	E6F2F5C3	They left (2), end (saving now)
19	86A6C285	F437855F	after saving
20	CBAD8A3C	DCD3BBD7
21	523C446F	80297DDF
22	6596058E	0DFF1D6D
23	6C31CDC9	094383FE
24	C36C6010	375A86C1
The PID is set the second you dismiss the Received Pokemon message, before they start talking to you again. The IV MTRNG changes when you receive your starter.

There is no passive advancement for either seed, so hitting a seed and saving to advance is the only way to go for starters.

IVs were predicted by the IV MTRNG Seed.

The frame advances by 1 when the battle screen starts flashing for each rival. The seed does not change when the MTRNG seed does during the battle.

Why does it advance so much after not advancing by much at all? Probably setting your rival's Pokemon, as they were different even with the same seeds, even between save states (thus based off of some other value with another advancing memory location playing a role).

Starters are generated the same way for each. No different frame stuffs, all are frame 1, but the XOR was interesting.

Code:
Frame	SEED1		SEED2
0	3D072258	5C841A77	Start 0...
1	F5C0437B	F300431A	
2	957B114A	73342467	End 0 - F301431A
3	86FB0AF5	AC53CDB7	End 1 - 73352467
4	42C20E6C	385453CA	End 2 - AC52CDB7
don't know why, /end

Last edited by Kaphotics; Oct 30th, 2010 at 1:13:03 AM.

==

Coming in to edit months later to clarify on the XOR thingy I said. There's no different XOR after looking at the RNG again. Noobishly I saw it add 10000 for the first and second, and subtract 10000 on the 3rd one. The RNG when advanced and XOR'd does this correctly. No odd XORs here!
Kaphotics is offline   Reply With Quote