aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_objects/bookshelves.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 22:11:35 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 22:22:09 -0400
commit6ef36800b0dcb86100a7c716172015667e60dc99 (patch)
tree7e381171a7f42cadb6e619c839bfc4d3eb88e7d1 /engine/events/hidden_objects/bookshelves.asm
parentH_CONSTANTNAMES -> hConstantNames (diff)
downloadpokeyellow-6ef36800b0dcb86100a7c716172015667e60dc99.tar.gz
pokeyellow-6ef36800b0dcb86100a7c716172015667e60dc99.tar.xz
pokeyellow-6ef36800b0dcb86100a7c716172015667e60dc99.zip
Replace raw hex values with HRAM constants
To do: turn constants into labels and use ldh
Diffstat (limited to 'engine/events/hidden_objects/bookshelves.asm')
-rw-r--r--engine/events/hidden_objects/bookshelves.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/hidden_objects/bookshelves.asm b/engine/events/hidden_objects/bookshelves.asm
index 82cd8843..eaf744ff 100644
--- a/engine/events/hidden_objects/bookshelves.asm
+++ b/engine/events/hidden_objects/bookshelves.asm
@@ -24,7 +24,7 @@ PrintBookshelfText::
pop af
call PrintPredefTextID
xor a
- ld [$ffdb], a
+ ld [hFFDB], a
ret
.nextBookshelfEntry1
inc hl
@@ -33,7 +33,7 @@ PrintBookshelfText::
jr .loop
.noMatch
ld a, $ff
- ld [$ffdb], a
+ ld [hFFDB], a
jpba PrintCardKeyText
INCLUDE "data/tilesets/bookshelf_tile_ids.asm"