summaryrefslogtreecommitdiff
path: root/include/constants/item_effects.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-12 11:57:36 -0500
committerGitHub <noreply@github.com>2021-02-12 11:57:36 -0500
commit78925916f3fcceca714b8a9ffa8400e33470eae3 (patch)
tree4ffec42cb771ed687c3e262f4d667fbe54d2fcb5 /include/constants/item_effects.h
parent987fdf6fcd42b0c61cc3b347ebd140292e2f2a1f (diff)
parent21ee6cb9fb1cdfbafe6018372826d731325f1de2 (diff)
Merge pull request #1327 from LOuroboros/vitamins
Added constant labels for EV manipulating item effects
Diffstat (limited to 'include/constants/item_effects.h')
-rw-r--r--include/constants/item_effects.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/constants/item_effects.h b/include/constants/item_effects.h
index 6e61c4d7f..f9f329f0f 100644
--- a/include/constants/item_effects.h
+++ b/include/constants/item_effects.h
@@ -56,6 +56,10 @@
#define ITEM6_HEAL_HALF ((u8) -2)
#define ITEM6_HEAL_LVL_UP ((u8) -3)
+// Amount of EV modified by ITEM4_EV_HP, ITEM4_EV_ATK, ITEM5_EV_DEF, ITEM5_EV_SPEED, ITEM5_EV_SPDEF and ITEM5_EV_SPATK
+#define ITEM6_ADD_EV 10
+#define ITEM6_SUBTRACT_EV -10
+
// Used for GetItemEffectType.
#define ITEM_EFFECT_X_ITEM 0
#define ITEM_EFFECT_RAISE_LEVEL 1