[script-command, dynmultichoice] load message box and border gfx
This commit is contained in:
parent
a7cd4ca592
commit
4fad6b3e12
1 changed files with 1 additions and 0 deletions
|
@ -357,6 +357,7 @@ static void DrawMultichoiceMenuDynamic(u8 left, u8 top, u8 argc, struct ListMenu
|
||||||
{
|
{
|
||||||
width = DisplayTextAndGetWidth(items[i].name, width);
|
width = DisplayTextAndGetWidth(items[i].name, width);
|
||||||
}
|
}
|
||||||
|
LoadMessageBoxAndBorderGfx();
|
||||||
windowHeight = (argc < maxBeforeScroll) ? argc * 2 : maxBeforeScroll * 2;
|
windowHeight = (argc < maxBeforeScroll) ? argc * 2 : maxBeforeScroll * 2;
|
||||||
newWidth = ConvertPixelWidthToTileWidth(width);
|
newWidth = ConvertPixelWidthToTileWidth(width);
|
||||||
left = ScriptMenu_AdjustLeftCoordFromWidth(left, newWidth);
|
left = ScriptMenu_AdjustLeftCoordFromWidth(left, newWidth);
|
||||||
|
|
Loading…
Reference in a new issue