HDMA transfer functions
This commit is contained in:
@@ -474,7 +474,7 @@ CopyTempObjectToObjectStruct: ; 8286
|
||||
sub [hl]
|
||||
and $f
|
||||
swap a
|
||||
ld hl, wFollowNotExactPersonY
|
||||
ld hl, wPlayerBGMapOffsetY
|
||||
sub [hl]
|
||||
ld hl, OBJECT_SPRITE_Y
|
||||
add hl, de
|
||||
@@ -492,7 +492,7 @@ CopyTempObjectToObjectStruct: ; 8286
|
||||
sub [hl]
|
||||
and $f
|
||||
swap a
|
||||
ld hl, wFollowNotExactPersonX
|
||||
ld hl, wPlayerBGMapOffsetX
|
||||
sub [hl]
|
||||
ld hl, OBJECT_SPRITE_X
|
||||
add hl, de
|
||||
@@ -660,7 +660,7 @@ FollowNotExact:: ; 839e
|
||||
sub [hl]
|
||||
and $f
|
||||
swap a
|
||||
ld hl, wFollowNotExactPersonX
|
||||
ld hl, wPlayerBGMapOffsetX
|
||||
sub [hl]
|
||||
ld hl, OBJECT_SPRITE_X
|
||||
add hl, de
|
||||
@@ -673,7 +673,7 @@ FollowNotExact:: ; 839e
|
||||
sub [hl]
|
||||
and $f
|
||||
swap a
|
||||
ld hl, wFollowNotExactPersonY
|
||||
ld hl, wPlayerBGMapOffsetY
|
||||
sub [hl]
|
||||
ld hl, OBJECT_SPRITE_Y
|
||||
add hl, de
|
||||
|
Reference in New Issue
Block a user