summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-07-25 13:36:27 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-07-25 13:36:27 -0400
commitcecb076848143bad09fa1139bfb9bf3db038b875 (patch)
treee7c80cc89455c867139f35446059ddd015a691cd
parent9a0113c8ce6da9ab5ddde1ef52f52636268344f1 (diff)
XItemEffect
-rw-r--r--Add-different-kinds-of-new-items.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Add-different-kinds-of-new-items.md b/Add-different-kinds-of-new-items.md
index cf77464..301b38a 100644
--- a/Add-different-kinds-of-new-items.md
+++ b/Add-different-kinds-of-new-items.md
@@ -383,7 +383,7 @@ X Sp.Def, from Gen 4, boosts Special Defense by one stage in battle. It can only
(In Gen 1, X Special boosted the single Special stat. Gen 2 split Special into Attack and Defense, but X Special only boosted Special Attack, and it took until Gen 4 to split the item as well into X Sp.Atk and X Sp.Def.)
-First, add the essential data. Replace `ITEM_78` with `X_SP_DEF`; give it a name, description, and attributes (`350, HELD_NONE, 0, CANT_SELECT, ITEM, ITEMMENU_NOUSE, ITEMMENU_CLOSE`); give it the `RestoreHPEffect`; and remove `ITEM_78` from `TimeCapsule_CatchRateItems`.
+First, add the essential data. Replace `ITEM_78` with `X_SP_DEF`; give it a name, description, and attributes (`350, HELD_NONE, 0, CANT_SELECT, ITEM, ITEMMENU_NOUSE, ITEMMENU_CLOSE`); give it the `XItemEffect`; and remove `ITEM_78` from `TimeCapsule_CatchRateItems`.
A piece of data specific to X items is which stat they boost. Edit [data/items/x_stats.asm](../blob/master/data/items/x_stats.asm):