summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-06-04 16:57:46 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-06-04 16:57:46 -0400
commita196b16f5bc58e844953694ed3bf7c8b84d066b0 (patch)
treef3beed942da4337a0846ebef2229fbdda00f8d97
parent112691572ce0f178d5a25e7dabaebd03e004daf9 (diff)
Define, then use
-rw-r--r--Add-a-new-Fairy-type.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/Add-a-new-Fairy-type.md b/Add-a-new-Fairy-type.md
index 2b2d2b2..57fcdd2 100644
--- a/Add-a-new-Fairy-type.md
+++ b/Add-a-new-Fairy-type.md
@@ -160,6 +160,16 @@ Edit the type columns in [data/moves/moves.asm](../blob/master/data/moves/moves.
At this point we're technically done: all the canon aspects of the Fairy type are implemented. (If you want to add new Fairy-type Pokémon or moves, check out different tutorials.) But there's no held type-boosting item for it, and Gen 2 happens to have the unavailable `POLKADOT_BOW` item that boosts Normal moves like `PINK_BOW`, so let's change it to boost Fairy moves instead.
+Edit [constants/item_data_constants.asm](../blob/master/constants/item_data_constants.asm):
+
+```diff
+ const_value set 50
+ const HELD_NORMAL_BOOST
+ ...
+ const HELD_STEEL_BOOST
++ const HELD_FAIRY_BOOST
+```
+
Edit [data/types/type_boost_items.asm](../blob/master/data/types/type_boost_items.asm):
```diff
@@ -173,17 +183,7 @@ Edit [data/types/type_boost_items.asm](../blob/master/data/types/type_boost_item
; 35726
```
-But we still need to define `HELD_FAIRY_BOOST` and apply it to `POLKADOT_BOW`. So edit [constants/item_data_constants.asm](../blob/master/constants/item_data_constants.asm):
-
-```diff
- const_value set 50
- const HELD_NORMAL_BOOST
- ...
- const HELD_STEEL_BOOST
-+ const HELD_FAIRY_BOOST
-```
-
-And [data/items/attributes.asm](../blob/master/data/items/attributes.asm):
+Edit [data/items/attributes.asm](../blob/master/data/items/attributes.asm):
```diff
ItemAttributes: ; 67c1
@@ -194,7 +194,7 @@ And [data/items/attributes.asm](../blob/master/data/items/attributes.asm):
+ item_attribute 100, HELD_FAIRY_BOOST, 10, CANT_SELECT, ITEM, ITEMMENU_NOUSE, ITEMMENU_NOUSE
```
-And lastly, [data/items/descriptions.asm](../blob/master/data/items/descriptions.asm):
+And lastly, edit [data/items/descriptions.asm](../blob/master/data/items/descriptions.asm):
```diff
PolkadotBowDesc: