summaryrefslogtreecommitdiff
path: root/scripts/fuchsiahouse3.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/fuchsiahouse3.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/fuchsiahouse3.asm')
-rwxr-xr-xscripts/fuchsiahouse3.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/fuchsiahouse3.asm b/scripts/fuchsiahouse3.asm
index ec5654ba..372df6a6 100755
--- a/scripts/fuchsiahouse3.asm
+++ b/scripts/fuchsiahouse3.asm
@@ -6,7 +6,7 @@ FuchsiaHouse3TextPointers: ; 5617f (15:617f)
FuchsiaHouse3Text1: ; 56181 (15:6181)
db $08 ; asm
- ld a, [$d728]
+ ld a, [wd728]
bit 4, a
jr nz, .after
@@ -14,7 +14,7 @@ FuchsiaHouse3Text1: ; 56181 (15:6181)
call PrintText
call YesNoChoice
- ld a, [$cc26]
+ ld a, [wCurrentMenuItem]
and a
jr nz, .refused
@@ -22,7 +22,7 @@ FuchsiaHouse3Text1: ; 56181 (15:6181)
call GiveItem
jr nc, .full
- ld hl, $d728
+ ld hl, wd728
set 4, [hl]
ld hl, FuchsiaHouse3Text_561c2