Lines Matching refs:mitem
163 mitem[x][y] = mon;
198 if (monst == 0 || (mitem[x][y] == 0))
431 pm = &mitem[i][j];
591 if (mitem[i][j]) {
593 save[sc].id = mitem[i][j];
597 mitem[i][j] = 0;
619 for (trys = 100, i = j = 1; --trys > 0 && (item[i][j] == OWALL || mitem[i][j]); i = rnd(MAXX - 1), j = rnd(MAXY - 1));
621 mitem[i][j] = save[sc].id;
737 m = mitem[x][y];
830 if ((m = mitem[x][y])) { /* is there a monster there? */
890 mitem[x][y] = GNOMEKING;
924 lastnum = mitem[x][y];
948 if ((m = mitem[x][y]) == 0) {
959 mitem[x][y] = know[x][y] = 0;
981 if ((m = mitem[x][y]) != 0) {
1095 if (mitem[x][y] == 0) {
1100 if (nospell(spnum, mitem[x][y])) {
1105 while (monster[m = mitem[x][y] = rnd(MAXMONST + 7)].genocided);
1125 if ((monst = mitem[x][y]) == 0)
1157 mitem[x][y] = BAT;
1177 monst = mitem[x][y];
1230 lastnum = mster = mitem[x][y];
1725 if (*(p = &mitem[i][j])) { /* if a monster there */
1772 if ((m = mitem[x][y]) >= DEMONLORD + 4) { /* demons dispel spheres */
1815 mitem[x][y] = 0;
1848 item[x][y] = mitem[x][y] = 0;
1883 item[j][i] = mitem[j][i] = 0;