Secret Base
A secret base is a special area in Generation III and Generation IV where players can hide out. Between the two generations, most of the similarities found are in the way that they can be decorated.
Generation III
Spread across the Hoenn region are caves, trees, and bushes which are perfect to hold a secret base for any Pokémon trainer. These locations can be opened when a Pokémon uses the move Secret Power at: a wall with a small indent; a tree with vines; or where a clump of grass may be moved.
A trainer may decorate their secret base with big and small dolls, mats, desks, chairs, plants, cushions, posters and ornaments, filling the base with up to 16 decorations inside. Some of the items may also be used for the Players Room.
If two players mix records, their secret bases copy over, as well as the bases of anyone else they've mixed records with. Entering one of these bases reveals a trainer who represents another player, including their trainer name, secret base decorations, and Pokémon team at the time of record mixing without its nicknames. Once the player has beaten the Elite Four this trainer can be challenged to a battle once a day. It is not like a Battle Tower battle, but rather like a normal battle, where items can be used and Pokémon seen will be registered on the PokéDex.
A trainer can run in any secret base, but cannot ride a bike.
A boy in Mossdeep City reminds a player of where their own secret base is located.
Generation IV
In Sinnoh, there is a vast underground system of tunnels where players can, among other things, build a secret base by drilling into the wall. Instead of mixing records and challenging an NPC with the other player's team, however, players can find each other in the underground itself and race to capture each other's flags, if they are near enough to each other for DS-to-DS wireless communication. Capturing several flags will award players with upgrades, such as the ability to clear rocks found inside secret bases and various radars for locating traps, spheres and treasure in the underground.
Also, in Pokémon Platinum, when the player arrives at the Resort Area, he/she will be shown into a house of his/her own. It can be then used as a secret base. It will, however, also be visited by others like the Sinnoh Gym Leaders, Professor Rowan, his assistant, the player's rival, and the player's mom. It is unknown if the underground secret bases will be retained.