NetHack 2.2a/monmove.c