• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Resource icon

v21.1 Trading From PC Boxes V1.1

This resource pertains to version 21.1 of Pokémon Essentials.
I've streamlined the process a little bit, to make it more efficient and easier to call for trades.
Changes:
Initialization of the Trading Process:

To initiate a trade, you can use the pbChoosePokemonForTradePC method with the chosen Pokémon species. For example:

pbChoosePokemonForTradePC(:RATTATA)

Finalization of the Trading Process:

To complete the trade, use the pbStartTradePC method with the following parameters. Most of them are optional:

pbStartTradePC(:HAUNTER, _I("HaHa"), _I("Andrea"), 1)

  • The first argument is the Pokémon species you want to trade (required).
  • The second argument is the nickname of the traded Pokémon. If left empty, it defaults to the Pokémon's name.
  • The third argument is the trainer name (OT Name) for the traded Pokémon. If left empty, it defaults to the Event's name.
  • The fourth argument is the gender of the traded Pokémon, defaulted to 0 (Male).
If you wish to change a specific argument, simply pass nil for the other optional arguments. For example:

pbStartTradePC(:HAUNTER, nil, _I("Jim"))

This means you're changing the trainer name to "Jim" while keeping the default nickname and gender.

You can also use a minimal call like this:

pbStartTradePC(:HAUNTER)

This will use defaults for the nickname (Pokémon's name), trainer name (Event's name), and gender (Male). Not all arguments need to be filled, but if you pass an argument, it must be provided. For example, pbStartTradePC(:HAUNTER, _I("Boo")) will set the nickname to "Boo" while using defaults for the other parameters.
Back
Top