• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Eventing Question] Giving a specific form

mybusiness

Guest
  • 0
    Posts
    How do you give the player a Blue-Striped Basculin, provided that this Blue-Striped is form 1 in pokemonforms.txt?
     
    more example:

    Code:
    p=PokeBattle_Pokemon.new(:NECROZMA,70,$Trainer)
    $Trainer.badges[0]=true
    $Trainer.badges[1]=true
    $Trainer.badges[2]=true
    $Trainer.badges[3]=true
    $Trainer.badges[4]=true
    $Trainer.badges[5]=true
    $Trainer.badges[6]=true
    $Trainer.badges[7]=true
    p.setItem(:ULTRANECROZIUMZ2)
    p.form=1
    p.setNature(:ADAMANT)
    #p.setAbility(2)   #Hidden Ability always will be (2)
    p.iv=[31,31,31,31,31,31]
    p.pbLearnMove(:PHOTONGEYSER)
    p.pbLearnMove(:SUNSTEELSTRIKE)
    p.ballused=26 # Beast Ball
    p.calcStats
    Kernel.pbAddPokemon(p)
     
    Back
    Top