pret / pokeemerald

Decompilation of Pokémon Emerald
2.28k stars 2.55k forks source link

Changed type1 and type2 to be consistent #2021

Closed pkmnsnfrn closed 3 months ago

pkmnsnfrn commented 3 months ago

Description

* Added constants TYPE_PRIMARY and TYPE_SECONDARY.

Discord contact info

psf

AsparagusEduardo commented 3 months ago

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.