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

Fixes Quash-affected battlers having the wrong order for End Turn effects #5838

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

PhallenTree
Copy link

@PhallenTree PhallenTree commented Dec 20, 2024

Similar to how the previous implementation of Quash set the quash affected battler's act order equal to its position and how it didn't swap any battlers' actions, this caused quash affected battlers to have their end of turn effects happen in an order equal to their positions (playerLeft would always be first, playerRight would always be third, etc.) and if users decide to have certain effects not trigger due to having performed a certain action during a turn, these also took into account the wrong battler's action.

See #5400 for more information on these issues and about the previous implementation of Quash.

Also fixes Ally Switch not swapping battlers actions (likely irrelevant since partner likely already acted if its action does not match)

Discord contact info

PhallenTree

@AlexOn1ine AlexOn1ine added category: battle-mechanic Pertains to battle mechanics bugfix Bugfixes labels Dec 20, 2024
@AlexOn1ine AlexOn1ine merged commit 4ac9dea into rh-hideout:master Dec 20, 2024
1 check passed
iriv24 pushed a commit to iriv24/pokeemerald-expansion that referenced this pull request Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfixes category: battle-mechanic Pertains to battle mechanics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants