{
boolean fmlkind = is_female(mtmp->data);
const char *devnam;
+#if 1 /*JP*/
+ char tmp_nam[PL_NSIZ];
+#endif
devnam = dev_name();
if (!devnam)
mtmp->female = 1;
else
mtmp->female = 0;
+#if 0 /*JP*/
Strcat(nam, " the ");
Strcat(nam, rank_of((int) mtmp->m_lev, monsndx(mtmp->data),
(boolean) mtmp->female));
+#else /*\8fÌ\8d\86\82ð\91O\82É\95t\82¯\82½\82¢\82Ì\82Åtmp_nam\82É\88ê\92U\8d\\92z\82µ\82Änam\82É\96ß\82·*/
+ Strcpy(tmp_nam, rank_of((int) mtmp->m_lev, monsndx(mtmp->data),
+ (boolean)mtmp->female));
+ Strcat(tmp_nam, "\82Ì");
+ Strcat(tmp_nam, nam);
+ Strcpy(nam, tmp_nam);
+#endif
}
STATIC_OVL void
mplayer_talk(mtmp)
register struct monst *mtmp;
{
+#if 0 /*JP*/
static const char *same_class_msg[3] =
{
"I can't win, and neither will you!", "You don't deserve to win!",
"The low-life wants to talk, eh?", "Fight, scum!",
"Here is what I have to say!",
};
+#else
+ static const char *same_class_msg[2][3] = {
+ {
+ "\8e\84\82Å\82·\82ç\92B\90¬\82Å\82«\82È\82¢\82Ì\82É\81C\82¨\91O\82É\92B\90¬\82Å\82«\82é\82Ì\82©\81H",
+ "\82¨\91O\82ª\90¬\8c÷\82·\82é\82È\82ñ\82Ä\82±\82Æ\82Í\82È\82¢\82È\81D",
+ "\96¼\97_\82ð\89ä\82É\81I\82¨\91O\82¶\82á\82È\82¢\81I",
+ },
+ {
+ "\8e\84\82Å\82·\82ç\92B\90¬\82Å\82«\82È\82¢\82Ì\82É\81C\82 \82È\82½\82É\92B\90¬\82Å\82«\82Ä\81H",
+ "\82 \82È\82½\82ª\90¬\8c÷\82·\82é\82È\82ñ\82Ä\82 \82è\82¦\82Ü\82¹\82ñ\82í\81D",
+ "\96¼\97_\82Í\8e\84\82É\81I\82 \82È\82½\82É\82È\82ñ\82Ä\82Æ\82ñ\82Å\82à\82È\82¢\81D",
+ }
+ },
+ *other_class_msg[2][3] = {
+ {
+ "\89º\8fO\82ª\98b\82µ\82©\82¯\82é\82©\81H\82Í\82Í\81[\82ñ\81H",
+ "\90í\82¦\81I\82±\82Ì\96ì\98Y\81I",
+ "\82¨\91O\82Æ\98b\82·\82±\82Æ\82È\82Ç\82È\82É\82à\82È\82¢\81I",
+ },
+ {
+ "\8e\84\82Æ\98b\82µ\82½\82¢\82Å\82·\82Á\82Ä\81H",
+ "\8c\95\82ð\8eæ\82è\82È\82³\82¢\81I",
+ "\82 \82È\82½\82Æ\98b\82·\82±\82Æ\82È\82Ç\82 \82è\82Ü\82¹\82ñ\82í\81I",
+ }
+ };
+ int female;
+#endif
if (mtmp->mpeaceful)
return; /* will drop to humanoid talk */
+#if 0 /*JP*/
pline("Talk? -- %s", (mtmp->data == &mons[urole.malenum]
|| mtmp->data == &mons[urole.femalenum])
? same_class_msg[rn2(3)]
: other_class_msg[rn2(3)]);
+#else
+ female = (mtmp->female ? 1 : 0);
+ pline("\98b\82·\81H -- %s", (mtmp->data == &mons[urole.malenum]
+ || mtmp->data == &mons[urole.femalenum])
+ ? same_class_msg[female][rn2(3)]
+ : other_class_msg[female][rn2(3)]);
+#endif
}
/*mplayer.c*/