mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Bug: Sprites can receive the wrong movement byte (#395)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
This commit is contained in:
parent
3e72d0834e
commit
742dd00eb7
|
@ -117,7 +117,7 @@ UpdateNPCSprite:
|
||||||
dec a
|
dec a
|
||||||
add a
|
add a
|
||||||
ld hl, wMapSpriteData
|
ld hl, wMapSpriteData
|
||||||
add l
|
add l ; should be adc
|
||||||
ld l, a
|
ld l, a
|
||||||
ld a, [hl] ; read movement byte 2
|
ld a, [hl] ; read movement byte 2
|
||||||
ld [wCurSpriteMovement2], a
|
ld [wCurSpriteMovement2], a
|
||||||
|
|
Loading…
Reference in a new issue