summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-02 05:05:35 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-02 05:05:35 +0800
commitc2964e818143757ca5586b1a811669a1c287e870 (patch)
treea0e7eed74397995d6e7f4970d43a40f6e9a97b9c /include/constants
parent3eb1f1bc783308dac445eaacc05c9f14e9b78822 (diff)
ported battle_util from pokeem
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/pokemon.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h
index 78c1583b4..6942fee83 100644
--- a/include/constants/pokemon.h
+++ b/include/constants/pokemon.h
@@ -77,4 +77,10 @@
#define STAT_ACC 6 // only in battles
#define STAT_EVASION 7 // only in battles
+#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