Skip to content

Global Class "BestiaryMenu"⚓︎

Info

You can get this class by using the BestiaryMenu global table.

Note that to call these functions, you must use a . (period) instead of a : (colon)!

Example Code
1
local sprite = BestiaryMenu.GetBestiaryMenuSprite()

Functions⚓︎

GetBestiaryMenuSprite ()⚓︎

Sprite GetBestiaryMenuSprite ( )⚓︎

Paper sprite and all other decoration.


GetDeathScreenSprite ()⚓︎

Sprite GetDeathScreenSprite ( )⚓︎

Selectable elements that show the DeathScreen sprite of the enemies.


GetEnemySprite ()⚓︎

Sprite GetEnemySprite ( )⚓︎

Used for the animated enemy preview.


GetSelectedPage ()⚓︎

int GetSelectedPage ( )⚓︎


GetNumBossPages ()⚓︎

int GetNumBossPages ( )⚓︎

Returns the number of bestiary pages used for bosses. The boss pages come after the monster pages.


GetNumMonsterPages ()⚓︎

int GetNumMonsterPages ( )⚓︎

Returns the number of bestiary pages used for enemies. Enemy pages come first, the pages afterwards are reserved for bosses.


GetNumPages ()⚓︎

int GetNumPages ( )⚓︎

Returns the total number of pages currently in the bestiary, with both monster and boss pages included.


GetSelectedElement ()⚓︎

int GetSelectedElement ( )⚓︎


SetSelectedPage ()⚓︎

void SetSelectedPage ( int Page )⚓︎


SetSelectedElement ()⚓︎

void SetSelectedElement ( int Element )⚓︎