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 dynamicMoveType global not being reset during AI calcs #5628

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

AlexOn1ine
Copy link
Collaborator

gBattleStruct->dynamicMoveType was not properly reset during AI calcs. Also it is set to 0 at the start of the SetTypeBeforeUsingMove function so I just moved it to the end of AI_CalcDamage

@AlexOn1ine AlexOn1ine added the bugfix Bugfixes label Oct 31, 2024
@Bassoonian Bassoonian merged commit 2aef530 into rh-hideout:master Nov 1, 2024
1 check passed
ivaantxo pushed a commit to ivaantxo/pokeemerald that referenced this pull request Nov 12, 2024
@AsparagusEduardo AsparagusEduardo added the category: battle-ai Pertains to Battle Engine Upgrade's AI label Nov 19, 2024
@AlexOn1ine AlexOn1ine deleted the dynamicMoveType branch November 21, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfixes category: battle-ai Pertains to Battle Engine Upgrade's AI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants