Fandom

Pokémon Essentials Wiki

PC

229pages on
this wiki
Add New Page
Talk4 Share

This article describes the PC and its functions, except for Pokémon storage.

See also Edit

Poké Center

  • There is a PC in all Poké Centers.

Bag

  • 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
  • Mailbox

To access the player's PC, use the following script:

pbTrainerPC

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:

If $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:

pbPokeCenterPC

The scripts that handle the use of the communal PC are at the bottom of the script section PokemonStorage.

Functions Edit

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

ItemStorage

The item storage screen.

Items stored in the PC are stored in an array. That array is called $PokemonGlobal.pcItemStorage.

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.

Mailbox Edit

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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.