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 buggy pokemon anims with Illusion #2639

Merged
merged 3 commits into from
Feb 19, 2023

Conversation

DizzyEggg
Copy link
Collaborator

@DizzyEggg DizzyEggg commented Feb 6, 2023

Fixes #2624

There is an other Illusion issue opened atm, but it will be done in a separate PR(if and when no idea :D )

@@ -7063,7 +7063,7 @@ const struct SpeciesInfo gSpeciesInfo[] =
.friendship = 70,
.growthRate = GROWTH_MEDIUM_SLOW,
.eggGroups = { EGG_GROUP_WATER_1, EGG_GROUP_GRASS},
.abilities = {ABILITY_SWIFT_SWIM, ABILITY_RAIN_DISH, ABILITY_OWN_TEMPO},
.abilities = {ABILITY_ILLUSION, ABILITY_ILLUSION},
Copy link

Choose a reason for hiding this comment

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

You should avoid submiting changes that you made for testing.
Also, revert since it's not a draft anymore o/

struct Pokemon *illusionMon = GetIllusionMonPtr(battlerId);
if (illusionMon != NULL)
return GetMonData(illusionMon, MON_DATA_SPECIES);
return 0;

Choose a reason for hiding this comment

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

Suggested change
return 0;
return SPECIES_NONE;

@DizzyEggg DizzyEggg changed the title Illusion [WIP] Fix buggy pokemon anims with Illusion Feb 16, 2023
@DizzyEggg
Copy link
Collaborator Author

Ready for review

@DizzyEggg DizzyEggg requested a review from Jaizu February 17, 2023 10:31
@DizzyEggg DizzyEggg merged commit 380af44 into rh-hideout:upcoming Feb 19, 2023
@AsparagusEduardo AsparagusEduardo mentioned this pull request Feb 19, 2023
@DizzyEggg DizzyEggg deleted the illusion branch February 26, 2023 20:25
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.

Pokémon anims are buggy with illusion
3 participants