summaryrefslogtreecommitdiff
path: root/scripts/celadonmansion3.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/celadonmansion3.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/celadonmansion3.asm')
-rwxr-xr-xscripts/celadonmansion3.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/celadonmansion3.asm b/scripts/celadonmansion3.asm
index 4c4fd67a..73cd45ed 100755
--- a/scripts/celadonmansion3.asm
+++ b/scripts/celadonmansion3.asm
@@ -30,7 +30,7 @@ DirectorText: ; 487b2 (12:47b2)
ld hl, wPokedexOwned
ld b, wPokedexOwnedEnd - wPokedexOwned
call CountSetBits
- ld a, [$d11e]
+ ld a, [wd11e]
cp 150
jr nc, .CompletedDex
ld hl, .GameDesigner
@@ -51,7 +51,7 @@ DirectorText: ; 487b2 (12:47b2)
db $8 ; asm
callab DisplayDiploma
ld a, $1
- ld [$cc3c], a
+ ld [wcc3c], a
jp TextScriptEnd
GameFreakPCText1: ; 487eb (12:47eb)