From 2ed65d9c3e3ba60939ebe2928ffddc06a90b1876 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sun, 14 Sep 2014 11:29:18 -0700 Subject: Commented/labelled misc functions --- home/vcopy.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'home/vcopy.asm') diff --git a/home/vcopy.asm b/home/vcopy.asm index 81fcb991..d42293d9 100644 --- a/home/vcopy.asm +++ b/home/vcopy.asm @@ -376,9 +376,9 @@ UpdateMovingBgTiles:: ; Animate water and flower ; tiles in the overworld. - ld a, [$ffd7] + ld a, [hTilesetType] and a - ret z + ret z ; no animations if indoors (or if a menu set this to 0) ld a, [$ffd8] inc a @@ -412,9 +412,10 @@ UpdateMovingBgTiles:: dec c jr nz, .left .done - ld a, [$ffd7] + ld a, [hTilesetType] rrca ret nc +; if in a cave, no flower animations xor a ld [$ffd8], a ret -- cgit v1.3.1-sl0p