aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorVortyne <104168801+Vortyne@users.noreply.github.com>2025-05-09 18:47:29 -0400
committerGitHub <noreply@github.com>2025-05-09 18:47:29 -0400
commitd7de1595c0a270dbee1efccae790c6992e514ccb (patch)
tree25275bcc3b91ef66bb02cdf76264808814610269 /engine
parentRename `Green1/2/3` to `Rival1/2/3` for consistency (diff)
downloadpokeyellow-d7de1595c0a270dbee1efccae790c6992e514ccb.tar.gz
pokeyellow-d7de1595c0a270dbee1efccae790c6992e514ccb.tar.xz
pokeyellow-d7de1595c0a270dbee1efccae790c6992e514ccb.zip
Fix sprite data comment (#507)
Reduces confusion if someone edits this file since the wrong byte was commented
Diffstat (limited to 'engine')
-rw-r--r--engine/overworld/turn_sprite.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/turn_sprite.asm b/engine/overworld/turn_sprite.asm
index 7b34a03a..17fbaaa2 100644
--- a/engine/overworld/turn_sprite.asm
+++ b/engine/overworld/turn_sprite.asm
@@ -12,8 +12,8 @@ UpdateSpriteFacingOffsetAndDelayMovement::
ld a, [hld] ; x#SPRITESTATEDATA1_FACINGDIRECTION
ld b, a
xor a
- ld [hld], a
- ld [hl], a ; x#SPRITESTATEDATA1_ANIMFRAMECOUNTER
+ ld [hld], a ; x#SPRITESTATEDATA1_ANIMFRAMECOUNTER
+ ld [hl], a ; x#SPRITESTATEDATA1_INTRAANIMFRAMECOUNTER
ldh a, [hCurrentSpriteOffset]
add SPRITESTATEDATA1_IMAGEINDEX
ld l, a