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 dynamax using Pokemon-specific animations #2217

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

alphazeba
Copy link

the term "customAnimation" was overloaded meaning dynamax or a number of other form changes within animTransform. I've added a "isDynamax" flag to force dynamax animation. I figure this is worth the flag since every pokemon can dynamax.

The bug report https://github.com/smogon/pokemon-showdown/projects/3#card-85878145 notes that it happens on zygard but it actually would occur on any pokemon with a custom animation.

examples:

before

mimikyu dynamax before

zygard complete dynamax before

after:

mimikyu dynamax after

zygard complete dynamax after

the term "customAnimation" was overloaded meaning dynamax or a number of other form changes within animTransform.  I've added a "isDynamax" flag to force dynamax animation.  I figure this is worth the flag since every pokemon can dynamax.

The bug report https://github.com/smogon/pokemon-showdown/projects/3#card-85878145 notes that it happens on zygard but it actually would occur on any pokemon with a custom animation.
alphazeba and others added 2 commits January 24, 2024 13:58
remove log statement

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
@alphazeba
Copy link
Author

remerged from smogon:master, which should fix the linter issue.

Please tell me if there are style guides to the git management on this repo. I would normally rebase and squash the commits, but i'm not used to modifying remote contents.

@alphazeba alphazeba requested a review from Zarel January 24, 2024 22:35
@KrisXV KrisXV changed the title Fix dynamax using pokemon specific animations Fix dynamax using Pokemon-specific animations Feb 26, 2024
@alphazeba
Copy link
Author

@Zarel sorry, it looks like I had tagged you as a reviewer and I don't think I can remove you. Would you mind peeking this again?

@Zarel
Copy link
Member

Zarel commented Mar 6, 2024

@KrisXV feel free to merge without my review

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