summaryrefslogtreecommitdiff
path: root/include/constants/pokemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/constants/pokemon.h')
-rw-r--r--include/constants/pokemon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h
index 5610a470c..97e3f0686 100644
--- a/include/constants/pokemon.h
+++ b/include/constants/pokemon.h
@@ -80,8 +80,8 @@
#define STAT_ACC 6 // Only in battles.
#define STAT_EVASION 7 // Only in battles.
-#define NUM_STATS 6
-#define NUM_BATTLE_STATS 8
+#define NUM_EV_STATS NUM_STATS - 1 // excludes HP
+#define NUM_BATTLE_STATS NUM_STATS + 2 // includes Accuracy and Evasion
// Shiny odds
#define SHINY_ODDS 8 // Actual probability is SHINY_ODDS/65536
@@ -213,6 +213,8 @@
#define FRIENDSHIP_EVENT_FAINT_OUTSIDE_BATTLE 7
#define FRIENDSHIP_EVENT_FAINT_LARGE 8
+#define MAX_FRIENDSHIP 0xFF
+
#define STATUS_PRIMARY_NONE 0
#define STATUS_PRIMARY_POISON 1
#define STATUS_PRIMARY_PARALYSIS 2