Use a constant instead of integer literals when checking for shinyness

This commit is contained in:
Gudf
2019-07-11 20:16:39 +02:00
parent ae01afdd30
commit 75f165ed74
3 changed files with 8 additions and 5 deletions

View File

@@ -82,4 +82,7 @@
#define NUM_STATS 6
#define NUM_BATTLE_STATS 8
// Shiny odds
#define SHINY_ODDS 8 // Actual probability is SHINY_ODDS/65536
#endif // GUARD_CONSTANTS_POKEMON_H