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 Order Up + Tera Stellar breaking each other with Commander #5667

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

PhallenTree
Copy link

@PhallenTree PhallenTree commented Nov 13, 2024

The following issues occur if the Dondozo is on the right slot (player or opponent) only:

  • Order Up loses or changes its effect upon using a Stellar Boosted move.
  • Some types start out with the Stellar Boost consumed.

These happen because gBattleStruct doesn't have enough space to store commanderActive for all battlers, so, as shown in the example program below, it instead stores on the next one (stellarBoostFlags).

struct_test

In a situation where both would be in use at the same time (example, Tera Stellar Dondozo affected by Commander on the right slot), both would modify the value stored, breaking the other's functionality.

This PR fixes these issues by giving proper space to store commanderActive for all battlers.

Discord contact info

PhallenTree

@hedara90 hedara90 added category: battle-mechanic Pertains to battle mechanics bugfix Bugfixes labels Nov 13, 2024
@AlexOn1ine AlexOn1ine merged commit 0919fbd into rh-hideout:upcoming Nov 13, 2024
1 check passed
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.

3 participants