aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/route11gateupstairs.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-08-07 04:24:06 -0700
committerYamaArashi <shadow962@live.com>2015-08-07 04:24:06 -0700
commit525f1b96f390a7b7625574405cad56277f200ef3 (patch)
treea715da91e46ebd5ba8a2e5eb808f49cf7ff854a2 /scripts/route11gateupstairs.asm
parentmore info on the bide bug (diff)
downloadpokeyellow-525f1b96f390a7b7625574405cad56277f200ef3.tar.gz
pokeyellow-525f1b96f390a7b7625574405cad56277f200ef3.tar.xz
pokeyellow-525f1b96f390a7b7625574405cad56277f200ef3.zip
named CountSetBits output variable
Diffstat (limited to 'scripts/route11gateupstairs.asm')
-rwxr-xr-xscripts/route11gateupstairs.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/route11gateupstairs.asm b/scripts/route11gateupstairs.asm
index 9bae1398..a1906c5d 100755
--- a/scripts/route11gateupstairs.asm
+++ b/scripts/route11gateupstairs.asm
@@ -20,9 +20,9 @@ Route11GateUpstairsText2: ; 4946c (12:546c)
CheckEvent EVENT_GOT_ITEMFINDER, 1
jr c, .asm_4949b
ld a, 30 ; pokemon needed
- ld [$ffdb], a
+ ld [hOaksAideRequirement], a
ld a, ITEMFINDER ; oak's aide reward
- ld [$ffdc], a
+ ld [hOaksAideItemReward], a
ld [wd11e], a
call GetItemName
ld h, d
@@ -30,8 +30,8 @@ Route11GateUpstairsText2: ; 4946c (12:546c)
ld de, wcc5b
ld bc, $000d
call CopyData
- predef OaksAideScript ; call oak's aide script
- ld a, [$ffdb]
+ predef OaksAideScript
+ ld a, [hOaksAideResult]
dec a
jr nz, .asm_494a1
SetEvent EVENT_GOT_ITEMFINDER