testbit
if (!notes[CANTSEE] || testbit(inven, LAMPON) ||
testbit(location[position].objects, LAMPON)) {
if ((testbit(inven, TALISMAN) || testbit(wear, TALISMAN)) &&
(testbit(inven, MEDALION) || testbit(wear, MEDALION)) &&
(testbit(inven, AMULET) || testbit(wear, AMULET))) {
if (testbit(location[position].objects, ELF)) {
if (testbit(location[position].objects, DARK)) {
if (testbit(location[position].objects, WOODSMAN)) {
if (testbit(location[position].objects, GIRL))
if (testbit(location[position].objects, CYLON)) {
(testbit(location[position].objects, LAND) && fuel <= 0)) {
testbit(location[position].objects, LAND) ||
if (wordvalue[wordnumber] == AMULET && testbit(inven, AMULET) &&
if (testbit(inven, MEDALION)) {
else if (wordvalue[wordnumber] == COMPASS && testbit(inven, COMPASS))
n == HALBERD) && testbit(inven, n)) && n < NUMOFOBJECTS;
if (testbit(inven, LASER)) {
if (testbit(location[position].objects, BATHGOD)) {
if (testbit(location[position].objects,
if (testbit(location[position].objects, TIMER)) {
if (testbit(location[position].objects, NATIVE)) {
if (testbit(location[position].objects, MAN)) {
(testbit(location[position].objects, wordvalue[wordnumber])
testbit(location[position].objects, BATHGOD)))) {
if (testbit(location[position].objects, BATHGOD)) {
if (testbit(inven, value)) {
if (testbit(wear, value)) {
if (testbit(inven, SHOVEL)) {
(testbit(location[position].objects, value) ||
if (testbit(inven, MAID) ||
testbit(location[position].objects, MAID))
if (testbit(inven, DEADWOOD) ||
testbit(location[position].objects,
if (testbit(inven, DEADGOD) ||
testbit(location[position].objects,
if (testbit(inven, DEADTIME) ||
testbit(location[position].objects,
if (testbit(inven, DEADNATIVE) ||
testbit(location[position].objects,
(testbit(inven, value) ||
testbit(location[position].objects, value))) {
if (testbit(inven, value)) {
if (testbit(inven, POTION)) {
if (!testbit(inven, LASER))
if (testbit(location[position].objects, value)) {
if (testbit(location[position].objects,
if (testbit(location[position].objects,
if (testbit(location[position].objects,
if (testbit(location[position].objects, MAN)) {
if (testbit(location[position].objects,
if (testbit(inven, SHOVEL)) {
if (testbit(inven, n)) {
if (testbit(from, SWORD)) {
if (testbit(from, TWO_HANDED)) {
if (testbit(from, MAID)) {
} else if (testbit(from, DEADWOOD)) {
} else if (testbit(from, DEADNATIVE)) {
if (testbit(from, DEADGOD)) {
if (testbit(location[position].objects, AMULET)) {
if (testbit(location[position].objects, MEDALION)) {
if (testbit(location[position].objects, TALISMAN)) {
if (testbit(location[position].objects, BATHGOD) &&
(testbit(wear, AMULET) || testbit(inven, AMULET))) {
if (!testbit(location[position].objects,
testbit(location[position].objects, value)) {
testbit(location[position].objects,
if (testbit(inven, MAID) ||
testbit(location[position].objects, MAID))
else if (testbit(inven, DEADWOOD) ||
testbit(location[position].objects, DEADWOOD))
else if (testbit(inven, DEADGOD) ||
testbit(location[position].objects, DEADGOD))
else if (testbit(inven, DEADTIME) ||
testbit(location[position].objects, DEADTIME))
else if (testbit(inven, DEADNATIVE) ||
testbit(location[position].objects, DEADNATIVE))
if (testbit(inven, value)) {
if (testbit(location[position].objects,
} else if (testbit(location[position].objects,
else if (testbit(wear, value))
if (testbit(inven, value) &&
testbit(inven, KNIFE)) {
} else if (!testbit(inven, value)) {
} else if (!testbit(inven, KNIFE))
if ((testbit(from, value) || wiz || tempwiz) &&
heavy && bulky && !testbit(inven, value)) {
if (testbit(from, value))
} else if (testbit(inven, value))
else if (!testbit(from, value))
if ((testbit(location[position].objects, BATHGOD) ||
testbit(location[position].objects, NORMGOD)) &&
if (testbit(location[position].objects,
while (!testbit(inven, n))
if (person && testbit(location[position].objects, person)) {
if (result != -1 && (testbit(location[position].objects, obj) ||
&& testbit(location[position].objects, BATHGOD)) {
if (testbit(location[position].objects,
if (testbit(location[position].objects, CAR)) {
if (testbit(location[position].objects, HORSE)) {
if (testbit(inven, MATCHES) && matchcount) {
if (testbit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) {
if (notes[LAUNCHED] && testbit(location[position].objects, LAND) &&
if (testbit(inven, AMULET) || testbit(wear, AMULET)) {
if (testbit(inven, MEDALION) ||
testbit(wear, MEDALION)) {
if (testbit(inven, AMULET)) {
if (testbit(inven, LASER)) {
hurt = rnd(NUMOFINJURIES) - (testbit(inven, SHIELD) != 0) -
(testbit(wear, MAIL) != 0) - (testbit(wear, HELM) != 0);
hurt += (testbit(wear, AMULET) != 0) +
(testbit(wear, MEDALION) != 0) + (testbit(wear, TALISMAN) != 0);
if (testbit(inven, TWO_HANDED))
else if (testbit(inven, SWORD) || testbit(inven, BROAD))
else if (testbit(inven, KNIFE) || testbit(inven, MALLET) ||
testbit(inven, CHAIN) || testbit(inven, MACE) ||
testbit(inven, HALBERD))
if (testbit(location[position].objects,
if (testbit(location[position].objects,
if (testbit(inven, n)) {
if (testbit(inven, n) ||
(testbit(location[position].objects, n) && objsht[n])) {
if (testbit(wear, n)) {
if (testbit(wear, n)) {
if (testbit(location[position].objects,
if (testbit(inven, n)) {
if (testbit(inven, n)) {
if (testbit(inven, n))
if (testbit(wear, n))
if (testbit(inven, n)) {
if (!notes[CANTSEE] || testbit(inven, LAMPON) ||
testbit(location[position].objects, LAMPON)
if (testbit(array, n))
if (testbit(p, n) && objdes[n])