Engine: refactoring old inventory screen routine

Split __actual_invscreen() into parts. Got rid of "goto" in the loop, implemented two distinct functions for drawing and updating instead.