This article describes the PC and its functions, except for Pokémon storage.
See also Edit
- There is a PC in all Poké Centers.
- Items are stored in the Bag when they aren't in the PC.
The player's PC Edit
The player's PC is typically only found in the player's bedroom. It contains the following options:
- Item Storage
To access the player's PC, use the following script:
The scripts that handle the use of the player's PC are at the bottom of the script section PokemonStorage.
The communal PC Edit
The communal PC is typically found in Poké Centers, as well as certain other locations. It contains the following options:
$PokemonGlobal.seenStorageCreator is FALSE, then the first option will be called "Someone's PC" instead. If it is TRUE, then the name returned by the def
pbStorageCreator (in the script section Settings) is used (or is "Bill" if undefined).
The "Player's PC" option will be named after the player (e.g. "Red's PC"). It accesses the player's PC as described above.
The "Purify Chamber" option will only appear if
$PokemonGlobal.seenPurifyChamber is TRUE.
To access the communal PC, use the following script:
The scripts that handle the use of the communal PC are at the bottom of the script section PokemonStorage.
Pokémon storage Edit
- Main article: Pokémon storage
Pokémon can be stored in the PC. If a Pokémon is obtained while the player's party is full, it will be sent to the PC automatically.
Item storage Edit
Items stored in the PC are stored in an array. That array is called
The array that records which items have been stored has 50 slots, with each slot able to hold up to 999 copies of that slot's item. Both of these values are set in the script section PokemonBag, in the class
PCItemStorage. When the array is first created, it will contain a Potion.
Any item can be stored, even important items such as HMs or Key Items.
The scripts that display the item storage screen itself are located in the script section PokemonBag.
Purify Chamber Edit
- Main article: Shadow Pokémon
Once the player has been shown the Purify Chamber (by setting
$PokemonGlobal.seenPurifyChamber to TRUE), it will be accessible from any communal PC.