fix modified functions in warp.c edit player_state struct begin player.c functions (vars close to completion)