When getting the team data for a random battle both battle.team and battle.opponent_team return only revealed pokemon from the spectator's point of view. This makes sense for the opponent team however not for the agent's team since it needs to throw all pokemon out to get information on what it's team consists of. Below is an image of what I get from battle.team notice that the length of the dictionary is 1.
When getting the team data for a random battle both battle.team and battle.opponent_team return only revealed pokemon from the spectator's point of view. This makes sense for the opponent team however not for the agent's team since it needs to throw all pokemon out to get information on what it's team consists of. Below is an image of what I get from battle.team notice that the length of the dictionary is 1.