summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 15:09:54 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 16:21:26 -0400
commit4a7d1513f3135a3c926233d47921b21bf8b1fab4 (patch)
tree22e14964dcd2e6dae66de392c32caf33e70c964b /home.asm
parentb945988a0af9de9a37d95be8b117f395bc6e5592 (diff)
Use 'tile' and 'tiles' macros
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home.asm b/home.asm
index 037a3444..6735e23c 100644
--- a/home.asm
+++ b/home.asm
@@ -820,13 +820,13 @@ LoadTextBoxTilePatterns::
jr nz, .on
.off
ld hl, TextBoxGraphics
- ld de, vChars2 + $600
+ ld de, vChars2 tile $60
ld bc, TextBoxGraphicsEnd - TextBoxGraphics
ld a, BANK(TextBoxGraphics)
jp FarCopyData2 ; if LCD is off, transfer all at once
.on
ld de, TextBoxGraphics
- ld hl, vChars2 + $600
+ ld hl, vChars2 tile $60
lb bc, BANK(TextBoxGraphics), (TextBoxGraphicsEnd - TextBoxGraphics) / $10
jp CopyVideoData ; if LCD is on, transfer during V-blank
@@ -836,13 +836,13 @@ LoadHpBarAndStatusTilePatterns::
jr nz, .on
.off
ld hl, HpBarAndStatusGraphics
- ld de, vChars2 + $620
+ ld de, vChars2 tile $62
ld bc, HpBarAndStatusGraphicsEnd - HpBarAndStatusGraphics
ld a, BANK(HpBarAndStatusGraphics)
jp FarCopyData2 ; if LCD is off, transfer all at once
.on
ld de, HpBarAndStatusGraphics
- ld hl, vChars2 + $620
+ ld hl, vChars2 tile $62
lb bc, BANK(HpBarAndStatusGraphics), (HpBarAndStatusGraphicsEnd - HpBarAndStatusGraphics) / $10
jp CopyVideoData ; if LCD is on, transfer during V-blank