• 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.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Trade Item for Pokemon (Event)

Resource Trade Item for Pokemon (Event) 1

AiurJordan

twitch.tv/aiurjordan
Member
Joined
Aug 10, 2019
Posts
83
AiurJordan submitted a new resource:

Trade Item for Pokemon (Event) - EventScript

Since this function is not included in any events in the base essentials I wanted to include this.

This is a simple event process that I needed, with some help from Golisopod User I got it working.

It's very simple, it just exchanges a Pokemon for an Item, and prevents the user from selecting an egg or untradable (Shadow) pokemon. It also prevents the user from selecting a Pokemon which is not PICHU.

EVENT CODE:
Expand Collapse Copy
@>Text: I'm hunting for a...

Read more about this resource...
 

GunnarS

Rookie
Member
Joined
Jun 2, 2020
Posts
6
Hey there, I have been trying to implement this into my game, but am running into an issue which I'm pretty sure is the following script "Conditional Branch: Script: pbSet(2,pbGetPokemon(1).species,PBSpecies,:PIKACHU)"

Not sure what I am doing incorrectly, but any advise would be appreciated. Thanks in advance.


1652389605241.png


1652389741496.png
 
Back
Top