Dungeons

Dungeons include forests, caves, buildings, and other places that are accessible by spending Dungeon Tokens in which wild Pokémon are encountered. Apart from the entrance fee, they differ from routes in that only 60 seconds are given to find and defeat a "Boss Pokémon" or "Boss Trainer", after which the dungeon is considered cleared.

General Dungeon Information
Clearing Dungeons requires active play. To enter a dungeon, select it on the Town Map and either click "Start" or press the Spacebar on the keyboard. Dungeons can be navigated either by clicking on the dungeon tiles or by using the arrow keys or WASD keys. Only unexplored tiles adjacent to explored tiles can be accessed. Moving to unexplored tiles in dungeons can reveal one of 4 things: Note: Amulet coin and other items that grant increased amounts of do not affect the amount of money that you receive from Dungeon Trainers or Dungeon Trainer Bosses.
 * 1) Empty tiles - You can simply move onto next tile without having to do anything.
 * 2) A Wild Pokémon - Just like routes, these are Pokémon you can defeat and catch. Some Pokémon can only be found in specific dungeons.
 * 3) Dungeon boss - This Pokémon must be defeated to clear the dungeon. It has more HP than normal encounters in any dungeon. You can either click "Start Bossfight" or press the Spacebar to start the fight.
 * 4) A chest - Many Items can be collected from chests by either clicking on them or by pressing the Spacebar. See Chest in Dungeons for more details
 * 5) A trainer - Trainers are found on tiles and have teams of Pokémon that must all be defeated to progress. Wild Pokémon are almost always ~4 times more likely to appear on an enemy tile than a trainer, but in some dungeons this weighting is different. Defeating trainers yields the following rewards:
 * 6) * Dungeon Trainers reward 4% of the dungeon cost as Dungeon Tokens and 50% of the dungeon cost as Poké Dollars  whenever they are defeated.
 * 7) * Dungeon Trainer Bosses reward 10% of the dungeon cost as Dungeon Tokens and 100% of the dungeon cost as Poké Dollars  whenever they are defeated.

Dungeon Size Reduction
Certain perks are granted to the player after clearing a Dungeon some number of times - these perks make clearing that particular Dungeon easier. When the number of clears reaches a power of ten (10, 100, 1000, etc.), the Dungeon size will shrink by 1 row and 1 column to a minimum of 5x5. For example, a Hoenn dungeon cleared 100 times will now be a 5x5 sized Hoenn Dungeon instead of the base 7x7 sized Hoenn Dungeon.

The number of each type of tile decreases with the size of the dungeon. All dungeons will be square. Here is the breakdown of each type of tile based on size: For an NxN dungeon there are: $$\colorbox{White}{$ \text{1 Boss Encounter Tile}$}$$ $$\colorbox{White}{$ \text{N Chest Tiles}$}$$ $$\colorbox{White}{$ \text{2*N+3 Non-Boss Encounter Tiles}$}$$ $$\colorbox{White}{$ \text{(N+1)*(N-4) Empty Tiles}$}$$ Note: The entrance tile counts as an empty tile

Flash Ability
A Dungeon that is cleared 200 times will unlock the Flash ability. The Flash ability permanently reveals the contents (Chest, Encounter, Empty) of adjacent unexplored tiles.

Chests in Dungeons
When a number of chests equal to a third of the dungeon's size rounded down are opened (for example, 2 chests in a 6x6 dungeon), all chest tiles are revealed. When a number of chests equal to half the dungeon's size rounded up are opened, the entire dungeon is revealed. However, each chest opened will also increase the HP of all encounters in the dungeon by 20%.

The individual Dungeon pages have Loot tables that list the drop chances of items from Dungeon Chests. It becomes slightly more likely for rarer items (those listed with lower weights and drop percentages) to drop with each additional dungeon clear, up to the maximum chance listed in the table at 500 clears. If there is a requirement listed for an item, that requirement must be met first before the item has any chance of dropping from a chest.

Dungeon Loot Regional Debuff
When the furthest region reached is greater than 2 regions beyond a dungeons region, all loot of a tier rarity lower than Rare has its drop rate dramatically decreased. For example: if the furthest region reached by the player in the game is Alola, then all loot below tier Rare in Dungeons from before Unova, (i.e. Kanto-Sinnoh), would be affected by the debuff.


 * Example 1: Viridian Forest has four dungeon chest drops. Two of those, Small Restore and Pokéball, have weights less than 2. After reaching Sinnoh, all three of those loot drop items would be impacted by the Dungeon Loot Regional Debuff and would become roughly 20x as rare. The odds of finding these three items still increases marginally with increasing dungeon clears - dungeon clears always decrease the chance of finding the highest tier items up to 500 clears. However, in general it is much better to go for drops before you are affected by the debuff.

Tier
Dungeon chest loot is classified as belonging to a specific Tier of loot in a Dungeon. The Tier of a loot-able item indicates the Rarity of obtaining that item from a Chest. Loot is classified into 5 tier types: Common, Rare, Epic, Legendary and Mythic from least rare to most rare. Additionally, loot items can have weights inside of their tier. Items with a higher weight in a tier have greater odds of dropping than lower weight items in a tier. Loot items have a base weight of 1. The below table explains the cumulative chance of finding an item in a particular tier.

Note: Dungeons that lack any items in a particular loot tier have the remaining odds from the non-present tier(s) distributed proportionally among the present tiers


 * Example 1: Mt. Moon has XClick and Greatball as 2 of its 5 lootable items from Dungeon chests. The XClick is in the Common Tier while the Greatball has the Mythic Tier. This means that the XClick is much likely to drop from a chest than a Greatball.
 * Example 2: Mt. Moon has Greatball, Small Restore and Star Piece as 3 of its 5 lootable items from Dungeon chests. All 3 items are in the Mythic tier, but the Greatball Has Weight 2 while the Small Restore and Star Piece have the base weight of 1. This means the Greatball will be twice as likely to be dropped as the other 2 items. In other words, on average when an item looted from Mt. Moon is from the Mythic Tier, 50% of the time it will be a Greatball, 25% of the time it will be a Small Restore, 25% of the time it will be a Star Piece.

Dowsing Machine
The Dowsing Machine increases the yield of items looted from Dungeons. The amount of items looted depends on both the region of the dungeon, and the Tier of the looted item. See Dowsing Machine for more information.

Kanto
Dungeons in Kanto are 5x5 in size (25 tiles in total), contain 5 chests, 13 non-boss encounters, and 6 empty tiles.

Johto
Dungeons in Johto are initially 6x6 in size (36 tiles in total), contain 6 chests, 15 non-boss encounters, and 14 empty tiles.

Hoenn
Dungeons in Hoenn are initially 7x7 in size (49 tiles in total), contain 7 chests, 17 non-boss encounters, and 24 empty tiles.

Sinnoh
Dungeons in Sinnoh are initially 8x8 in size (64 tiles in total), contain 8 chests, 19 non-boss encounters, and 36 empty tiles.

Unova
Dungeons in Unova are initially 9x9 in size (81 tiles in total), contain 9 chests, 21 non-boss encounters, and 50 empty tiles.

Kalos
Dungeons in Kalos are initially 10x10 in size (100 tiles in total), contain 10 chests, 23 non-boss encounters, and 77 empty tiles.

Alola
Dungeons in Alola are 11x11 in size (121 tiles in total), contain 11 chests, 25 non-boss encounters, and 84 empty tiles.

Trivia
To complete all dungeon achievements, you would need the following number of Dungeon tokens.