Lines Matching refs:monster
4 * movem.c (move monster) Larn is copyrighted 1986 by Noah Morgan.
9 * movemt(x,y) Function to move a monster at (x,y) -- must determine where
10 * mmove(x,y,xd,yd) Function to actually perform the monster movement
53 distance = 40; /* depth of intelligent monster movement */
59 distance = 17; /* depth of intelligent monster movement */
84 for (j = tmp1; j < tmp2; j++) /* now reset monster moved flags */
94 if (mitem[i][j]) /* if there is a monster
99 * monster */
104 if (mitem[i][j]) /* if there is a monster
111 * monster */
114 if (mitem[lasthx][lasthy]) { /* now move monster last hit by
126 * movemt(x,y) Function to move a monster at (x,y) -- must determine where
129 * This routine is responsible for determining where one monster at (x,y) will
165 if (monster[monst].intelligence > 10 - c[HARDGAME]) { /* if smart monster */
198 * monster
270 * mmove(x,y,xd,yd) Function to actually perform the monster movement
282 flag = 0; /* set to 1 if monster hit by arrow trap */
314 lprintf("\nThe %s dispels the sphere!", monster[tmp].name);
339 if (monster[tmp].hitpoints > hitp[cc][dd])
342 if (i == OTRAPARROW) { /* arrow hits monster */
350 if (i == ODARTRAP) { /* dart hits monster */
358 if (i == OTELEPORTER) { /* monster hits teleport trap */
370 lprintf("\n%s hits the %s", who, monster[tmp].name);
375 who, monster[tmp].name);
379 lprintf("\nThe %s gets teleported", monster[tmp].name);