kwsch / PermuteMMO

Permutes all possible player actions to yield shinies in Pokémon Legends: Arceus
GNU General Public License v3.0
29 stars 5 forks source link

Mix respawns and ghosts #3

Closed kwsch closed 2 years ago

kwsch commented 2 years ago

Triggering the last visible respawn with a partial fill (2 left to spawn, KO 3) will spawn 2 real & 1 ghost.

Previous logic maximized the amount of ghost spawns, and was operating under the assumption that ghosts do not spawn if anything is actually respawned. Not true.

Adds a test case to double check certain results.