summaryrefslogtreecommitdiff
path: root/scripts/celadonmart3.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/celadonmart3.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/celadonmart3.asm')
-rwxr-xr-xscripts/celadonmart3.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/celadonmart3.asm b/scripts/celadonmart3.asm
index 969fa5f8..8874a743 100755
--- a/scripts/celadonmart3.asm
+++ b/scripts/celadonmart3.asm
@@ -22,7 +22,7 @@ CeladonMart3TextPointers: ; 48228 (12:4228)
CeladonMart3Text1: ; 4824a (12:424a)
db $08 ; asm
- ld a, [$d778]
+ ld a, [wd778]
bit 7, a
jr nz, .asm_a5463 ; 0x48250
ld hl, TM18PreReceiveText
@@ -30,7 +30,7 @@ CeladonMart3Text1: ; 4824a (12:424a)
ld bc, (TM_18 << 8) | 1
call GiveItem
jr nc, .BagFull
- ld hl, $d778
+ ld hl, wd778
set 7, [hl]
ld hl, ReceivedTM18Text
jr .asm_81359 ; 0x48268