Thread: [Question] How to trade shiny pokemon
View Single Post
  #3    
Old October 10th, 2012 (06:07 AM). Edited October 10th, 2012 by julixl.
julixl's Avatar
julixl
Female Master
 
Join Date: Dec 2011
Gender: Female
Nature: Timid
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