Wizard

The Wizard is an NPC, which must be saved from underground part of world after defeating the Wall of Flesh. His spawn location is completely random. He will randomly spawn near you while you are exploring. Talking to him in this state will free him, and he will wander the area until he gets killed by any nearby enemy or hazard, or until you move far enough from him. After that, he will move into an available house like any normal NPC.

Once the Wizard has moved into a house, he will sell the following:

Note: As with all NPCs, right-clicking an item will allow multiple purchases rather than purchasing it one by one.

Quotes

 * "Want me to pull a coin from behind your ear? No? Ok."


 * "I make a rather enchanting hot chocolate if you'd be inter... No? Ok."


 * "Do you want some magic candy? No? Ok."


 * "Well, hi there, (name of another NPC same gender as the player)! What can I do for you today?"


 * "Ever wanted an enchanted ring that turns rocks into slimes? Well neither did I."


 * "Someone once told me friendship is magic. That's ridiculous. You can't turn people into frogs with friendship." (My little Pony, Friendship is magic reference.)


 * "I once tried to bring an Angel Statue to life. It didn't do anything."


 * "Oh, how heroic! Thank you for saving me, young (boy/lady)!"


 * "Are you here for a peek at my crystal ball?"


 * "I can see your future now... You will buy a lot of items from me!"

Trivia
Wizard's quote about friendship is a reference to My Little Pony: Friendship is Magic.