int menu_line = (use_menu ? 1 : 0);
-#ifdef ALLOW_REPEAT
COMMAND_CODE sn;
if (repeat_pull(&sn))
{
return sn;
}
-#endif /* ALLOW_REPEAT */
-
for (i = 0; i < 108; i++)
{
if (p_ptr->magic_num2[i]) break;
"(*=List, ESC=exit) Browse which power? "));
else strnfmt(out_val, 78, _("('*'で一覧, ESCで中断) どの魔力を使いますか?",
"(*=List, ESC=exit) Use which power? "));
-
- /* Save the screen */
- screen_save();
+ screen_save();
request_list = always_show_list;
{
/* Hide list */
request_list = FALSE;
-
- /* Restore the screen */
- screen_load();
+ screen_load();
screen_save();
}
else
/* Stop the loop */
flag = TRUE;
}
-
- /* Restore the screen */
screen_load();
if (!flag) return -1;
-#ifdef ALLOW_REPEAT
repeat_push(ext+i);
-#endif /* ALLOW_REPEAT */
return ext+i;
}