aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/route11gateupstairs.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-08-18 10:32:50 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-08-18 10:32:50 -0500
commit1a987d1e1ab96ca9553d4253c72858057332a03a (patch)
treed101dc054e112304f327a5359532ee972e8da81a /scripts/route11gateupstairs.asm
parentMore joypad constants (diff)
parentitem name length constant (diff)
downloadpokeyellow-1a987d1e1ab96ca9553d4253c72858057332a03a.tar.gz
pokeyellow-1a987d1e1ab96ca9553d4253c72858057332a03a.tar.xz
pokeyellow-1a987d1e1ab96ca9553d4253c72858057332a03a.zip
Merge pull request #114 from YamaArashi/master
Commented SGB palettes and other things
Diffstat (limited to 'scripts/route11gateupstairs.asm')
-rwxr-xr-xscripts/route11gateupstairs.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/route11gateupstairs.asm b/scripts/route11gateupstairs.asm
index a1906c5d..ec543a6a 100755
--- a/scripts/route11gateupstairs.asm
+++ b/scripts/route11gateupstairs.asm
@@ -22,13 +22,13 @@ Route11GateUpstairsText2: ; 4946c (12:546c)
ld a, 30 ; pokemon needed
ld [hOaksAideRequirement], a
ld a, ITEMFINDER ; oak's aide reward
- ld [hOaksAideItemReward], a
+ ld [hOaksAideRewardItem], a
ld [wd11e], a
call GetItemName
ld h, d
ld l, e
- ld de, wcc5b
- ld bc, $000d
+ ld de, wOaksAideRewardItemName
+ ld bc, ITEM_NAME_LENGTH
call CopyData
predef OaksAideScript
ld a, [hOaksAideResult]