The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
How to trade shiny pokemon

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old October 9th, 2012 (12:45 PM).
julixl's Avatar
julixl julixl is offline
Female Master
     
    Join Date: Dec 2011
    Gender: Female
    Nature: Timid
    Posts: 28
    as the title says, I need to find out how to trade shiny pokemon.
    and instead of trading according to the species, trade according to the type.
    And I think this is the correct forum to put this.
    I DON'T WANT TO BE SHUT DOWN AGAIN BY THOSE MODERATORS!
    Oh! and I didn't understand the ''trading pokemon'' page in the pkmn essentials wiki...
    __________________
    I support:
    Pokemon Aqua blue version



    ''Someone told me long ago I was strange, but then I realized
    I'm not strange, YOU are common''
    Reply With Quote

    Relevant Advertising!

      #2    
    Old October 9th, 2012 (2:43 PM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
       
      Join Date: Jan 2008
      Location: England
      Posts: 5,173
      I have attached a screenshot of part of an example trading event which will be in the next Essentials. It shows how to predefine a Pokémon (referred to as "p"), modify it and then trade for it. Copy it and you won't go far wrong. This example sets several properties of the Pokémon, and setting its shininess is no different - just use p.makeShiny.

      The second screenshot I have attached shows how to require that the player's Pokémon (which they are trading away) have a particular type rather than be of a particular species. In this example, it needs to be a Water Pokémon.
      Attached Thumbnails
      adv trading.png‎   adv trading 2.png‎  
      __________________
      Go to the Pokémon Essentials Wiki

      | Downloads | Tutorials | Fangames |
      | All Animations Project |

      Follow me on Twitter: @maruno42


      Reply With Quote
        #3    
      Old October 10th, 2012 (6:07 AM). Edited October 10th, 2012 by julixl.
      julixl's Avatar
      julixl julixl is offline
      Female Master
         
        Join Date: Dec 2011
        Gender: Female
        Nature: Timid
        Posts: 28
        I understand better, but some errors show up:

        Trading shiny Sandslash:
        Error de Script Interpreter en la línea 276 de tipo 'RuntimeError'.

        Script error within event 6, map 11 (Mini town):

        Exception: NoMethodError

        Message: (eval)in `pbExecuteScript'undefined method `MakeShiny' for #<PokeBattle_Pokemon:0x3928f80>

        ***Full script:

        p=PokeBattle_Pokemon.new(PBSpecies::
        SANDSLASH,
        pbGetPokemon(1).level,$trainer)
        p.MakeShiny
        p.setNature(PBNatures::ADAMANT)

        pbStartTrade(pbGet(1),p,"Doris","Ayana",1)


        Interpreter:243:in `pbExecuteScript'

        Interpreter:1599:in `eval'

        Interpreter:243:in `pbExecuteScript'

        Interpreter:1599:in `command_355'

        Interpreter:494:in `execute_command'

        Interpreter:193:in `update'

        Interpreter:106:in `loop'

        Interpreter:198:in `update'

        Scene_Map:103:in `update'

        Scene_Map:101:in `loop'

        Particular type:
        Error de Script Interpreter en la línea 276 de tipo 'RuntimeError'.

        Script error within event 6, map 11 (Mini town):

        Exception: ArgumentError

        Message: (eval)in `type'wrong number of arguments(1 for 0)

        ***Full script:

        pbChoosePokemon(1,2,
        proc {|poke|
        !poke.egg? and
        (poke.type 1==PBTypes:OUND or
        poke.type 2==PBTypes:OUND)
        })


        Interpreter:243:in `pbExecuteScript'

        (eval)in `pbExecuteScript'

        (eval)in `call'

        PokemonParty:1261:in `pbChooseAblePokemon'

        PokemonParty:1260:in `each'

        PokemonParty:1260:in `pbChooseAblePokemon'

        PokemonUtilities:1806:in `pbChoosePokemon'

        PokemonUtilities:1802:in `pbFadeOutIn'

        PokemonUtilities:1802:in `pbChoosePokemon'

        (eval)in `pbExecuteScript'

        What should I do?
        __________________
        I support:
        Pokemon Aqua blue version



        ''Someone told me long ago I was strange, but then I realized
        I'm not strange, YOU are common''
        Reply With Quote
          #4    
        Old October 10th, 2012 (9:02 AM).
        Maruno's Avatar
        Maruno Maruno is offline
        Lead Dev of Pokémon Essentials
           
          Join Date: Jan 2008
          Location: England
          Posts: 5,173
          Quote:
          Originally Posted by Maruno View Post
          ...setting its shininess is no different - just use p.makeShiny.
          Quote:
          Originally Posted by julixl View Post
          Code:
          p=PokeBattle_Pokemon.new(PBSpecies::
          SANDSLASH,
            pbGetPokemon(1).level,$trainer)
          p.MakeShiny
          p.setNature(PBNatures::ADAMANT)
          
          pbStartTrade(pbGet(1),p,"Doris","Ayana",1)
          You should use exactly what I said. I didn't capitalise the m in p.makeShiny, so neither should you. Yes, it's important.

          The same goes for $Trainer. Capital T.


          Quote:
          Originally Posted by julixl View Post
          [/code]pbChoosePokemon(1,2,
          proc {|poke|
          !poke.egg? and
          (poke.type 1==PBTypes:OUND or
          poke.type 2==PBTypes:OUND)
          })[/code]
          Again, use what I said. There should be no spaces in the red part.
          __________________
          Go to the Pokémon Essentials Wiki

          | Downloads | Tutorials | Fangames |
          | All Animations Project |

          Follow me on Twitter: @maruno42


          Reply With Quote
            #5    
          Old October 11th, 2012 (4:52 AM). Edited October 11th, 2012 by julixl.
          julixl's Avatar
          julixl julixl is offline
          Female Master
             
            Join Date: Dec 2011
            Gender: Female
            Nature: Timid
            Posts: 28
            yep. It worked.
            and other question. How can I change the animtion of shiny pokemon? I've modified the ''Commonhiny'' Animation, but it didn't worked...
            Sorry for being a troublemaker...
            PD: I've run the editor and it didn't work...
            __________________
            I support:
            Pokemon Aqua blue version



            ''Someone told me long ago I was strange, but then I realized
            I'm not strange, YOU are common''
            Reply With Quote
              #6    
            Old October 29th, 2012 (1:28 PM).
            julixl's Avatar
            julixl julixl is offline
            Female Master
               
              Join Date: Dec 2011
              Gender: Female
              Nature: Timid
              Posts: 28
              looks like you haven´t response in a long time...
              Can you please help me a little?
              How can you change the sound when you CATCH pokémon?
              not when you win, just when you catch them.
              THX!
              __________________
              I support:
              Pokemon Aqua blue version



              ''Someone told me long ago I was strange, but then I realized
              I'm not strange, YOU are common''
              Reply With Quote
                #7    
              Old November 7th, 2012 (5:17 AM).
              FL's Avatar
              FL FL is offline
              Pokémon Island Creator
                 
                Join Date: Sep 2010
                Gender: Male
                Posts: 1,687
                Quote:
                Originally Posted by julixl View Post
                looks like you haven´t response in a long time...
                Can you please help me a little?
                How can you change the sound when you CATCH pokémon?
                not when you win, just when you catch them.
                THX!
                Use Crtl+Shift+F on scripts with the SE name, this case "Jingle - HMTM".
                __________________
                Reply With Quote
                Reply
                Quick Reply

                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 12:33 PM.