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

Refactor Form Change Table Code #1714

Merged

Conversation

ultima-soul
Copy link
Collaborator

Description

Refactors some form change code and as a bonus improvement, added animation for the form change to be reminiscent of official games.

Ability checks now are separated into their own form change method and FORM_ITEM_USE_DAY was changed to allow for param2 to be used as an argument for time of day.

As part of the refactor, there will need to be a companion PR to the Item Expansion that assigns the FORM_ITEM_USE variants of form change constants to the secondaryId for the relevant items. This will allow for knowing which FORM_ITEM_USE method to check for in the GetFormChangeTargetSpecies call.

Discord contact info

UltimaSoul#4017

@ultima-soul ultima-soul added category: pokemon Pertains to Pokémon data and functionality new-feature Adds a feature category: pokemon type: data Changes focus on data labels Oct 2, 2021
LOuroboros
LOuroboros previously approved these changes Oct 2, 2021
Copy link
Collaborator

@LOuroboros LOuroboros left a comment

Choose a reason for hiding this comment

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

Lgtm.

@AsparagusEduardo AsparagusEduardo added the status: on hold delayed until some decision later label Oct 3, 2021
@ultima-soul ultima-soul removed the status: on hold delayed until some decision later label Oct 3, 2021
ExpoSeed
ExpoSeed previously approved these changes Oct 3, 2021
Copy link

@ExpoSeed ExpoSeed left a comment

Choose a reason for hiding this comment

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

LGTM though I would like to merge the companion PR and this PR at the same time.

…cks into their own methods. Change FORM_ITEM_USE_TIME to specify time of day instead of hardcoding.
@ExpoSeed ExpoSeed merged commit 7bce603 into rh-hideout:pokemon_expansion Oct 5, 2021
@AsparagusEduardo AsparagusEduardo mentioned this pull request Oct 28, 2022
34 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: pokemon Pertains to Pokémon data and functionality new-feature Adds a feature type: data Changes focus on data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants