• 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.
  • The forums will be going offline starting at 9:00 am PST, 12:00 pm EST, 4:00 pm UTC, 5:00 pm BST. Please check our socials for an announcement when the website will come back online!
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