summaryrefslogtreecommitdiff
path: root/scripts/route2gate.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-10 00:00:12 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-10 00:00:12 -0500
commit66bc517605860c9f716a176ed467d34097985895 (patch)
tree4c126cbb3bbdb2b0a236375c2140e7a6c25260a6 /scripts/route2gate.asm
parent8a6d46f3d9ba4fb6939eb9ea9949f47aa8608d4a (diff)
parent2b018159997e3b580efd114ff4e3548a0de3cbc5 (diff)
Merge branch 'master' of https://github.com/YamaArashi/pokered
Diffstat (limited to 'scripts/route2gate.asm')
-rwxr-xr-xscripts/route2gate.asm8
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