summaryrefslogtreecommitdiff
path: root/scripts/route2gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route2gate.asm')
-rwxr-xr-xscripts/route2gate.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/route2gate.asm b/scripts/route2gate.asm
index 65d53bc7..133d0e7c 100755
--- a/scripts/route2gate.asm
+++ b/scripts/route2gate.asm
@@ -12,12 +12,12 @@ Route2GateText1: ; 5d5db (17:55db)
ld a, 10 ; pokemon needed
ld [hOaksAideRequirement], a
ld a, HM_05 ; oak's aide reward
- ld [hOaksAideItemReward], a
+ ld [hOaksAideRewardItem], a
ld [wd11e], a
call GetItemName
ld hl, wcd6d
- ld de, wcc5b
- ld bc, $000d
+ ld de, wOaksAideRewardItemName
+ ld bc, ITEM_NAME_LENGTH
call CopyData
predef OaksAideScript
ld a, [hOaksAideResult]