aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lavenderhouse1.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/lavenderhouse1.asm
parentDon't hardcode wram sections (except for alignment). (diff)
downloadpokeyellow-40c17c906b2b3f65b3b04b1933b90238a7ac5566.tar.gz
pokeyellow-40c17c906b2b3f65b3b04b1933b90238a7ac5566.tar.xz
pokeyellow-40c17c906b2b3f65b3b04b1933b90238a7ac5566.zip
Remove most static wram addresses. Use labels instead.
For unknown addresses, use "w<address>". Label overleads are still an issue.
Diffstat (limited to 'scripts/lavenderhouse1.asm')
-rwxr-xr-xscripts/lavenderhouse1.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lavenderhouse1.asm b/scripts/lavenderhouse1.asm
index 0f7bf417..5fd1dd34 100755
--- a/scripts/lavenderhouse1.asm
+++ b/scripts/lavenderhouse1.asm
@@ -12,7 +12,7 @@ LavenderHouse1TextPointers: ; 1d8ac (7:58ac)
LavenderHouse1Text1: ; 1d8b8 (7:58b8)
db $08 ; asm
- ld a, [$d7e0]
+ ld a, [wd7e0]
bit 7, a
jr nz, .asm_72e5d ; 0x1d8be
ld hl, LavenderHouse1Text_1d8d1
@@ -34,7 +34,7 @@ LavenderHouse1Text_1d8d6: ; 1d8d6 (7:58d6)
LavenderHouse1Text2: ; 1d8db (7:58db)
db $08 ; asm
- ld a, [$d7e0]
+ ld a, [wd7e0]
bit 7, a
jr nz, .asm_06470 ; 0x1d8e1
ld hl, LavenderHouse1Text_1d8f4
@@ -70,7 +70,7 @@ LavenderHouse1Text4: ; 1d90b (7:590b)
LavenderHouse1Text5: ; 1d918 (7:5918)
db $08 ; asm
- ld a, [$d76c]
+ ld a, [wd76c]
bit 0, a
jr nz, .asm_15ac2 ; 0x1d91e
ld hl, LavenderHouse1Text_1d94c
@@ -80,7 +80,7 @@ LavenderHouse1Text5: ; 1d918 (7:5918)
jr nc, .BagFull
ld hl, ReceivedFluteText
call PrintText
- ld hl, $d76c
+ ld hl, wd76c
set 0, [hl]
jr .asm_da749 ; 0x1d939
.BagFull