It's pretty clear this person isn't your friend at all. Doesn't take a genius to figure out that he's using you hardcore. A real friend will be there for you no matter what. Take that to the bank. If he's not, then he's not your friend. There is no grey areas.
It just seems like you are lonely and will take whatever kind of friendship you can get. This person is a jerk and a user. Don't enable him to hurt you anymore, finding new friends isn't hard. Make a day out of it. Make some new friends.