Recursive hash code calculation for BattleState and LxxRobot fixed