Battle Agency

The Battle Agency (Japanese: バトルエージェント Battle Agent) is a battle facility located on Festival Plaza. It was introduced in Pokémon Ultra Sun and Ultra Moon and is made available upon clearing Sophocles's trial.
==Challenge==
The Battle Agency is a facility where a challenger uses a rental Pokémon and battles along with visitors in the Festival Plaza. During a challenge, the player is an agent and has a grade that determines the level and strength of their Pokémon. An agent's grade increases with the number of successful challenges.
Battles will be three-on-three in Single Battle format. Before beginning, the player can borrow one Pokémon from a selection of three possibilities shown on the screen behind the reception desk. The other two Pokémon come from other Trainers in the Festival Plaza and are based on the Pokémon they are currently borrowing. The player must invite two Trainers to form a team of three. In the instance when there are no more available Trainers in the player's Festival Plaza to choose from, or if the player decides not to choose both players from the Plaza, random Festival Fans will be generated to be fill up the remaining one or two spaces on the player's team. Their Pokémon will be set as grade 0.
Each challenge consists of three battles against programs simulating Battle Tree Trainers. The Trainers that can appear are the same ones who would be eligible to appear with a consecutive Battle Tree win streak equal to the agent's current grade, except that Battle Legends and other famous Trainers will never appear in the Battle Agency, apart from its own unique bosses. Agents are awarded Festival Coins (abbreviated as FC) based on the number of wins, with a minimum participation prize of 5 FC. The agent is allowed to borrow new Pokémon or switch teammates in the middle of a challenge. If the agent loses and restarts the challenge within the same day, they will battle against the exact same Trainers and teams as before. However, the Trainers in the Battle Agency are reset once midnight has passed. Additionally, if the agent loses against Sophocles prior to the interlude that introduces Episode RR, but proceeds to view that interlude and restarts the challenge within the same day, the battle against Sophocles is replaced by a battle against a replica of Giovanni, and a different team, once the agent reaches that point.
The three Pokémon that may be borrowed from the screen are shuffled after each successful challenge, at the start of the next day, or if agent uses a Switcheroo facility in Festival Plaza. If the agent has already borrowed a Pokémon, they can continue to use it even after the Pokémon have been shuffled for one of these reasons, but if a successful challenge causes their grade to increase, they lose access to the previously selected rental Pokémon and are required to borrow a new one from the reshuffled screen, and choose their two teammates again. If the screen is shuffled by using the Switcheroo facility, certain Pokémon sets are guaranteed not to appear in the selection: if the player's grade is less than 50 and there is a weather or terrain condition in effect for the day, a curated list of Pokémon that do not synergize well with that condition are removed from the random drawing. If the field is clear, or if the player's grade has already reached 50 regardless of condition, then the excluded sets are mostly defensive-minded sets, such as those that rely on to deal damage.
If the player has not yet obtained the Key Stone supplement to their Z-Power Ring by beating Dexio in Poni Plains, then any Pokémon on the screen that would normally have its Mega Stone will be shown without an item instead, and if the agent chooses to borrow that Pokémon, it will not be able to Mega Evolve in battle. The agent's teammates, including nameless Festival Fans, can have Pokémon equipped with their Mega Stones even if the player doesn't have the Key Stone, and those Pokémon will still be able to Mega Evolve.
: See also:
:: List of Battle Agency Pokémon
:: List of Battle Agency Trainers
Starting at grade 10, a battle setting may appear to further test an agent's ability. At the beginning of a battle, a certain weather effect or field effect may be added. As the agent's grade increases, the set of possible battle settings expands. The battle setting is reset at the beginning of each day or when new battle settings are unlocked.
===Grades===
An agent's grade directly determines the level of their borrowed Pokémon and the level of their opponents' Pokémon.
Grade 	Level	Challenges	Festival Coins	Festival Coins	Festival Coins	Battle Settings Unlocked
Grade 	Level	Challenges	1 Win 	2 Wins 	3 Wins 	Battle Settings Unlocked
0 	50 	1 	20 	65 	200 	• None
1 	51 	1 	25 	75 	215 	• None
2 	52 	1 	30 	85 	230 	• None
3 	53 	1 	35 	95 	245 	• None
4 	54 	1 	40 	105 	260 	• None
5 	55 	1 	45 	115 	275 	• None
6 	56 	1 	50 	125 	290 	• None
7 	57 	1 	55 	135 	305 	• None
8 	58 	1 	60 	145 	320 	• None
9(Boss) 	59 	1 	65 	155 	335 	• None
10 	60 	2 	70 	165 	350 	• Harsh sunlight • Rain
11 	61 	2 	75 	175 	365 	• Harsh sunlight • Rain
12 	62 	2 	80 	185 	380 	• Harsh sunlight • Rain
13 	63 	2 	85 	195 	395 	• Harsh sunlight • Rain
14 	64 	2 	90 	205 	410 	• Harsh sunlight • Rain
15 	65 	2 	95 	215 	425 	• Harsh sunlight • Rain
16 	66 	2 	100 	225 	440 	• •
17 	67 	2 	105 	235 	455 	• •
18 	68 	2 	110 	245 	470 	• •
19(Boss)	69 	2 	115 	255 	485 	• •
20 	70 	3 	120 	265 	500 	• •
21 	71 	3 	125 	275 	515 	• •
22 	72 	3 	130 	285 	530 	• •
23 	73 	3 	135 	295 	545 	• •
24 	74 	3 	140 	305 	560 	• •
25 	75 	3 	145 	315 	575 	• •
26 	76 	3 	150 	325 	590 	• •
27 	77 	3 	155 	335 	605 	• •
28 	78 	3 	160 	345 	620 	• •
29(Boss)	79 	3 	165 	355 	635 	• •
30 	80 	4 	170 	365 	650 	• •
31 	81 	4 	175 	375 	665 	• •
32 	82 	4 	180 	385 	680 	• •
33 	83 	4 	185 	395 	695 	• •
34 	84 	4 	190 	405 	710 	• •
35 	85 	4 	195 	415 	725 	• •
36 	86 	4 	200 	425 	740 	• •
37 	87 	4 	205 	435 	755 	• •
38 	88 	4 	210 	445 	770 	• •
39(Boss)	89 	4 	215 	455 	785 	• •
40 	90 	5 	220 	465 	800 	• •
41 	91 	5 	225 	475 	815 	• Extremely harsh sunlight • Heavy rain • Strong winds
42 	92 	5 	230 	485 	830 	• Extremely harsh sunlight • Heavy rain • Strong winds
43 	93 	5 	235 	495 	845 	• Extremely harsh sunlight • Heavy rain • Strong winds
44 	94 	5 	240 	505 	860 	• Extremely harsh sunlight • Heavy rain • Strong winds
45 	95 	5 	245 	515 	875 	• Extremely harsh sunlight • Heavy rain • Strong winds
46 	96 	5 	250 	525 	890 	• Extremely harsh sunlight • Heavy rain • Strong winds
47 	97 	5 	255 	535 	905 	• Extremely harsh sunlight • Heavy rain • Strong winds
48 	98 	5 	260 	545 	920 	• Extremely harsh sunlight • Heavy rain • Strong winds
49(Boss)	99 	5 	265 	555 	935 	• Extremely harsh sunlight • Heavy rain • Strong winds
50(Boss)	100 	- 	270 	565 	935 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
 	 	 	 	 	 	• Extremely harsh sunlight • Heavy rain • Strong winds
===Bosses===
At every 10 grades, starting from grade 9, a boss battle program will be loaded during the third battle of the last challenge. At grade 50, a boss will appear for the third battle every five challenges. If a boss is defeated, the agent will receive a Gold Bottle Cap at the reception desk.
====Before starting Episode RR====
|}
====After starting Episode RR====
|}
==Items==
==Episode RR==
During Team Rainbow Rocket's takeover of Festival Plaza during the prologue to Episode RR, the player is forced to battle a at the Battle Agency. In this battle, the player and their teammates will be treated as having a grade of 0 regardless of what they would normally be, hence all Pokémon in this battle will be level 50. The Grunt always uses the same three Pokémon, which otherwise don't appear anywhere in the Battle Tree or Battle Agency, but they may be sent out in a random order.
|}
==In other languages==
==Related articles==
Category:Ultra Sun and Ultra Moon locations
Category:Battle facilities
de:Kampfagentur
es:Agencia de Combate
fr:Agence de Combat
it:Agenzia Lotta
ja:バトルエージェント
zh:代理人對戰