Home | History | Annotate | Download | only in hack

Lines Matching refs:mtmp

82 getwn(struct monst *mtmp)
87 mtmp->wormno = tmp;
95 initworm(struct monst *mtmp)
98 int tmp = mtmp->wormno;
103 wtmp->wx = mtmp->mx;
104 wtmp->wy = mtmp->my;
110 worm_move(struct monst *mtmp)
113 int tmp = mtmp->wormno;
115 wtmp->wx = mtmp->mx;
116 wtmp->wy = mtmp->my;
122 unpmon(mtmp);
132 mtmp->mhpmax += 3;
133 mtmp->mhp += 3;
142 worm_nomove(struct monst *mtmp)
146 tmp = mtmp->wormno;
154 mtmp->mhp -= 3; /* mhpmax not changed ! */
158 wormdead(struct monst *mtmp)
160 int tmp = mtmp->wormno;
164 mtmp->wormno = 0;
173 wormhit(struct monst *mtmp)
175 int tmp = mtmp->wormno;
180 (void) hitu(mtmp, 1);
207 cutworm(struct monst *mtmp, xchar x, xchar y, uchar weptyp)
212 if (mtmp->mx == x && mtmp->my == y)
224 tmp = mtmp->wormno;
233 *mtmp2 = *mtmp;
266 mtmp->mhp /= 2;