From a9b024ef3629727f62aaebaeab75b4e5940e4eeb Mon Sep 17 00:00:00 2001 From: The Void <9028176+etdv-thevoid@users.noreply.github.com> Date: Sun, 14 Apr 2024 11:25:13 -0500 Subject: [PATCH] Update update_hp_bar.asm --- color/update_hp_bar.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/color/update_hp_bar.asm b/color/update_hp_bar.asm index 0cddd9f89..0078637ac 100644 --- a/color/update_hp_bar.asm +++ b/color/update_hp_bar.asm @@ -22,7 +22,7 @@ DrawHPBarWithColor: ; Party menu ld hl, wPartyMenuHPBarColors ld b, 0 - ld a, [wCurrentMenuItem] + ld a, [wLastMenuItem] ld c, a add hl, bc @@ -44,7 +44,7 @@ DrawHPBarWithColor: push af ld hl, W2_TilesetPaletteMap ld bc, SCREEN_WIDTH * 2 ; 2 rows for each pokemon in the menu - ld a, [wCurrentMenuItem] + ld a, [wLastMenuItem] call AddNTimes ld bc, SCREEN_WIDTH * 2