• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

How can I can make Trainer's pokemon a variable?

3
Posts
8
Years
    • Seen Apr 2, 2016
    Hey Guys, I need help, I want to trainer's pokemon's level to be a variable and not a single number.
    I mean, I want to make gym leaders' pokemons a little stronger by leveling them up and theirs levels will depend of our pokemon's level, something like this:

    Code:
    poke=$Trainer.party[0]
    pokemon=PokeBattle_Pokemon.new(:MAGIKARP,poke.level,$Trainer)
    pbAddPokemon(pokemon)

    With that code the event gives me a Magikarp with the same level of my first pokemon, I want to do the same with trainers but I can't.
    I hope you can help me.
    Thanks
     
    46
    Posts
    10
    Years
    • Seen Jan 19, 2017
    you can try to use custom trainer by Stochastic.
    And make a trainer event like this
    wtem4IO.png
     
    1,224
    Posts
    10
    Years
  • Hey Guys, I need help, I want to trainer's pokemon's level to be a variable and not a single number.
    I mean, I want to make gym leaders' pokemons a little stronger by leveling them up and theirs levels will depend of our pokemon's level, something like this:

    Code:
    poke=$Trainer.party[0]
    pokemon=PokeBattle_Pokemon.new(:MAGIKARP,poke.level,$Trainer)
    pbAddPokemon(pokemon)

    With that code the event gives me a Magikarp with the same level of my first pokemon, I want to do the same with trainers but I can't.
    I hope you can help me.
    Thanks

    There are trainer modifiers in the PField_EncounterModifiers section, as of v15.1+
     
    Back
    Top