Originally Posted by Fat chiizu
The encounter slot calculation in the post above is incorrect. The correct calculation is
(u32 >> 16) / 0x290
Here is a corner case to demonstrate:
Frame 44 Grass/Cave Encounter
Wrong ESV: ((B34F765F546EFDAC >> 32) * 0x64) >> 32 = 70 (slot 5)
Correct ESV: (B34F765F546EFDAC >> 48) / 0x290 = 69 (slot 4)
RNG Reporter has this implemented correctly already (since it's essentially the same as DPPt).
Aaaaand now I have a seed going the other way. This one is from White 2, though.
((e671ff8fc093a8a9 >> 32) * 100) >> 32 = 90 (slot 8 : correct)
(e671ff8fc093a8a9 >> 48) / 0x290 = 89 (slot 7 : wrong)
Did the ESV calculation change from b1w1 to b2w2, or are neither of these correct?