View Single Post
  #4    
Old March 28th, 2012, 11:50 AM
TACHAN
 
Join Date: Jan 2010
Gender: Female
Thank you, but I believe that it me will not work.

I put this in an event to obtain random Eggs in a lottery
Quote:
i=rand(247)
Kernel.pbGenerateEgg(
PBSpecies::CATERPIE,1
)if i==0
Kernel.pbGenerateEgg(
PBSpecies::WEEDLE,1
) if i==1
Kernel.pbGenerateEgg(
PBSpecies:IDGEY,1
)if i==2
Or for this:
Quote:
p=PokeBattle_Pokemon.new(
PBSpecies::ARCEUS,100,$Trainer
)
# Arceus Eigakan Event
pbAutoLearnMove(p,PBMoves::JUDGMENT)
pbAutoLearnMove(p,PBMoves::ROAROFTIME)
pbAutoLearnMove(p,PBMoves:PACIALREND)
pbAutoLearnMove(p,PBMoves:HADOWFORCE)
# Add the Pokemon
$Trainer.party.push(p)
I need it for these two things.