Those things are like a dollar a piece.. It would be better to just buy some new games to get your mind off it.
Curdy, I've been around drug addicts and alcoholics my entire life, and I can probably tell you ways to prepare yourself better mentally for resisting such things, but overall, I would like to tell you that you always have a choice, and that pain is only temporary.
It also helps to not put yourself around people that ultimately place you in tempting situations.