summaryrefslogtreecommitdiff
path: root/scripts/route2gate.asm
diff options
context:
space:
mode:
authorU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-07-03 15:13:35 -0500
committerU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-07-03 15:13:35 -0500
commit5d9d26bd5c64a5b11021bdd46e2e0786ddef888d (patch)
treef8ee8f2d9c8042b55edb1a4761833511ab1695b1 /scripts/route2gate.asm
parent8431fa7756dace97413f4c35aaa44cd92cf5b6df (diff)
No more ldh
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