This improves the way Balatro handles random seeds internally. This doesn’t mean the outcomes are better, necessarily, but they should be “more random”.
Existing seeds will produce entirely different results, and runs with this mod active will be saved separately from those that don't, in the save file save-altrand.jkr.
This also partially fixes the nan seed bug. Technically, the bug still happens, but the way seeds are handled now means it doesn't matter as much. Stuff like the stuck shuffle seed is still bad*, but the all spades seed should be fine.
This works on 1.0.1c, but has not been tested with other mods. If your mod directly stores the return value of pseudoseed somewhere and treats it like a number, it will break, but otherwise it should be fine.
In the near future, I plan to extend this to changing seeds further so that the nan bug can't happen at all, but that will make seeds incompatible again.
*This happens because Balatro changes the shuffle seed after each ante, but all of the shuffle seeds for antes 0-9 will be the same value in that case, so at the beginning of each ante, the shuffle sequence is reset to the beginning.