- Joined
- May 24, 2023
- Posts
- 683
You mixed things.
This is the name of the trainer:
This is the trainer_type, the same one that goes between brackets in the trainer_types PBS:
So, since you used
As something I just remembered, maybe you'll need to have the array like this instead of the one I showed before, since you are making an array with names instead of IDs:
Again, maybe activating and deactivating the difficulty before and after the battle might be easier than that because I have no idea if this works.
This is the name of the trainer:
This is the trainer_type, the same one that goes between brackets in the trainer_types PBS:
So, since you used
trainer.name
, you have to make the array with the names of the trainers (the ones like in the first image).As something I just remembered, maybe you'll need to have the array like this instead of the one I showed before, since you are making an array with names instead of IDs:
Again, maybe activating and deactivating the difficulty before and after the battle might be easier than that because I have no idea if this works.