The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script Showdown Exporter

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.


Reply
 
Thread Tools
  #1    
Old July 6th, 2017 (12:13 PM).
Marin's Avatar
Marin Marin is offline
Not Bored
     
    Join Date: Nov 2016
    Gender: Other
    Posts: 624
    Pokémon Showdown Exporter
    This is a small script to generate text a usable text file in Pokémon Showdown, based on your current party. By calling the method "pbShowdown", you generate the text file and it will be saved to "showdown.txt" in the root folder of your project.


    Get the script here.



    How to use it

    There are two main constants you need to worry about. Those are "SDWN_ALOLAN" and "SDWN_MOVES". Here's what both do.

    • SDWN_ALOLAN: This is a hash of species (in symbols). You will see entries in this format:
      :RATTATA => 1
      This means that if the species that is currently going through the system is of species Rattata and has a form of 1, it will be treated - and exported - as an Alolan form.
    • SDWN_MOVES: Because we're working with Pokémon Essentials, we can very easily make our own moves. That does not apply to Pokémon Showdown, though. Therefore, you can change what your custom moves will be exported as. Here's the format:
      :CUSTOM_MOVE_1 => :TACKLE
      This means that if the move that is going through the system is a :CUSTOM_MOVE_1, it will be exported as :TACKLE.


    Extra info

    As some from the Relic Castle community may know, Cilerba
    made the original Showdown Exporter. Someone else, today, wanted a different one that accounted for Alolan forms as well, so I got in touch with him and rewrote his script to what it is now.



    Credits

    Consider crediting the following people if you are using this script:
    __________________
    If you're looking for me, I'm on Safari Zone.
    Reply With Quote

    Relevant Advertising!

      #2    
    Old January 8th, 2018 (3:50 AM).
    Ddman's Avatar
    Ddman Ddman is offline
       
      Join Date: Sep 2017
      Posts: 20
      Quote:
      Originally Posted by Marin View Post
      Pokémon Showdown Exporter
      This is a small script to generate text a usable text file in Pokémon Showdown, based on your current party. By calling the method "pbShowdown", you generate the text file and it will be saved to "showdown.txt" in the root folder of your project.


      Get the script here.



      How to use it

      There are two main constants you need to worry about. Those are "SDWN_ALOLAN" and "SDWN_MOVES". Here's what both do.

      • SDWN_ALOLAN: This is a hash of species (in symbols). You will see entries in this format:
        :RATTATA => 1
        This means that if the species that is currently going through the system is of species Rattata and has a form of 1, it will be treated - and exported - as an Alolan form.
      • SDWN_MOVES: Because we're working with Pokémon Essentials, we can very easily make our own moves. That does not apply to Pokémon Showdown, though. Therefore, you can change what your custom moves will be exported as. Here's the format:
        :CUSTOM_MOVE_1 => :TACKLE
        This means that if the move that is going through the system is a :CUSTOM_MOVE_1, it will be exported as :TACKLE.


      Extra info

      As some from the Relic Castle community may know, Cilerba
      made the original Showdown Exporter. Someone else, today, wanted a different one that accounted for Alolan forms as well, so I got in touch with him and rewrote his script to what it is now.



      Credits

      Consider crediting the following people if you are using this script:
      Marin I done many features in my Pokemon fan game apart from UPI(Universal Plugin Insataller) So if you hire I will add that new features to UPI
      Reply With Quote
        #3    
      Old January 8th, 2018 (4:59 PM).
      Marin's Avatar
      Marin Marin is offline
      Not Bored
         
        Join Date: Nov 2016
        Gender: Other
        Posts: 624
        Quote:
        Originally Posted by Ddman View Post
        Marin I done many features in my Pokemon fan game apart from UPI(Universal Plugin Insataller) So if you hire I will add that new features to UPI
        Uhhh... could you maybe rewrite that in proper English? I don’t know what you mean.
        __________________
        If you're looking for me, I'm on Safari Zone.
        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

        Sponsored Links
        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 2:55 AM.