>>55885943I've experienced the same thing with the rate-up legendary changing, and I think it might have to do with timezones. If your timezone is on a different date than UTC is, that would cause you to see a different day's rate-up legendary:
https://github.com/pagefaultgames/pokerogue/commit/22097a0c956270a2fe8d510c5ae457d574fd1e5eThe function getSunday() is supposed to set the timestamp to midnight of the previous Sunday (in this case, 00:00 UTC on Sunday, May 12th).
However, if you, say, live in UTC +1 and it's Wednesday in your country, but still Tuesday in UTC, the function incorrectly thinks it's 3 days since Sunday, so the timestamp is set to Saturday, May 11th. This ultimately causes this function to return a different legendary pokemon.
https://github.com/pagefaultgames/pokerogue/blob/f9abc50d8bf884f1dd3ad85c02f1a428149137aa/src/data/egg.ts#L90It was only fixed a few days ago.
>>55886146Lmao,
lol.
Here's the function that determines what tier of egg you get.
https://github.com/pagefaultgames/pokerogue/blob/main/src/ui/egg-gacha-ui-handler.ts#L340It just rolls a number between 0 and 255, and the lower the number, the higher tier egg. No modifiers, except...
https://github.com/pagefaultgames/pokerogue/blob/main/src/ui/egg-gacha-ui-handler.ts#L345if you didn't get any eggs at or above Epic-tier (25-pull golden voucher), or at or above Rare-tier (10-pull premium voucher), you get one of that tier of egg.