Do you look at grades from other courses beside the pre-pharmacy ones?

Yes.  The pre-pharmacy requirements establish a minimum level of academic preparation for the professional degree program.  Higher level courses in the chemical or biological sciences can improve the applicant's background and preparation.  As stated in the admission criteria, the College of Pharmacy may look at higher level courses.  Consult the admission criteria posted on the admission policy webpage for further information.