summaryrefslogtreecommitdiff
path: root/scripts/celadondiner.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/celadondiner.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/celadondiner.asm')
-rwxr-xr-xscripts/celadondiner.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/celadondiner.asm b/scripts/celadondiner.asm
index 06cce8fd..5ae89022 100755
--- a/scripts/celadondiner.asm
+++ b/scripts/celadondiner.asm
@@ -27,7 +27,7 @@ CeladonDinerText4: ; 4916e (12:516e)
CeladonDinerText5: ; 49173 (12:5173)
db $08 ; asm
- ld a, [$d783]
+ ld a, [wd783]
bit 0, a
jr nz, .asm_eb14d ; 0x49179
ld hl, CeladonDinerText_491a7
@@ -35,7 +35,7 @@ CeladonDinerText5: ; 49173 (12:5173)
ld bc, (COIN_CASE << 8) | 1
call GiveItem
jr nc, .BagFull
- ld hl, $d783
+ ld hl, wd783
set 0, [hl]
ld hl, ReceivedCoinCaseText
call PrintText