• 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 results of the game jam are out!
    See the Judge's Spotlight choices and vote for your favorites to win Community Choice Spotlight by the 28th! 🫙
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have 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...
 
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