diff options
author | YamaArashi <shadow962@live.com> | 2015-08-07 04:24:06 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-08-07 04:24:06 -0700 |
commit | 525f1b96f390a7b7625574405cad56277f200ef3 (patch) | |
tree | a715da91e46ebd5ba8a2e5eb808f49cf7ff854a2 /scripts/route2gate.asm | |
parent | 8d30191707758a36b513c4368b9fdb7705730865 (diff) |
named CountSetBits output variable
Diffstat (limited to 'scripts/route2gate.asm')
-rwxr-xr-x | scripts/route2gate.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/route2gate.asm b/scripts/route2gate.asm index 789482dc..65d53bc7 100755 --- a/scripts/route2gate.asm +++ b/scripts/route2gate.asm @@ -10,17 +10,17 @@ Route2GateText1: ; 5d5db (17:55db) CheckEvent EVENT_GOT_HM05 jr nz, .asm_5d60d ld a, 10 ; pokemon needed - ld [$ffdb], a + ld [hOaksAideRequirement], a ld a, HM_05 ; oak's aide reward - ld [$ffdc], a + ld [hOaksAideItemReward], a ld [wd11e], a call GetItemName ld hl, wcd6d ld de, wcc5b ld bc, $000d call CopyData - predef OaksAideScript ; call oak's aide script - ld a, [$ffdb] + predef OaksAideScript + ld a, [hOaksAideResult] cp $1 jr nz, .asm_5d613 SetEvent EVENT_GOT_HM05 |