[PKMN RB] Make Encounters in one location unique #3994
+7
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please format your title with what portion of the project this pull request is
targeting and what it's changing.
ex. "MyGame4: implement new game" or "Docs: add new guide for customizing MyGame3"
What is this fixing or adding?
Previously in generation one Pokémon could occupy multiple encounter slots in one location. The player was thus unable to determine whether they encountered / caught all Pokémon on the route. This changes it so there will be unique encounters.
Code is by @vyneras who allowed me to PR it
How was this tested?
I did ten test generations with 1:1 mapping set to false and various settings regarding pokemon types, base stats and randomizations and checked both with a script and manually whether there are duplicates. There were not.
If this makes graphical changes, please attach screenshots.
N/A