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

Fixed pickup running when it shouldn't in some cases. #2284

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

StephenLynx
Copy link

The check only checked if the mon had an ability that was NOT the first one. So if the mon had it's hidden ability, index 2, the function would look for the second ability, index 1. If the species had pickup as the second ability, it would run a check for it. As a side note, this function is a bit wonky. Unnecessary nesting and repeated checks, but I decided to not touch any of that so the bug fix wouldn't get mixed with general refactoring.

@AsparagusEduardo
Copy link
Collaborator

Also needs to be adjusted in the Battle Pyramid check.

@StephenLynx
Copy link
Author

Forgot about it, the feature is not on IE.

@AsparagusEduardo AsparagusEduardo merged commit 875f656 into rh-hideout:master Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants