summaryrefslogtreecommitdiff
path: root/engine/overworld/update_map.asm
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2020-11-29 20:17:29 +0000
committerSatoMew <SatoMew@users.noreply.github.com>2020-11-29 20:17:29 +0000
commit242b2e05cf30bc47a53167baf6bd3134d1f47d18 (patch)
tree83570d3571ff4eaa71de363f02b3ef16f26b0313 /engine/overworld/update_map.asm
parent6adbaefde14f5e9039aa42a6c96ce476a4107925 (diff)
Label and document hFFD7 more accurately
Diffstat (limited to 'engine/overworld/update_map.asm')
-rw-r--r--engine/overworld/update_map.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/overworld/update_map.asm b/engine/overworld/update_map.asm
index 53a5592d..26334733 100644
--- a/engine/overworld/update_map.asm
+++ b/engine/overworld/update_map.asm
@@ -52,11 +52,11 @@ RedrawMapView:
ret z
ldh a, [hAutoBGTransferEnabled]
push af
- ldh a, [hTilesetType]
+ ldh a, [hTileAnimations]
push af
xor a
ldh [hAutoBGTransferEnabled], a
- ldh [hTilesetType], a ; no flower/water BG tile animations
+ ldh [hTileAnimations], a ; no flower/water BG tile animations
call LoadCurrentMapView
call RunDefaultPaletteCommand
ld hl, wMapViewVRAMPointer
@@ -112,7 +112,7 @@ RedrawMapView:
dec c
jr nz, .redrawRowLoop
pop af
- ldh [hTilesetType], a
+ ldh [hTileAnimations], a
pop af
ldh [hAutoBGTransferEnabled], a
ret