diff options
author | Gudf <28691694+Gudf@users.noreply.github.com> | 2019-07-11 20:16:39 +0200 |
---|---|---|
committer | Gudf <28691694+Gudf@users.noreply.github.com> | 2019-07-11 20:16:39 +0200 |
commit | 75f165ed746cbc33cf9d0b9181abd9e861264f56 (patch) | |
tree | 20c3092902b871c9ed5bf00a7be97e9529ea2f69 /include/constants | |
parent | ae01afdd30cc24eb2ff9a13789c108a418f8d7f4 (diff) |
Use a constant instead of integer literals when checking for shinyness
Diffstat (limited to 'include/constants')
-rw-r--r-- | include/constants/pokemon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h index f63d755ad..5d0e562bc 100644 --- a/include/constants/pokemon.h +++ b/include/constants/pokemon.h @@ -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 |