Open Fullscreen Menu 48D

Signature

int openfullscreenmenu_48d(int flags, int identifier); //id:0x048d

Description

Opens a specific full screen menu.

The execution of the following functions is stopped until the menu is closed.

If the Strahl menu was opened, the return value is the selected location. For all other menus, its always 0.

Arguments

Flags: Type & Identifier

TypeNameDescription & Identifier (x)

0

Strahl

Open the world map to select a destination for the Strahl.

1

World Map

Open the world map.

2

Shop

Open the shop x.

3

Airship Route

Open menu with airship route x.

4

Hunt Map

Open the location map of where the petitioner of hunt x is.

5

Save / Load

Open the save (0), load (1), or trial (1) menu.

6

Tutorial

Play the gambit tutorial (0), licenses tutorial (1) or map tutorial (2).

7

Party Menu

Open party menu (0), or airship route (>1).

Flags: Display on Top Layer

If set, the menu will be displayed on top of everything else.

Example

Open the shop of Baknamy Merchant.

ucoff();
sethpmenu(0);
openfullscreenmenu_48d(0x8002, 16);
ucon();
sethpmenu(1);

Notes

Opening the load or trial menu requires proper setup via the Unk Call 7067 function.

Before calling this function:

  • Disable the user control via the Uc Off function. Otherwise the up- and down keys won't be available for navigation purposes in the shop menu.

  • Disable the battle UI via the Set HP Menu(0) function. Otherwise the party stats at the bottom right and the mini-map at the top right will still be visible. Not doing this can also in a crash when opening the map afterwards.

After calling this function:

  • Enable the user control via the Uc On function. Otherwise the player won't be able to control their party members.

  • Enable the battle UI via the Set HP Menu(1) function. Otherwise the party stats at the bottom right and the mini-map at the top right won't be visible.

The licenses tutorial is no longer available in the zodiac age.

Last updated