Skip to content

Commit 742dd00

Browse files
VortyneRangi42
andauthored
Bug: Sprites can receive the wrong movement byte (pret#395)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
1 parent 3e72d08 commit 742dd00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎engine/overworld/movement.asm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ UpdateNPCSprite:
117117
dec a
118118
add a
119119
ld hl, wMapSpriteData
120-
add l
120+
add l ; should be adc
121121
ld l, a
122122
ld a, [hl] ; read movement byte 2
123123
ld [wCurSpriteMovement2], a

0 commit comments

Comments
 (0)