Lines Matching refs:testbit
62 if ((testbit(from, value) || wiz || tempwiz) &&
63 heavy && bulky && !testbit(inven, value)) {
68 if (testbit(from, value))
75 } else if (testbit(inven, value))
79 else if (!testbit(from, value))
101 if (testbit(from, SWORD)) {
105 if (testbit(from, TWO_HANDED)) {
115 if (testbit(from, MAID)) {
119 } else if (testbit(from, DEADWOOD)) {
123 } else if (testbit(from, DEADNATIVE)) {
128 if (testbit(from, DEADGOD)) {
141 if (testbit(location[position].objects, AMULET)) {
158 if (testbit(location[position].objects, MEDALION)) {
170 if (testbit(location[position].objects, TALISMAN)) {
178 if (testbit(location[position].objects, BATHGOD) &&
179 (testbit(wear, AMULET) || testbit(inven, AMULET))) {
195 if (!testbit(location[position].objects,
251 testbit(location[position].objects, value)) {
283 testbit(location[position].objects,
313 if (testbit(inven, MAID) ||
314 testbit(location[position].objects, MAID))
316 else if (testbit(inven, DEADWOOD) ||
317 testbit(location[position].objects, DEADWOOD))
319 else if (testbit(inven, DEADGOD) ||
320 testbit(location[position].objects, DEADGOD))
322 else if (testbit(inven, DEADTIME) ||
323 testbit(location[position].objects, DEADTIME))
325 else if (testbit(inven, DEADNATIVE) ||
326 testbit(location[position].objects, DEADNATIVE))
341 if (testbit(inven, value)) {
367 if (testbit(location[position].objects,
374 } else if (testbit(location[position].objects,
377 else if (testbit(wear, value))
440 if (testbit(inven, value) &&
442 testbit(inven, KNIFE)) {
451 } else if (!testbit(inven, value)) {
454 } else if (!testbit(inven, KNIFE))