summaryrefslogtreecommitdiff
path: root/engine/hidden_object_functions14.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 /engine/hidden_object_functions14.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 'engine/hidden_object_functions14.asm')
-rwxr-xr-xengine/hidden_object_functions14.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/hidden_object_functions14.asm b/engine/hidden_object_functions14.asm
index b71ffd05..0d3598f2 100755
--- a/engine/hidden_object_functions14.asm
+++ b/engine/hidden_object_functions14.asm
@@ -1,7 +1,7 @@
PrintNotebookText: ; 52996 (14:6996)
call EnableAutoTextBoxDrawing
ld a, $1
- ld [$cc3c], a
+ ld [wcc3c], a
ld a, [wTrainerSpriteOffset]
jp PrintPredefTextID
@@ -92,7 +92,7 @@ FightingDojoText: ; 52a2a (14:6a2a)
db "@"
PrintIndigoPlateauHQText: ; 52a2f (14:6a2f)
- ld a, [$c109]
+ ld a, [wSpriteStateData1 + 9]
cp $4
ret nz
call EnableAutoTextBoxDrawing