TestBit
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)) {
if (!notes[CANTSEE] || TestBit(inven, LAMPON) ||
TestBit(location[position].objects, LAMPON)) {
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++)
if (TestBit(inven, LASER)) {
if (TestBit(location[position].objects, BATHGOD)) {
if (TestBit(location[position].objects, NORMGOD)) {
if (TestBit(location[position].objects, TIMER)) {
if (TestBit(location[position].objects, NATIVE)) {
if (TestBit(location[position].objects, MAN)) {
if (wordtype[wordnumber] == NOUNS && (TestBit(location[position].objects, wordvalue[wordnumber])
|| (wordvalue[wordnumber] == NORMGOD && TestBit(location[position].objects, BATHGOD)))) {
if (TestBit(location[position].objects, BATHGOD))
(TestBit(location[position].objects, NORMGOD)) && godready >= 2) {
if (TestBit(inven, value)) {
if (TestBit(wear, value))
if (TestBit(inven, SHOVEL)) {
if (wordtype[wordnumber] == NOUNS && (TestBit(location[position].objects, value) || value == BODY)) {
if (TestBit(inven, MAID) || TestBit(location[position].objects, MAID))
if (TestBit(inven, DEADWOOD) || TestBit(location[position].objects, DEADWOOD))
if (TestBit(inven, DEADGOD) || TestBit(location[position].objects, DEADGOD))
if (TestBit(inven, DEADTIME) || TestBit(location[position].objects, DEADTIME))
if (TestBit(inven, DEADNATIVE) || TestBit(location[position].objects, DEADNATIVE))
if (wordtype[wordnumber] == OBJECT && position > 88 && (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, BATHGOD)) {
if (TestBit(location[position].objects, NORMGOD)) {
if (TestBit(location[position].objects, TIMER)) {
if (TestBit(location[position].objects, MAN)) {
if (TestBit(location[position].objects, NATIVE)) {
if (TestBit(inven, SHOVEL)) {
if (TestBit(inven, n)) {
if (TestBit(from, MAID)) {
else if (TestBit(from, DEADWOOD)) {
else if (TestBit(from, DEADNATIVE)) {
else 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, BATHGOD))
if (deposit && TestBit(location[position].objects, value)) {
if (value == GRENADE && TestBit(location[position].objects, value)) {
if (TestBit(inven, MAID) || TestBit(location[position].objects, MAID))
if (TestBit(inven, DEADWOOD) || TestBit(location[position].objects, DEADWOOD))
if (TestBit(inven, DEADGOD) || TestBit(location[position].objects, DEADGOD))
if (TestBit(inven, DEADTIME) || TestBit(location[position].objects, DEADTIME))
if (TestBit(inven, DEADNATIVE) || TestBit(location[position].objects, DEADNATIVE))
if (TestBit(inven, value)) {
if (TestBit(location[position].objects, value)) {
} else if (TestBit(location[position].objects, value))
else if (TestBit(wear, value))
if (TestBit(inven, value) && ourtime > ate - CYCLE &&
TestBit(inven, KNIFE)) {
} else if (!TestBit(inven, value))
else if (!TestBit(inven, KNIFE))
if ((TestBit(from, value) || tempwiz) && heavy && bulky && !TestBit(inven, value)) {
if (TestBit(from, value))
} else if (TestBit(inven, value))
else if (!TestBit(from, value))
if (TestBit(from, SWORD)) {
if (TestBit(from, TWO_HANDED)) {
if (TestBit(location[position].objects, wordvalue[wordnumber])) {
while (!TestBit(inven, n))
if (person && TestBit(location[position].objects, person)) {
if (result != -1 && (TestBit(location[position].objects, obj) || obj == AMULET || obj == MEDALION || obj == TALISMAN)) {
&& TestBit(location[position].objects, BATHGOD)) {
if (TestBit(location[position].objects, wordvalue[wordnumber])) {
if ((TestBit(location[position].objects, BATHGOD) ||
TestBit(location[position].objects, NORMGOD)) &&
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, n) && objsht[n]) {
if (TestBit(inven, n)) {
if (TestBit(inven, n) ||
(TestBit(location[position].objects, n) && objsht[n])) {
if (TestBit(inven, n))
if (TestBit(wear, n))
if (!notes[CANTSEE] || TestBit(inven, LAMPON) ||
TestBit(location[position].objects, LAMPON)
if (TestBit(testarray, n) &&
if (TestBit(array, n))
if (TestBit(p, n) && objdes[n])