Set HP Menu

Signature

void sethpmenu(int visibility); //id:0x008e

Description

Shows or hides the battle UI. This includes:

  • Mini-map (bottom top)

  • Party Stats (bottom right)

  • Overhead icons and bars (health bars, status effects, ...)

  • and more.

The visibility switch comes with a fade-in or fade-out that takes a few milliseconds. For an instant switch, use the Set HP Menu Fast function instead.

Arguments

Visibility

Sets the visibility of the battle UI to either hidden (0) or shown (1).

Notes

If the battle UI is hidden, the party leader cannot interact with other actors (e.g. NPC, Save Crystal, ...)

Depending on an unknown state of the current script, the visibility switch will be instant instead.

Last updated