NetHack 2.2a/polyself.c