From 094d43916c75e3d977267502128a126d7e52f7bb Mon Sep 17 00:00:00 2001 From: suchmememanyskill Date: Tue, 27 Jul 2021 21:43:11 +0200 Subject: [PATCH] oops --- source/script/standardLibrary.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/script/standardLibrary.c b/source/script/standardLibrary.c index f3d82d9..a6eb608 100644 --- a/source/script/standardLibrary.c +++ b/source/script/standardLibrary.c @@ -340,8 +340,7 @@ ClassFunction(stdMenuFull){ u32 x=0,y=0; gfx_con_getpos(&x,&y); - - int res = newMenu(&v, getIntValue(args[1]), ScreenDefaultLenX - ((x + 1) / 16), ScreenDefaultLenY - ((y + 1) / 16) - 1, ENABLEB | ALWAYSREDRAW, 0); + int res = newMenu(&v, getIntValue(args[1]), ScreenDefaultLenX - ((x + 1) / 16), 40 - ((y + 1) / 16) - 1, ENABLEB | ALWAYSREDRAW, 0); vecFree(v); return newIntVariablePtr(res); }