Skip to content

Commit

Permalink
Update update_hp_bar.asm
Browse files Browse the repository at this point in the history
  • Loading branch information
etdv-thevoid committed Apr 14, 2024
1 parent a8b62fb commit a9b024e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions color/update_hp_bar.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit a9b024e

Please sign in to comment.