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

Fix how switch-in effects are played out after multiple faints in the same turn #4864

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

DizzyEggg
Copy link
Collaborator

Supersedes #4857 and #2712

This solution is cleaner, because it modifies already existing code used for multiple faints in link battles(as used here #4851).
Now battler's abilities(and hazards) will activate in speed order when multiple pokemon are being switched in.

@AlexOn1ine
Copy link
Collaborator

I assume this fixes #4292. Will test

@AlexOn1ine
Copy link
Collaborator

Is it right that the pr didn't fix everything?

Switch-in abilities trigger in Speed Order after post-KO switch - Single Battle

is still knowing flailing

@DizzyEggg
Copy link
Collaborator Author

Is it right that the pr didn't fix everything?

Switch-in abilities trigger in Speed Order after post-KO switch - Single Battle

is still knowing flailing

But it's not 👀

@AlexOn1ine
Copy link
Collaborator

hm
image

@DizzyEggg
Copy link
Collaborator Author

hm image

Are you sure you're looking at the right commit?
image

@AlexOn1ine AlexOn1ine merged commit f2e8482 into rh-hideout:master Jun 24, 2024
1 check passed
@DizzyEggg DizzyEggg deleted the proper_postko_switches branch August 12, 2024 14:30
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