summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/home.asm b/home.asm
index c000fb3d1..42feefde4 100644
--- a/home.asm
+++ b/home.asm
@@ -1462,11 +1462,11 @@ FacingPlayerDistance:: ; 36ad
add hl, bc
ld e, [hl]
- ld a, [PlayerNextMapX]
+ ld a, [PlayerStandingMapX]
cp d
jr z, .CheckY
- ld a, [PlayerNextMapY]
+ ld a, [PlayerStandingMapY]
cp e
jr z, .CheckX
@@ -1474,7 +1474,7 @@ FacingPlayerDistance:: ; 36ad
ret
.CheckY
- ld a, [PlayerNextMapY]
+ ld a, [PlayerStandingMapY]
sub e
jr z, .NotFacing
jr nc, .Above
@@ -1492,7 +1492,7 @@ FacingPlayerDistance:: ; 36ad
jr .CheckFacing
.CheckX
- ld a, [PlayerNextMapX]
+ ld a, [PlayerStandingMapX]
sub d
jr z, .NotFacing
jr nc, .Left
@@ -1665,9 +1665,9 @@ _PrepMonFrontpic:: ; 378b
predef GetFrontpic
pop hl
xor a
- ld [hFillBox], a
+ ld [hGraphicStartTile], a
lb bc, 7, 7
- predef FillBox
+ predef PlaceGraphic
xor a
ld [wBoxAlignment], a
ret