NetHack 2.2a/do.c