summaryrefslogtreecommitdiff
path: root/scripts/battlecenterm.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/battlecenterm.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/battlecenterm.asm')
-rwxr-xr-xscripts/battlecenterm.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/battlecenterm.asm b/scripts/battlecenterm.asm
index 846b78fb..b65380d2 100755
--- a/scripts/battlecenterm.asm
+++ b/scripts/battlecenterm.asm
@@ -10,24 +10,24 @@ BattleCenterMScript: ; 4fd10 (13:7d10)
ld a, $1
ld [$ff8c], a
call Func_34ae
- ld hl, $d72d
+ ld hl, wd72d
bit 0, [hl]
set 0, [hl]
ret nz
- ld hl, $c214
+ ld hl, wSpriteStateData2 + $14
ld a, $8
ld [hli], a
ld a, $a
ld [hl], a
ld a, $8
- ld [$c119], a
+ ld [wSpriteStateData1 + $19], a
ld a, [$ffaa]
cp $2
ret z
ld a, $7
- ld [$c215], a
+ ld [wSpriteStateData2 + $15], a
ld a, $c
- ld [$c119], a
+ ld [wSpriteStateData1 + $19], a
ret
BattleCenterMTextPointers: ; 4fd4c (13:7d4c)