break;
}
case RBM_CHARGE: {
+#ifdef JP
monap_ptr->abbreviate = -1;
+#endif
monap_ptr->act = _("は請求書をよこした。", "charges you.");
monap_ptr->touched = TRUE;
break;
}
case RBM_CRAWL: {
+#ifdef JP
monap_ptr->abbreviate = -1;
+#endif
monap_ptr->act = _("が体の上を這い回った。", "crawls on you.");
monap_ptr->touched = TRUE;
sound(SOUND_SLIME);
break;
}
case RBM_EXPLODE: {
+#ifdef JP
monap_ptr->abbreviate = -1;
+#endif
monap_ptr->act = _("は爆発した。", "explodes.");
monap_ptr->explode = TRUE;
break;
break;
}
case RBM_XXX4: {
+#ifdef JP
monap_ptr->abbreviate = -1;
+#endif
monap_ptr->act = _("が XXX4 を発射した。", "projects XXX4's at you.");
break;
}
strfmt(temp, mam_ptr->act, mam_ptr->t_name);
msg_format("%^sは%s", mam_ptr->m_name, temp);
#else
- if (do_silly_attack) {
+ if (mam_ptr->do_silly_attack) {
mam_ptr->act = silly_attacks[randint0(MAX_SILLY_ATTACK)];
- strfmt(temp, "%s %s.", mam_ptr->act, t_name);
+ strfmt(temp, "%s %s.", mam_ptr->act, mam_ptr->t_name);
} else
- strfmt(temp, mam_ptr->act, t_name);
+ strfmt(temp, mam_ptr->act, mam_ptr->t_name);
- msg_format("%^s %s", m_name, temp);
+ msg_format("%^s %s", mam_ptr->m_name, temp);
#endif
}
monap_type *initialize_monap_type(player_type *target_ptr, monap_type *monap_ptr, MONSTER_IDX m_idx)
{
+#ifdef JP
+ monap_ptr->abbreviate = 0;
+#endif
monap_ptr->m_idx = m_idx;
floor_type *floor_ptr = target_ptr->current_floor_ptr;
monap_ptr->m_ptr = &floor_ptr->m_list[m_idx];
monap_ptr->act = NULL;
- monap_ptr->abbreviate = 0;
monap_ptr->touched = FALSE;
monap_ptr->explode = FALSE;
monap_ptr->do_silly_attack = one_in_(2) && target_ptr->image;
#ifdef JP
msg_format("%s(%c)を%s盗まれた!", monap_ptr->o_name, index_to_label(i_idx), ((monap_ptr->o_ptr->number > 1) ? "一つ" : ""));
#else
- msg_format("%sour %s (%c) was stolen!", ((o_ptr->number > 1) ? "One of y" : "Y"), monap_ptr->o_name, index_to_label(i_idx));
+ msg_format("%sour %s (%c) was stolen!", ((monap_ptr->o_ptr->number > 1) ? "One of y" : "Y"), monap_ptr->o_name, index_to_label(i_idx));
#endif
chg_virtue(target_ptr, V_SACRIFICE, 1);
o_idx = o_pop(target_ptr->current_floor_ptr);
#ifdef JP
msg_format("%s(%c)を%s食べられてしまった!", monap_ptr->o_name, index_to_label(i_idx), ((monap_ptr->o_ptr->number > 1) ? "一つ" : ""));
#else
- msg_format("%sour %s (%c) was eaten!", ((o_ptr->number > 1) ? "One of y" : "Y"), monap_ptr->o_name, index_to_label(i_idx));
+ msg_format("%sour %s (%c) was eaten!", ((monap_ptr->o_ptr->number > 1) ? "One of y" : "Y"), monap_ptr->o_name, index_to_label(i_idx));
#endif
inven_item_increase(target_ptr, i_idx, -1);
inven_item_optimize(target_ptr, i_idx);