NetHack 2.2a/end.c