[FIX] Use individual relative stat percentage for stat color #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Don't use absolute value 255. That value is in fact a false absolute. Only one pokemon reach 255 in a stat (blissey for HP), but maybe someday a new pokemon gets a higher value in another stat.As it is now, non-evolved pokemons always have red stats, and some yellow. And legendaries will always have green stats. Thus the stat color doesn't say anything new and didn't help much. But my proposal is to change the color of the stat based in a relative way: the bigger stats of a pokemon will be green, the lower red, and around the arithmetic mean yellow. This way, without checking the numerical quantities, we can see a priori which stats are better than others in a specific pokemon.