From 84b6a084cb3fcbf99797fbd0d60720c4b306123d Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 24 Jan 2019 21:10:45 -0500 Subject: [PATCH] Keep "paragraphs" of related code together --- engine/tilesets/tileset_anims.asm | 4 ++-- 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