Lines Matching refs:m_flags

111 		if ((monster->m_flags & WANDERS) && coin_toss()) {  in put_mons()
136 if (monster->m_flags & IMITATES) {
140 monster->m_flags |= HASTED;
160 if (monster->m_flags & HASTED) { in mv_mons()
165 } else if (monster->m_flags & SLOWED) { in mv_mons()
171 if ((monster->m_flags & CONFUSED) && move_confused(monster)) { in mv_mons()
175 if ( (monster->m_flags & FLIES) && in mv_mons()
176 !(monster->m_flags & NAPPING) && in mv_mons()
220 if (!(monster->m_flags & IMITATES)) {
221 monster->m_flags |= WAKENS;
238 (monster->m_flags & INVISIBLE)) || blind) {
241 if (monster->m_flags & IMITATES) {
254 (monster->m_flags & INVISIBLE))
258 if (monster->m_flags & IMITATES) {
271 if (monster->m_flags & ASLEEP) {
272 if (monster->m_flags & NAPPING) {
274 monster->m_flags &= (~(NAPPING | ASLEEP));
278 if ((monster->m_flags & WAKENS) &&
286 } else if (monster->m_flags & ALREADY_MOVED) {
287 monster->m_flags &= (~ALREADY_MOVED);
290 if ((monster->m_flags & FLITS) && flit(monster)) {
293 if ((monster->m_flags & STATIONARY) &&
297 if (monster->m_flags & FREEZING_ROGUE) {
300 if ((monster->m_flags & CONFUSES) && m_confuse(monster)) {
307 if ((monster->m_flags & FLAMES) && flame_broil(monster)) {
310 if ((monster->m_flags & SEEKS_GOLD) && seek_gold(monster)) {
445 if ((!(monster->m_flags & INVISIBLE) ||
489 if (!(monster->m_flags & (FLITS | CONFUSED | CAN_FLIT)) &&
508 if (!(monster->m_flags & NAPPING)) {
509 monster->m_flags &= (~(ASLEEP | IMITATES | WAKENS));
539 if ((monster->m_flags & WAKENS) &&
555 if (blind || ((monster->m_flags & INVISIBLE) &&
587 if (!(monster->m_flags & (WAKENS | WANDERS))) { in wanderer()
622 if (monster->m_flags & IMITATES) { in show_monsters()
623 monster->m_flags &= (~IMITATES); in show_monsters()
624 monster->m_flags |= WAKENS; in show_monsters()
657 if (monster->m_flags & (WANDERS | WAKENS)) { in create_monster()
713 if (!(monster->m_flags & ASLEEP)) {
715 monster->m_flags &= (~CONFUSED);
717 if (monster->m_flags & STATIONARY) {
743 if (!rand_percent(FLIT_PERCENT + ((monster->m_flags & FLIES) ? 20 : 0))) {
799 monster->m_flags &= (~IMITATES); in aggravate()
837 monster->m_flags |= ALREADY_MOVED; in mv_aquatars()