move map script table to C

This commit is contained in:
DizzyEggg
2025-06-16 21:55:26 +02:00
parent aead764c7c
commit 24bf8eaa89
10 changed files with 493 additions and 253 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ bool8 DebugFieldMapWindow_Init(void)
sDebugWindow->m.menuWindow->header = &sDebugWindow->header;
ResetUnusedInputStruct();
ShowWindows(&sDebugWindow->m.windows, TRUE, TRUE);
CreateMenuOnWindow(&sDebugWindow->m.input, 229, 10, sDebugWindow->m.menuWinId);
CreateMenuOnWindow(&sDebugWindow->m.input, MAP_COUNT, 10, sDebugWindow->m.menuWinId);
ShowWindowsWithHeader();
PrintCurrentPageText();
return TRUE;
@@ -82,7 +82,7 @@ s16 DebugFieldMapWindow_GetCurrentIndex(void)
UNUSED static void ShowDebugFieldMapWindow(bool8 addCursorSprite)
{
sDebugWindow->m.input.totalEntriesCount = 229;
sDebugWindow->m.input.totalEntriesCount = MAP_COUNT;
MenuUpdatePagesData(&sDebugWindow->m.input);
ShowWindowsWithHeader();
PrintCurrentPageText();