From 7a25cc79e56cbaf7464939eb5e4c67766c78b12e Mon Sep 17 00:00:00 2001 From: Rangi <35663410+Rangi42@users.noreply.github.com> Date: Thu, 5 Apr 2018 00:09:36 -0400 Subject: Updated Automatically reuse Repel (markdown) --- Automatically-reuse-Repel.md | 4 ++-- 1 file 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 -- cgit v1.2.3