JS-Finder icon indicating copy to clipboard operation
JS-Finder copied to clipboard

Great Marsh implementation

Open austin3s opened this issue 1 year ago • 0 comments

First off, thanks for these tools! They really save a lot of time and effort.

I'm getting bored checking the binoculars every day in BDSP and would like to help implement the binocular prediction if I can. Common knowledge seems to be that the daily Great Marsh pokemon are generated from the group seed for that day. But I'm struggling to figure out the algorithm that's used.

I found this post that shows how the pokemon are generated in Gen IV from a 4-byte piece of data in RAM. So I've tried to implement variations of that algorithm on my group seeds, with no luck. From my game the last couple of days:

  • group seed 0xf3a955e9 gives [Roselia, Roselia, Carnivine, Carnivine, Golduck, Carnivine] (areas 1-6 respectively)
  • group seed 0x662795ee gives [Staravia, Roselia, Carnivine, Skorupi, Carnivine, Croagunk]

I'll continue trying to hack it out, but since you've marked this feature as "planned," do you have any tips?

austin3s avatar Jul 01 '23 15:07 austin3s