{
(void)activate_artifact(o_ptr);
- /* Window stuff */
p_ptr->window |= (PW_INVEN | PW_EQUIP);
/* Success */
else
{
success = FALSE;
- if (!get_rep_dir2(&dir)) return;
+ if (!get_direction(&dir, FALSE, FALSE)) return;
if (monster_can_enter(p_ptr->y + ddy[dir], p_ptr->x + ddx[dir], &r_info[o_ptr->pval], 0))
{
if (place_monster_aux(0, p_ptr->y + ddy[dir], p_ptr->x + ddx[dir], o_ptr->pval, (PM_FORCE_PET | PM_NO_KAGE)))
/* Prepare the hook */
item_tester_hook = item_tester_hook_activate;
- /* Get an item */
q = _("どのアイテムを始動させますか? ", "Activate which item? ");
s = _("始動できるアイテムを装備していない。", "You have nothing to activate.");
{
POSITION x, y;
- if (!get_rep_dir2(&dir)) return FALSE;
+ if (!get_direction(&dir, FALSE, FALSE)) return FALSE;
y = p_ptr->y + ddy[dir];
x = p_ptr->x + ddx[dir];
tsuri_dir = dir;