diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2018-04-05 00:09:36 -0400 |
---|---|---|
committer | Rangi <35663410+Rangi42@users.noreply.github.com> | 2018-04-05 00:09:36 -0400 |
commit | 7a25cc79e56cbaf7464939eb5e4c67766c78b12e (patch) | |
tree | 023727fa858e7bf935c35aea0763285d46d2430e | |
parent | ca8f5093cc0e55de765eba73ac900127555cd332 (diff) |
Updated Automatically reuse Repel (markdown)
-rw-r--r-- | Automatically-reuse-Repel.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Automatically-reuse-Repel.md b/Automatically-reuse-Repel.md index 716ef49..3ac6972 100644 --- a/Automatically-reuse-Repel.md +++ b/Automatically-reuse-Repel.md @@ -37,7 +37,7 @@ We need to add a `wRepelType` byte that works the same way. It's just one byte s ## 2. Store the type when a Repel is used -The file that defines item effects is, predictably, [engine/item_effects.asm](../blob/master/engine/item_effects.asm). It turns out that Repel, Super Repel, and Max Repel all use the same code, so we don't have to write anything three times. +The file that defines item effects is, predictably, [engine/items/item_effects.asm](../blob/master/engine/items/item_effects.asm). It turns out that Repel, Super Repel, and Max Repel all use the same code, so we don't have to write anything three times. ```diff SuperRepelEffect: ; f462 @@ -77,7 +77,7 @@ The file that defines item effects is, predictably, [engine/item_effects.asm](.. ## 3. Check if you have more of the last-used type when one wears off -Edit [engine/events.asm](../blob/master/engine/events.asm): +Edit [engine/overworld/events.asm](../blob/master/engine/overworld/events.asm): ```diff DoRepelStep: ; 96bd7 |