• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Question] Pokemon Essentials Duels?

4
Posts
6
Years
  • Age 30
  • Seen Jul 6, 2018
I am trying to implement duels into my game, and I tried to use the script provided in the wiki:
Kernel.pbDuel(PBTrainers::LEADER_Surge,"Gym Leader",get_character(0),$speeches)
but it does not work, am I doing something wrong? Should I change something?
 
277
Posts
15
Years
Try this:
pbTriadDuel("Lt. Surge",0,5,nil,[:PIKACHU,:RAICHU,:ELECTRODE,:ELECTABUZZ,:ZAPDOS])

There are a few example events for you to look at in the Cedolan Game Corner.


Sorry about that, I forgot there was another type of duel in Essentials.

Kernel.pbDuel(:BLACKBELT,"Dan",get_character(0),$speeches)
This is what is used on the example map on route 7, try removing "PBTrainers:"

Do you have the 12 speeches set up before the duel?
 
Last edited:
Back
Top