NetHack 1.3d/end.c