aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVortyne <104168801+Vortyne@users.noreply.github.com>2022-09-26 14:53:16 -0400
committerGitHub <noreply@github.com>2022-09-26 14:53:16 -0400
commit742dd00eb735b3e548bc35f70f23d43ae91ad215 (patch)
tree2c3f5f5f7d66da0db431537fb511c142d0718cd1
parentBug: `SUBANIMTYPE_COORDFLIP` should be `SUBANIMTYPE_HVFLIP` (#394) (diff)
downloadpokeyellow-742dd00eb735b3e548bc35f70f23d43ae91ad215.tar.gz
pokeyellow-742dd00eb735b3e548bc35f70f23d43ae91ad215.tar.xz
pokeyellow-742dd00eb735b3e548bc35f70f23d43ae91ad215.zip
Bug: Sprites can receive the wrong movement byte (#395)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
-rw-r--r--engine/overworld/movement.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm
index e08da61a..20de17a1 100644
--- a/engine/overworld/movement.asm
+++ b/engine/overworld/movement.asm
@@ -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