View Single Post
  #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,189
    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