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

Test Runner support for illegal abilities #3045

Merged
merged 3 commits into from
Jun 17, 2023

Conversation

AgustinGDLV
Copy link
Collaborator

Description

There isn't a way to test abilities that aren't attached to Pokémon yet, so I added a way to force abilities in tests. Thanks to @mrgriffin for mentioning gBattleStruct->overwrittenAbilities, since I think this is actually a pretty non-hacky way of making things work. I haven't tested it in edge cases like Skill Swap or Trace, but I want to say it would work fine.

Images

Illegal Ability Tests

Discord contact info

Agustin#1522

@AsparagusEduardo
Copy link
Collaborator

For bugfixes and tests, please change the target branch to bugfixes.

@AgustinGDLV AgustinGDLV changed the base branch from release to bugfixes June 3, 2023 19:15
@AsparagusEduardo AsparagusEduardo added category: battle-mechanic Pertains to battle mechanics category: battle-tests Related to the automated test environment labels Jun 6, 2023
@AsparagusEduardo AsparagusEduardo changed the base branch from bugfixes to master June 17, 2023 21:22
@AsparagusEduardo AsparagusEduardo merged commit 7505b32 into rh-hideout:master Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: battle-mechanic Pertains to battle mechanics category: battle-tests Related to the automated test environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants