I remember Wario Land on the Gameboy had a bit at the end where you got a castle based on how many coins you'd collected on your save file.
I spent way too long trying to see the best castle. That, but with "speed up" potions and scrolls of curse removal.