NetHack 2.3e/topten.c