NetHack 2.2a/wizard.c