summaryrefslogtreecommitdiff
path: root/scripts/route2gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route2gate.asm')
-rwxr-xr-xscripts/route2gate.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/route2gate.asm b/scripts/route2gate.asm
index 7850cbc9..e8d02321 100755
--- a/scripts/route2gate.asm
+++ b/scripts/route2gate.asm
@@ -11,9 +11,9 @@ Route2GateText1: ; 5d5db (17:55db)
bit 0, a
jr nz, .asm_5d60d
ld a, 10 ; pokemon needed
- ldh [$db], a
+ ld [$ffdb], a
ld a, HM_05 ; oak's aide reward
- ldh [$dc], a
+ ld [$ffdc], a
ld [wd11e], a
call GetItemName
ld hl, wcd6d
@@ -21,7 +21,7 @@ Route2GateText1: ; 5d5db (17:55db)
ld bc, $000d
call CopyData
predef OaksAideScript ; call oak's aide script
- ldh a, [$db]
+ ld a, [$ffdb]
cp $1
jr nz, .asm_5d613
ld hl, wd7c2