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 shiny animation not respecting Illusion mon target and Imposter revealing opponent ability #2985

Merged

Conversation

Ultimate-Bob
Copy link

@Ultimate-Bob Ultimate-Bob commented May 8, 2023

Description

When an Illusion user is sent out, the shiny animation (stars) does not respect the shininess of the illusion target (which of course ruins the illusion... ☹️)
This fix will instead use the result of GetIllusionMonPtr if it is non-null.

This also fixes #2971 - the Imposter ability no longer reveals the ability of the opponent in the ability popup and instead properly shows 'Imposter'.

Images

Illusion

Illusion user is shiny, target is not Target is shiny, Illusion user is not Fixed
illusionShinyNoAnim illusionNotShinyAnim illusionFix

Imposter

Imposter reveals opponent ability Fixed
imposterBroken imposterFixed

Discord contact info

Ultimate_Bob#2163

@Ultimate-Bob Ultimate-Bob changed the title Fix shiny animation not respecting Illusion mon target Fix shiny animation not respecting Illusion mon target and Imposter revealing opponent ability May 8, 2023
@Ultimate-Bob
Copy link
Author

Ultimate-Bob commented May 8, 2023

While I'm at it, this also fixes #2946. If an Illusion user is in the last slot of the party, its Illusion will no longer activate when sent out.

illusionLastFix

@AsparagusEduardo AsparagusEduardo merged commit 447739d into rh-hideout:upcoming May 15, 2023
@AsparagusEduardo AsparagusEduardo mentioned this pull request May 31, 2023
@Ultimate-Bob Ultimate-Bob deleted the illusion-shiny-animation branch August 20, 2023 15:04
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.

Imposter ability pop-up displays the ability of the copied target.
2 participants