debug.c
The debug menus (scenes, flags, icon browsers) and the system menu's choices.
games/tbs/src/window/battle_command/debug.c on GitHub
The debug menus (scenes, flags, icon browsers) and the system menu's choices.
Functions
DebugMenu_ScheduleSceneSelector
UNUSED void DebugMenu_ScheduleSceneSelector(void)
Schedules the debug scene and entrance selector; 0xc80 is a scheduler order, not a number of frames to wait. Nothing in the game calls it.
Menu_DrawSelectionRow
void Menu_DrawSelectionRow(struct UiWindow *work, s32 scene, const s16 *entrance)
Draws the debug scene and entrance numbers with their category/area labels. The first line has the scene's name (MsgDebugCategoryName + scene) and, beside it, the area its entrance leads to (MsgDebugEntryName + area); the numbers, three digits each, go under them.