From 3cfc47133dc37c74b39cd04147fac544f0e16c13 Mon Sep 17 00:00:00 2001 From: Sylvie <35663410+Rangi42@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:13:57 -0500 Subject: [PATCH] Apply suggestions from code review --- engine/events/field_moves.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/events/field_moves.asm b/engine/events/field_moves.asm index 9e521d0392d..6abcc09ca48 100644 --- a/engine/events/field_moves.asm +++ b/engine/events/field_moves.asm @@ -79,8 +79,8 @@ HeadbuttTreeGFX: INCBIN "gfx/overworld/headbutt_tree.2bpp" HideHeadbuttTree: - ; Replaces headbutted tree with grass tile at hardcoded value $05 - ; Assumes all tilesets have grass at tile $05 + ; Replaces all four headbutted tree tiles with tile $05 + ; Assumes any tileset with headbutt trees has grass at tile $05 xor a ldh [hBGMapMode], a ld a, [wPlayerDirection] @@ -94,7 +94,7 @@ HideHeadbuttTree: ld h, [hl] ld l, a - ld a, $05 ; Assumed grass tile + ld a, $05 ; grass tile ld [hli], a ld [hld], a ld bc, SCREEN_WIDTH