Skip to content

Commit

Permalink
Merge pull request #24 from etdv-thevoid/issue3
Browse files Browse the repository at this point in the history
Update update_hp_bar.asm
  • Loading branch information
dannye committed Apr 20, 2024
2 parents 609e7a1 + a9b024e commit 77ef29d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions color/update_hp_bar.asm
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 77ef29d

Please sign in to comment.