summaryrefslogtreecommitdiff
path: root/scripts/route2gate.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-07-12 09:02:49 -0400
committeryenatch <yenatch@gmail.com>2014-07-12 09:02:49 -0400
commitfb11ff7e55be56cef9234c8443614f04f2157a1e (patch)
treea6aa8d0745bd07d0b80090491b5e4b6652de4420 /scripts/route2gate.asm
parent15427f532085846ab6b51719be687951a094cb6c (diff)
parent9f29f21d9d43baa7124991dcf3b093fc6c615706 (diff)
Merge pull request #48 from yenatch/master
Clean up post-split main.asm. Get rid of static wram addresses. Lay out a foundation for Yellow.
Diffstat (limited to 'scripts/route2gate.asm')
-rwxr-xr-xscripts/route2gate.asm13
1 files changed, 6 insertions, 7 deletions
diff --git a/scripts/route2gate.asm b/scripts/route2gate.asm
index 0885812e..8ee087c8 100755
--- a/scripts/route2gate.asm
+++ b/scripts/route2gate.asm
@@ -7,25 +7,24 @@ Route2GateTextPointers: ; 5d5d7 (17:55d7)
Route2GateText1: ; 5d5db (17:55db)
db $08 ; asm
- ld a, [$d7c2]
+ ld a, [wd7c2]
bit 0, a
jr nz, .asm_6592c ; 0x5d5e1
ld a, 10 ; pokemon needed
ldh [$db], a
ld a, HM_05 ; oak's aide reward
ldh [$dc], a
- ld [$d11e], a
+ ld [wd11e], a
call GetItemName ; $2fcf
- ld hl, $cd6d
- ld de, $cc5b
+ ld hl, wcd6d
+ ld de, wcc5b
ld bc, $000d
call CopyData
- ld a, $62
- call Predef ; call oak's aide script
+ predef OaksAideScript ; call oak's aide script
ldh a, [$db]
cp $1
jr nz, .asm_ad646 ; 0x5d606
- ld hl, $d7c2
+ ld hl, wd7c2
set 0, [hl]
.asm_6592c ; 0x5d60d
ld hl, Route2GateText_5d616