• 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.

How to trade shiny pokemon

julixl

Female Master
28
Posts
12
Years
  • Seen Mar 18, 2013
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...
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
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.
 

julixl

Female Master
28
Posts
12
Years
  • Seen Mar 18, 2013
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):4: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):4:in `type'wrong number of arguments(1 for 0)

***Full script:

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


Interpreter:243:in `pbExecuteScript'

(eval):4:in `pbExecuteScript'

(eval):2: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):1:in `pbExecuteScript'

What should I do?
 
Last edited:

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
...setting its shininess is no different - just use p.makeShiny.

Code:
p=PokeBattle_Pokemon.new(PBSpecies::
SANDSLASH,
  pbGetPokemon(1).level,[COLOR=Green]$trainer[/COLOR])
[COLOR=Red]p.MakeShiny[/COLOR]
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.


[/code]pbChoosePokemon(1,2,
proc {|poke|
!poke.egg? and
(poke.type 1==PBTypes::SOUND or
poke.type 2==PBTypes::SOUND)
})[/code]
Again, use what I said. There should be no spaces in the red part.
 

julixl

Female Master
28
Posts
12
Years
  • Seen Mar 18, 2013
yep. It worked.
and other question. How can I change the animtion of shiny pokemon? I've modified the ''Common:Shiny'' Animation, but it didn't worked...
Sorry for being a troublemaker...
PD: I've run the editor and it didn't work...
 
Last edited:

julixl

Female Master
28
Posts
12
Years
  • Seen Mar 18, 2013
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!
 

FL

Pokémon Island Creator
2,441
Posts
13
Years
  • Seen yesterday
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".
 
Back
Top