aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2022-09-26 15:17:26 -0400
committerGitHub <noreply@github.com>2022-09-26 15:17:26 -0400
commit22859c4bb70dba17994c9b47b07f657ea082875d (patch)
tree8ea3a1607f33ad05acd982ca291ff00a2560160b
parentBug: Sprites can receive the wrong movement byte (#395) (diff)
downloadpokeyellow-22859c4bb70dba17994c9b47b07f657ea082875d.tar.gz
pokeyellow-22859c4bb70dba17994c9b47b07f657ea082875d.tar.xz
pokeyellow-22859c4bb70dba17994c9b47b07f657ea082875d.zip
Revert PR #395
-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 20de17a1..e08da61a 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 ; should be adc
+ add l
ld l, a
ld a, [hl] ; read movement byte 2
ld [wCurSpriteMovement2], a