summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-01-24 21:10:45 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-01-24 21:10:45 -0500
commit84b6a084cb3fcbf99797fbd0d60720c4b306123d (patch)
tree3ef460c593fe68620074189717215de6d7b65455 /engine
parenta5c1d9572c75fde821697c74b460522081c06aa3 (diff)
Keep "paragraphs" of related code together
Diffstat (limited to 'engine')
-rw-r--r--engine/tilesets/tileset_anims.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/tilesets/tileset_anims.asm b/engine/tilesets/tileset_anims.asm
index 5553eec10..d596849d2 100644
--- a/engine/tilesets/tileset_anims.asm
+++ b/engine/tilesets/tileset_anims.asm
@@ -633,13 +633,13 @@ AnimateFlowerTile:
; Alternate tile graphic every other frame
ld a, [wTileAnimationTimer]
and %10
- ld e, a
; CGB has different color mappings for flowers.
+ ld e, a
ldh a, [hCGB]
and 1
-
add e
+
swap a
ld e, a
ld d, 0