- 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:
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
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