> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/accurate-overhead-hp-bars/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/accurate-overhead-hp-bars/home.md).

# Home

<figure><img src="/files/tau3R8ymYV8ZntbQlNrn" alt=""><figcaption></figcaption></figure>

### Description

Overhead HP bars are the small health bars displayed above units such as party members and foes in battle areas.

The issue is that they are not very accurate when showing HP percentages. This is because only 22 frames are used to cover all values from 0% to 100%. As a result, the bars can only update in large visual steps instead of matching the actual HP percentage.

Because of this, different HP values can look exactly the same, even when a unit has gained or lost health. Some frame gaps are also larger than others, which makes certain percentages appear less accurate than others. On top of that, lower-filled bars are favored because HP values are truncated instead of rounded.

### Features

This mod makes overhead HP bars accurately reflect a unit's HP percentage.

Each percentage from 0% to 100% now has its own frame, so the bar always matches the unit's actual HP. Changes are shown smoothly and accurately instead of jumping between large steps.

All frames are saved in a completely new texture instead of being added to the original texture file (`battle_4_p.tm2`) to preserve compatibility with other mods.

The result is consistent and accurate HP bars during gameplay.

### Preview

<figure><img src="/files/EE8WNIaDhducQwZV9pcR" alt=""><figcaption><p>before</p></figcaption></figure>

<figure><img src="/files/zsIRMgTVTTeaJy3fMwDY" alt=""><figcaption><p>after</p></figcaption></figure>
