Bug: Sprites can receive the wrong movement byte (#395)

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
This commit is contained in:
Vortyne 2022-09-26 14:53:16 -04:00 committed by GitHub
parent 3e72d0834e
commit 742dd00eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@ UpdateNPCSprite:
dec a
add a
ld hl, wMapSpriteData
add l
add l ; should be adc
ld l, a
ld a, [hl] ; read movement byte 2
ld [wCurSpriteMovement2], a