- Pokémon Essentials Version
- v21.1 ✅
A simple script that adds offline Wonder Trade like functionality, that is dependant on the base stat total of the species that get traded. Contains preset dialogue which add a little more flavour to the trades.
Instead of simply randomly generating a new Pokemon for you to receive, it decides which Pokemon you get based on the base stat total of the Pokemon species. This ensures that you'll always get a Pokemon that is as viable in battle as the Pokemon you're giving up for trade. There isn't really much else for me to say here except that the script gets called from an event via the script:
Where the
Instead of simply randomly generating a new Pokemon for you to receive, it decides which Pokemon you get based on the base stat total of the Pokemon species. This ensures that you'll always get a Pokemon that is as viable in battle as the Pokemon you're giving up for trade. There isn't really much else for me to say here except that the script gets called from an event via the script:
tradeExpert(margin)
Where the
margin
value would be a percentage offset (increase and decrease) of an acceptable base stat total. This value can be omitted. By default it is set to 0.1 which means that the base stat total for the new Pokemon you're about to receive will be anywhere in the range of 90% - 110% of the base stat total value of the Pokemon you're giving up for trade. There is also a little 'anti-abuse' mechanism which prevents the player from just talking to the Trading Expert and cancelling out of the selection until they get a Pokemon they want to trade. Once the Trade Expert offers you a Pokemon, you will be locked into that Pokemon for any future trades where the base stat total of your species would be the same.- Credits
- Luka S.J.
A.I.R