aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Route15Gate2F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Route15Gate2F.asm')
-rw-r--r--scripts/Route15Gate2F.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Route15Gate2F.asm b/scripts/Route15Gate2F.asm
index 0e04367b..831b66e6 100644
--- a/scripts/Route15Gate2F.asm
+++ b/scripts/Route15Gate2F.asm
@@ -14,9 +14,9 @@ Route15Gate2FOaksAideText:
ldh [hOaksAideRequirement], a
ld a, EXP_ALL
ldh [hOaksAideRewardItem], a
- ld [wd11e], a
+ ld [wNamedObjectIndex], a
call GetItemName
- ld hl, wcd6d
+ ld hl, wNameBuffer
ld de, wOaksAideRewardItemName
ld bc, ITEM_NAME_LENGTH
call CopyData