moved debug output for player status to separate function