summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-05 16:20:29 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-05 16:25:58 -0500
commitf8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (patch)
tree53ef4ec4b7ab591f1ba98322405c6b1e645a21e2 /home
parent891627d4ba193dd839e03e9e30f1e492e57eac9f (diff)
Use more lb
and other clean up
Diffstat (limited to 'home')
-rw-r--r--home/copy2.asm4
-rw-r--r--home/overworld.asm4
-rw-r--r--home/text.asm4
3 files changed, 6 insertions, 6 deletions
diff --git a/home/copy2.asm b/home/copy2.asm
index 3f7a4400..830440b0 100644
--- a/home/copy2.asm
+++ b/home/copy2.asm
@@ -161,7 +161,7 @@ CopyVideoDataDouble::
ClearScreenArea::
; Clear tilemap area cxb at hl.
- ld a, $7f ; blank tile
+ ld a, " " ; blank tile
ld de, 20 ; screen width
.y
push hl
@@ -218,7 +218,7 @@ ClearScreen::
ld bc, 20 * 18
inc b
coord hl, 0, 0
- ld a, $7f
+ ld a, " "
.loop
ld [hli], a
dec c
diff --git a/home/overworld.asm b/home/overworld.asm
index 3675eca8..f8d6e7e1 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -1995,7 +1995,7 @@ LoadBikePlayerSpriteGraphics:: ; 105d (0:105d)
LoadPlayerSpriteGraphicsCommon:: ; 1063 (0:1063)
push de
push hl
- ld bc,(BANK(RedSprite) << 8) + $0c
+ lb bc, BANK(RedSprite), $0c
call CopyVideoData
pop hl
pop de
@@ -2006,7 +2006,7 @@ LoadPlayerSpriteGraphicsCommon:: ; 1063 (0:1063)
inc d
.noCarry
set 3,h
- ld bc,$050c
+ lb bc, BANK(RedSprite), $0c
jp CopyVideoData
; function to load data from the map header
diff --git a/home/text.asm b/home/text.asm
index 97ff2859..238af447 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -291,7 +291,7 @@ Char51:: ; 1ab4 (0:1ab4)
call ProtectedDelay3
call ManualTextScroll
coord hl, 1, 13
- ld bc,$0412
+ lb bc, 4, 18
call ClearScreenArea
ld c,20
call DelayFrames
@@ -306,7 +306,7 @@ Char49:: ; 1ad5 (0:1ad5)
call ProtectedDelay3
call ManualTextScroll
coord hl, 1, 10
- ld bc,$0712
+ lb bc, 7, 18
call ClearScreenArea
ld c,20
call DelayFrames