summaryrefslogtreecommitdiff
path: root/scripts/silphco1.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/silphco1.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/silphco1.asm')
-rwxr-xr-xscripts/silphco1.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/silphco1.asm b/scripts/silphco1.asm
index 64f93cdc..0ac616c0 100755
--- a/scripts/silphco1.asm
+++ b/scripts/silphco1.asm
@@ -1,14 +1,14 @@
SilphCo1Script: ; 5d44e (17:544e)
call EnableAutoTextBoxDrawing
- ld a, [$d838]
+ ld a, [wd838]
bit 7, a
ret z
- ld hl, $d7b9
+ ld hl, wd7b9
bit 7, [hl]
set 7, [hl]
ret nz
ld a, $4c
- ld [$cc4d], a
+ ld [wcc4d], a
ld a, $15
jp Predef