Thread: [Question] How to trade shiny pokemon
View Single Post
  #4    
Old October 10th, 2012 (09:02 AM).
Maruno's Avatar
Maruno Maruno is online now
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,160
Quote originally posted by Maruno:
...setting its shininess is no different - just use p.makeShiny.
Quote originally posted by julixl:
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:
[/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.
__________________
Reply With Quote