So I entered my code this morning, and I got Treasure Detector Magic. To my misfortune, it is one use only. So, I decided I would share with Micechat the side effects of said magic.
Basically, you use it like normal magic, but you have to walk around for it to work. Supposedly, a little message will come up saying you found something. I unfortunately never got such a message. I hope you guys have better luck than I did with it.
Here's a quote from Yoyoflamingo that explains it really well: