diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-01-24 21:10:45 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-01-24 21:10:45 -0500 |
commit | 84b6a084cb3fcbf99797fbd0d60720c4b306123d (patch) | |
tree | 3ef460c593fe68620074189717215de6d7b65455 | |
parent | a5c1d9572c75fde821697c74b460522081c06aa3 (diff) |
Keep "paragraphs" of related code together
-rw-r--r-- | engine/tilesets/tileset_anims.asm | 4 | ||||
-rw-r--r-- | home/map.asm | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/home/map.asm b/home/map.asm index bb88bebe6..5cd658727 100644 --- a/home/map.asm +++ b/home/map.asm @@ -102,8 +102,8 @@ LoadMapPart:: ld a, [wTilesetBlocksBank] rst Bankswitch - call LoadMetatiles + ld a, "■" hlcoord 0, 0 ld bc, SCREEN_WIDTH * SCREEN_HEIGHT |