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)))
}
item_tester_no_ryoute = TRUE;
- /* Prepare the hook */
item_tester_hook = item_tester_hook_activate;
- /* Get an item */
q = _("どのアイテムを始動させますか? ", "Activate which item? ");
s = _("始動できるアイテムを装備していない。", "You have nothing to activate.");
msg_print(_("石を制御できない!", "You are too weak to control the stone!"));
/* Hack -- Bypass free action */
- (void)set_paralyzed(p_ptr->paralyzed +
- randint1(5 * oops + 1));
+ (void)set_paralyzed(p_ptr->paralyzed + randint1(5 * oops + 1));
/* Confusing. */
- (void)set_confused(p_ptr->confused +
- randint1(5 * oops + 1));
+ (void)set_confused(p_ptr->confused + randint1(5 * oops + 1));
}
/* Redraw mana */
}
take_hit(DAMAGE_LOSELIFE, damroll(1, 12), _("危険な秘密", "perilous secrets"), -1);
/* Confusing. */
- if (one_in_(5)) (void)set_confused(p_ptr->confused +
- randint1(10));
+ if (one_in_(5)) (void)set_confused(p_ptr->confused + randint1(10));
/* Exercise a little care... */
- if (one_in_(20))
- take_hit(DAMAGE_LOSELIFE, damroll(4, 10), _("危険な秘密", "perilous secrets"), -1);
+ if (one_in_(20)) take_hit(DAMAGE_LOSELIFE, damroll(4, 10), _("危険な秘密", "perilous secrets"), -1);
break;
}
{
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;
+ p_ptr->fishing_dir = dir;
if (!cave_have_flag_bold(y, x, FF_WATER))
{
msg_print(_("そこは水辺ではない。", "There is no fishing place."));