Seed1+Seed2 Address in Memory: 022160A4 and 022160A8
Address in Cheat Engine: 00F525A4 and 00F525A8
Cheat Engine's memory locations are -011C3B00 off for these 2 values.
--
CE Addr - Bytes - Opcode
Victini or Kyuremu Engaged (00F525A4 and 00F525A8) [022160A4 and 022160A8]
Code:
Reads this address when battling victini
CE Addr - Bytes - Opcode
004fb7e8 - 8b 81 00 c5 d3 00 - mov eax,[ecx+00d3c500]
004fb682 - 89 81 00 c5 d3 00 - mov [ecx+00d3c500],eax
Writes to this address when battling Victini
004fb682 - 89 81 00 c5 d3 00 - mov [ecx+00d3c500],eax
-
Standing by egg man with world running and Starting the game,
both Seed values are influenced by
Code:
Read by
0043ba5f - 89 82 00 c5 d3 00 - mov [edx+00d3c500],eax
004fb7e8 - 8b 81 00 c5 d3 00 - mov eax,[ecx+00d3c500]
004fb682 - 89 81 00 c5 d3 00 - mov [ecx+00d3c500],eax
Written by
0043ba5f - 89 82 00 c5 d3 00 - mov [edx+00d3c500],eax
004fb682 - 89 81 00 c5 d3 00 - mov [ecx+00d3c500],eax
Automatic advancement based on NPCs/other memory locations?
------- Other Places
Eggs
Code:
Eggs (0107B0FC) -- this is the one I saw earlier [0223EBFC]
Read by
004fcdbc - 89 82 00 c5 d3 00 - mov [edx+00d3c500],eax
Written by
0043cfb7 - 89 82 00 c5 d3 00 - mov [edx+00d3c500],eax
004fb682 - 89 81 00 c5 d3 00 - mov [ecx+00d3c500],eax
Eggs (00F71180) -- Party location (irrelevant) [2134C80]
Read by
004fb7e8 - 8b 81 00 c5 d3 00 - mov eax,[ecx+00d3c500]
Written by
004fcdbc - 89 82 00 c5 d3 00 - mov [edx+00d3c500],eax
Looks like the egg PID is made, read and copied to the party when it is received.
Outside Daycare at man, npcs move -- observing RNG Seeds 1+2 (00F525A4 and 00F525A8)
Code:
Read by (both locations are)
004d8e51 - 8a 80 00 c5 d3 00 - mov al,[eax+00d3c500]
004fb7e8 - 8b 81 00 c5 d3 00 - mov eax,[ecx+00d3c500]
004fb682 - 89 81 00 c5 d3 00 - mov [ecx+00d3c500],eax
Written by (Both again)
004fb682 - 89 81 00 c5 d3 00 - mov [ecx+00d3c500],eax
All of these memory locations in context:
Code:
http://dl.dropbox.com/u/12206225/Debugger/0043BA5F.png
http://dl.dropbox.com/u/12206225/Debugger/004FB682.png
http://dl.dropbox.com/u/12206225/Debugger/004FB7E8.png
http://dl.dropbox.com/u/12206225/Debugger/004FCDBC.png