• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

[Scripting Question] Is there way to start the player off with a full team?

  • 2
    Posts
    5
    Years
    • Seen May 31, 2019
    Hello! I'm very new here and this is my first post, so sorry if this isn't the right place to ask this question.

    I recently downloaded Pokemon Essentials and have been learning how to properly use it. I was wondering if there is anyway to start of the player with a full team of nicknamed pokemon. Like, the second the intro cutscene ends, I want to be able to open the menu and look at a predetermined team.
    Any help or suggestions would be greatly appreciated!
     
    Inside \PN's house map, player's mother haves a script that create a party to you. Check.

    Also, to put an nickname, just put inside the script '.name=Blablabla':
    Code:
    # For demonstration purposes only, not to be used in a real game.
    def pbCreatePokemon
      party = []
      species = [:PIKACHU,:PIDGEOTTO,:KADABRA,:GYARADOS,:DIGLETT,:CHANSEY]
      for id in species
        party.push(getConst(PBSpecies,id)) if hasConst?(PBSpecies,id)
      end
      # Species IDs of the Pokémon to be created
      for i in 0...party.length
        species = party[i]
        # Generate Pokémon with species and level 20
        $Trainer.party[i] = PokeBattle_Pokemon.new(species,20,$Trainer)
        $Trainer.seen[species]  = true # Set this species to seen and owned
        $Trainer.owned[species] = true
        pbSeenForm($Trainer.party[i])
      end
      $Trainer.party[1].pbLearnMove(:FLY)
      $Trainer.party[2].pbLearnMove(:FLASH)
      $Trainer.party[2].pbLearnMove(:TELEPORT)
      $Trainer.party[3].pbLearnMove(:SURF)
      $Trainer.party[3].pbLearnMove(:DIVE)
      $Trainer.party[3].pbLearnMove(:WATERFALL)
      $Trainer.party[4].pbLearnMove(:DIG)
      $Trainer.party[4].pbLearnMove(:CUT)
      $Trainer.party[4].pbLearnMove(:HEADBUTT)
      $Trainer.party[4].pbLearnMove(:ROCKSMASH)
      $Trainer.party[5].pbLearnMove(:SOFTBOILED)
      $Trainer.party[5].pbLearnMove(:STRENGTH)
      $Trainer.party[5].pbLearnMove(:SWEETSCENT)
      for i in 0...party.length
        $Trainer.party[i].pbRecordFirstMoves
      end
    end

    In case, '$Trainer.party[1].nickname=Mimimi'. The player will have an PIDGEOTTO called by Mimimi. $Trainer.party[0] will be the first pokemon (PIKACHU in case).
     
    Back
    Top