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

Add test and fix gen 7 onSwitchInPriority #10842

Closed
wants to merge 30 commits into from

Conversation

andrebastosdias
Copy link
Contributor

I had this PR directly on the branch before the SwitchIn overhaul merge.

I'm not sure if all the changes are correct, particularly whether the Move: 2 is necessary. I changed the method calls to singleEvent simply because that's how it is done across all the other effects.

Healing Wish and Lunar Dance need their onSwitchInPriority updated in the Gen 7 mod to match Gen 9.

I also added a test for the Throat Spray/Magician race condition reported here.

pyuk-bot and others added 30 commits January 19, 2025 14:57
* Remove unnused choices

* Remove redundant isStarted

* Override runSwitch

* Complete comment

* Reset abilityState.started

* Update data/mods/gen7letsgo/scripts.ts

---------

Co-authored-by: pyuk-bot
Previously a race condition
@KrisXV
Copy link
Member

KrisXV commented Jan 30, 2025

@andrebastosdias it looks like your rebase got botched, can you fix that?

@andrebastosdias
Copy link
Contributor Author

@KrisXV #10851

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.

3 participants