Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pokemon Emerald: Shuffle TMs for diverse_balanced option #2758

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

Zunawe
Copy link
Collaborator

@Zunawe Zunawe commented Jan 22, 2024

What is this fixing or adding?

When item_pool_type is diverse_balanced, duplicate TMs shouldn't be added until all TMs are represented, so it has special handling to shuffle the TMs and then pop them as needed. But I forgot to shuffle the list on the first go, so it will always add TM50 and count down.

This adds an initial shuffle.

How was this tested?

Generating with the option set and seeing a randomized list of TMs in the pool.

@ScootyPuffJr1 ScootyPuffJr1 added the is: enhancement Issues requesting new features or pull requests implementing new features. label Jan 23, 2024
@PoryGone PoryGone added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Feb 10, 2024
Copy link
Collaborator

@ScipioWright ScipioWright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a one-liner, and does what it says it does.

@ScipioWright ScipioWright added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Feb 14, 2024
@Berserker66 Berserker66 merged commit 057e372 into ArchipelagoMW:main Feb 15, 2024
12 checks passed
@github-actions github-actions bot removed the waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. label Feb 15, 2024
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
TheLX5 pushed a commit to TheLX5/Archipelago that referenced this pull request Mar 2, 2024
TheLX5 pushed a commit to TheLX5/Archipelago that referenced this pull request Mar 2, 2024
@Zunawe Zunawe deleted the emerald-fix-tms branch March 25, 2024 00:18
EmilyV99 pushed a commit to EmilyV99/Archipelago that referenced this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: enhancement Issues requesting new features or pull requests implementing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants