• 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.
Resource icon

v21.1 Trading From PC Boxes V1.1

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
Are you tired of the hassle of having to cancel a trade, navigate to your PC, retrieve a Pokémon, place it in your party, and then return to complete the trade with an NPC? This plugin offers a solution. With it, you can access your Pokémon Storage screen during trades, eliminating the need for that extra step when trading with non-player characters.

This plugin integrates seamlessly with Pokémon Essentials and does not interfere with any custom changes you may have made to your project. It also supports the Charm Case plugin, providing modifications to traded Pokémon when it's installed.

Usage:

  1. pbChoosePokemonForTradePC(:RATTATA)
    • This function allows you to choose a Pokémon for trading. -changed to not require variables
    • Example: To request a Rattata for trading, use this function with the desired variable numbers.
  2. pbStartTradePC( :HAUNTER, _I("HaHa"), _I("Andrea"), 1)
    • Initiate a trade by providing details like the species, nickname for the incoming Pokémon, and the trainer's name for the incoming Pokémon.
    • Example: After using pbChoosePokemonForTradePC, call this function to commence the trade.
With V1.1, in pbStartTradePC the variables has been taken out.
The new second, third, and fourth arguments are now optional.
Trades can now be started with a minimal:
pbStartTradePC(:HAUNTER)
If going the minimal route, the nickname will default to the pokemons name, Haunter.
The trainer name will default to the events name. In the example picture, the event is named "Gent" so trading with him will return a pokemon with OT name "Gent".
The trainer Gender by default is 0(Male).
If you want to change arguments 3 or 4, you must fill out the previous arguments with "nil".
Ex: pbStartTradePC(:HAUNTER, nil, "Sarah", 1)
Feel free to refer to the Pokémon Essentials Trading Page for any additional questions about trading or related mechanics. Enjoy smoother and more convenient trading with this useful plugin!

I've tested on V20.1, and V21.1. I did have an issue with a fresh install of V21, so I'm thinking the Hotfix may be required to run properly. Will further test and update accordingly.

Please let me know on the discussion page or feel free to DM me if you run into any issues, or have any suggestions to better improve the Plugin.
Thanks!

ToDo:
As listed above, finding the necessary Plugin required.
Cleaning up the code a bit. Not as clean as I'd like it.
Thinking about trying to grey out the Pokemon in the box, other than the "Wanted" Pokemon for ease of selection.
Credits
Dr.Doom76
  • Gent.png
    Gent.png
    51.6 KB · Views: 169
  • Trade.png
    Trade.png
    16.3 KB · Views: 170
Author
drdoom76
Downloads
510
Views
1,343
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from drdoom76

Latest updates

  1. V1.1

    I've streamlined the process a little bit, to make it more efficient and easier to call for...
Back
Top