summaryrefslogtreecommitdiff
path: root/scripts/route2gate.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-05-26 14:04:56 -0700
committeryenatch <yenatch@gmail.com>2014-05-26 22:04:39 -0700
commit40c17c906b2b3f65b3b04b1933b90238a7ac5566 (patch)
tree6de26c959808d5a792b692f2300c33557c1dbfab /scripts/route2gate.asm
parent52ba96f5f4ec53450a0ff6257ea1040d09b7e537 (diff)
Remove most static wram addresses. Use labels instead.
For unknown addresses, use "w<address>". Label overleads are still an issue.
Diffstat (limited to 'scripts/route2gate.asm')
-rwxr-xr-xscripts/route2gate.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/route2gate.asm b/scripts/route2gate.asm
index 0885812e..b6e00b51 100755
--- a/scripts/route2gate.asm
+++ b/scripts/route2gate.asm
@@ -7,17 +7,17 @@ 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
@@ -25,7 +25,7 @@ Route2GateText1: ; 5d5db (17:55db)
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