- 1
- Posts
- 8
- Years
- Seen Aug 22, 2019
Hello, I have been trying to figure something out for days and have yet to find a solution either by myself or in the forums.
I am trying to get the Master Trainer system from the Let's GO games to work in essentials, but I am having difficulties.
The first hurdle is figuring out how to check for the same pokemon in the party. So far I have come up with using $Trainer.pokemonParty[0].species==PBSpecies::BLAZIKEN and doing it specifically for each Master Trainer, but that seems tedious, and I think it would be simpler if I could have a variable with a number for the kind of pokemon, and it checks if a pokemon in the party matches that number. Then I can change just the variable instead of 6 different scripts each time.
The second, and biggest hurdle, is that I cannot for the life of me find a way to have the player choose their pokemon, Blaziken in this case, and then remove all other party members, storing in a "game_variables" until the battle it done so I can give them back.
If anyone can help me with these problems, it would be greatly appreciated.
I am trying to get the Master Trainer system from the Let's GO games to work in essentials, but I am having difficulties.
The first hurdle is figuring out how to check for the same pokemon in the party. So far I have come up with using $Trainer.pokemonParty[0].species==PBSpecies::BLAZIKEN and doing it specifically for each Master Trainer, but that seems tedious, and I think it would be simpler if I could have a variable with a number for the kind of pokemon, and it checks if a pokemon in the party matches that number. Then I can change just the variable instead of 6 different scripts each time.
The second, and biggest hurdle, is that I cannot for the life of me find a way to have the player choose their pokemon, Blaziken in this case, and then remove all other party members, storing in a "game_variables" until the battle it done so I can give them back.
If anyone can help me with these problems, it would be greatly appreciated.