summaryrefslogtreecommitdiff
path: root/Automatically-reuse-Repel.md
diff options
context:
space:
mode:
Diffstat (limited to 'Automatically-reuse-Repel.md')
-rw-r--r--Automatically-reuse-Repel.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/Automatically-reuse-Repel.md b/Automatically-reuse-Repel.md
index 569e730..8c1db9a 100644
--- a/Automatically-reuse-Repel.md
+++ b/Automatically-reuse-Repel.md
@@ -59,7 +59,7 @@ UseRepel: ; f46c
ld a, b
ld [wRepelEffect], a
-+ ld a, [CurItem]
++ ld a, [wCurItem]
+ ld [wRepelType], a
jp UseItemText
@@ -87,8 +87,8 @@ DoRepelStep: ; 96bd7
ret nz
+ ld a, [wRepelType]
-+ ld [CurItem], a
-+ ld hl, NumItems
++ ld [wCurItem], a
++ ld hl, wNumItems
+ call CheckItem
ld a, BANK(RepelWoreOffScript)
ld hl, RepelWoreOffScript