Smoking pills certainly has bad effects, and codeine is often found in combination with acetaminophen which makes it worse. You would have gotten more out of it if you just chewed/crushed the bills and swallowed.