Game Development Your number one stop for anything related to creating games (except ROM hacks). You can even make your own!

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old May 20th, 2018 (5:30 AM).
DahDuskull DahDuskull is offline
     
    Join Date: Jun 2017
    Posts: 4
    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?
    Reply With Quote
      #2   Link to this post, but load the entire thread.  
    Old May 20th, 2018 (6:21 AM). Edited May 20th, 2018 by GT-Baka.
    GT-Baka GT-Baka is offline
       
      Join Date: Jul 2008
      Posts: 75
      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?
      Reply With Quote
      Reply

      Quick Reply

      Join the conversation!

      Create an account to post a reply in this thread, participate in other discussions, and more!

      Create a PokéCommunity Account
      Ad Content
      Thread Tools

      Posting Rules
      You may not post new threads
      You may not post replies
      You may not post attachments
      You may not edit your posts

      BB code is On
      Smilies are On
      [IMG] code is On
      HTML code is Off

      Forum Jump


      All times are GMT -8. The time now is 4:48 PM.