summaryrefslogtreecommitdiff
path: root/engine/gfx/hp_bar.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx/hp_bar.asm')
-rwxr-xr-xengine/gfx/hp_bar.asm8
1 files changed, 3 insertions, 5 deletions
diff --git a/engine/gfx/hp_bar.asm b/engine/gfx/hp_bar.asm
index b7bd97f2..b47b1fbd 100755
--- a/engine/gfx/hp_bar.asm
+++ b/engine/gfx/hp_bar.asm
@@ -213,13 +213,11 @@ UpdateHPBar_PrintHPNumber:
ld a, [wHPBarOldHP + 1]
ld [wHPBarTempHP], a
push hl
- ldh a, [hFlagsFFF6]
+ ld de, $15
+ ldh a, [hFlagsFFFA]
bit 0, a
- jr z, .asm_fb15
+ jr z, .next
ld de, $9
- jr .next
-.asm_fb15
- ld de, $15
.next
add hl, de
push hl