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 Tera permanently replacing sprite #2090

Merged
merged 1 commit into from Jan 20, 2023
Merged

Conversation

Karthik99999
Copy link
Contributor

@@ -2469,7 +2469,8 @@ export class Battle {
poke.terastallized = type;
poke.details += `, tera:${type}`;
poke.searchid += `, tera:${type}`;
this.scene.animTransform(poke, true, true);
this.scene.animTransform(poke, true);
this.scene.resetStatbar(poke);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just call poke.resetStatbar(poke) directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to be uniform with the rest of the code.

@Marty-D Marty-D merged commit c35b8f1 into smogon:master Jan 20, 2023
@Karthik99999 Karthik99999 deleted the teraanim branch January 21, 2023 00:34
MathyFurret pushed a commit to MathyFurret/pokemon-showdown-client that referenced this pull request Mar 25, 2024
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.

None yet

3 participants