Lines Matching refs:m_flags
156 if ((monster->m_flags & WANDERS) && coin_toss()) {
179 if (monster->m_flags & IMITATES) {
183 monster->m_flags |= HASTED;
204 if (monster->m_flags & HASTED) {
209 } else if (monster->m_flags & SLOWED) {
215 if ((monster->m_flags & CONFUSED) && move_confused(monster)) {
219 if ( (monster->m_flags & FLIES) &&
220 !(monster->m_flags & NAPPING) &&
275 if (!(monster->m_flags & IMITATES)) {
276 monster->m_flags |= WAKENS;
293 (monster->m_flags & INVISIBLE)) || blind) {
296 if (monster->m_flags & IMITATES) {
309 (monster->m_flags & INVISIBLE))
313 if (monster->m_flags & IMITATES) {
325 if (monster->m_flags & ASLEEP) {
326 if (monster->m_flags & NAPPING) {
328 monster->m_flags &= (~(NAPPING | ASLEEP));
332 if ((monster->m_flags & WAKENS) &&
340 } else if (monster->m_flags & ALREADY_MOVED) {
341 monster->m_flags &= (~ALREADY_MOVED);
344 if ((monster->m_flags & FLITS) && flit(monster)) {
347 if ((monster->m_flags & STATIONARY) &&
351 if (monster->m_flags & FREEZING_ROGUE) {
354 if ((monster->m_flags & CONFUSES) && m_confuse(monster)) {
361 if ((monster->m_flags & FLAMES) && flame_broil(monster)) {
364 if ((monster->m_flags & SEEKS_GOLD) && seek_gold(monster)) {
497 if ((!(monster->m_flags & INVISIBLE) ||
540 if (!(monster->m_flags & (FLITS | CONFUSED | CAN_FLIT)) &&
559 if (!(monster->m_flags & NAPPING)) {
560 monster->m_flags &= (~(ASLEEP | IMITATES | WAKENS));
588 if ((monster->m_flags & WAKENS) &&
603 if (blind || ((monster->m_flags & INVISIBLE) &&
638 if (!(monster->m_flags & (WAKENS | WANDERS))) {
674 if (monster->m_flags & IMITATES) {
675 monster->m_flags &= (~IMITATES);
676 monster->m_flags |= WAKENS;
710 if (monster->m_flags & (WANDERS | WAKENS)) {
767 if (!(monster->m_flags & ASLEEP)) {
769 monster->m_flags &= (~CONFUSED);
771 if (monster->m_flags & STATIONARY) {
797 if (!rand_percent(FLIT_PERCENT + ((monster->m_flags & FLIES) ? 20 : 0))) {
855 monster->m_flags &= (~IMITATES);
893 monster->m_flags |= ALREADY_MOVED;