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

Changed type1 and type2 to be consistent #2021

Merged
merged 5 commits into from
Aug 7, 2024

Conversation

pkmnsnfrn
Copy link
Contributor

@pkmnsnfrn pkmnsnfrn commented Aug 4, 2024

Description

* Added constants TYPE_PRIMARY and TYPE_SECONDARY.

  • Changed instances of type1 to types[0].
  • Changed instances of type2 to types[1]

Discord contact info

psf

@AsparagusEduardo
Copy link
Contributor

The constants are redundant imo. Functionally, there's not difference in battle between a Roxk/Ground and Ground/Rock mon, just the order of the types. Plus, if someone wants to add more types to the array, they shouldn't need to update the enum.

@mrgriffin mrgriffin merged commit 312749d into pret:master Aug 7, 2024
1 check passed
github-actions bot pushed a commit to s744865306fang/pokeemerald that referenced this pull request Aug 7, 2024
issueWithLife pushed a commit to issueWithLife/pokeemerald that referenced this pull request Sep 2, 2024
* Changed type1 and type2 in gBattleMons to match gSpeciesInfo
* Changed monType1 and monType2 to monTypes to match gSpeciesInfo
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.

3 participants