Thread: [Question] How to trade shiny pokemon
View Single Post
  #4    
Old October 10th, 2012, 09:02 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
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.
__________________
Reply With Quote