-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Expanded Pokémon Follower transformation functionality #5048
Expanded Pokémon Follower transformation functionality #5048
Conversation
…ollower transform
Mentioned by Aero on discord but putting it here so it isn't lost.
This will produce a non vanilla interaction. Possible solutions are either only transforming the first pokemon or I think a better solution would be to revert all affected mon form changes before the battle begins. |
&& (MonKnowsMove(mon = GetFirstLiveMon(), MOVE_TRANSFORM) | ||
|| (ability = GetMonAbility(mon)) == ABILITY_IMPOSTER || ability == ABILITY_ILLUSION) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this sort of syntax exists outside of merrp's code, so I don't think we should use it even more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure we have lots of those that look a bit scuffed.
This could look more readable with an early return since there is nothing but returns following this statement so something like:
include/config/overworld.h
Outdated
#define OW_FOLLOWERS_POKEBALLS TRUE // Followers will emerge from the pokeball they are stored in, instead of a normal pokeball | ||
#define OW_FOLLOWERS_BOBBING TRUE // If TRUE, follower Pokémon will bob up and down during their idle & walking animations | ||
#define OW_FOLLOWERS_POKEBALLS TRUE // If TRUE, follower Pokémon will emerge from the Poké Ball they are stored in, instead of a normal Poké Ball | ||
#define OW_FOLLOWERS_WEATHER_FORMS FALSE // If TRUE, follower Pokémon that transform in battle via weather will also transform in the overworld. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we may need a config to differentiate between them only changing appearance in the overworld (which is purely cosmetic, like OW_FOLLOWERS_COPY_WILD_PKMN
) and one that actually changes the form (since this causes non-vanilla interactions when it enters a battle with starting entry hazards)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't even have to be starting hazards. Actually the first mon won't be affected by it but the transformed mons in the bag will which would be solved by:
This should only affect the Pokémon in the first slot of the party (the one currently following, rather). It's the fact they're out of the ball that makes them change forms. As a result, I think all other species should probably revert back to "normal" conditions if they're not currently outside of the ball.
Forgot to push changes on this, sorry. |
Makes sense to me. Will update.
I can add the "Deposit" form change as well to fix this. |
Could you finish this please so we can finally merge it? Blocking for me would be mons not reverting back before a battle begins because this actually affects gameplay |
(my last post somehow wasn't here 🤔) |
I'll do some in-game testing |
what was left for this again? /Edit: ah, reversion in the storage |
Done :D |
Description
FORM_CHANGE_OVERWORLD_WEATHER
, which fully changes party Pokémon forms based on the overworld weather.OW_FOLLOWERS_WEATHER_FORMS
config.OW_FOLLOWERS_COPY_WILD_PKMN
config. Either:Images
Feature(s) this PR does NOT handle:
Couldn't find Sunshine Cherrim overworld sprites, so I didn't add them here.
Discord contact info
AsparagusEduardo