Use a constant instead of integer literals when checking for shinyness

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

No files matched your search

+3
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