• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

[Other Question] Making different trainers for different difficulties

  • 2
    Posts
    5
    Years
    • Seen May 23, 2020
    For a game of mine, I am trying to implement different difficulties that wouldn't only change levels but also pokemon, items, number of pokemon etc... The way I tried to do this is by adding in a different trainer text file in the PBS folder and a different trainer .dat file in the data folder. And then in the PTrainer_NPCTrainers script, I changed the data being loaded from "Data/trainers.dat" to "Data/trainershard.dat" And changed some pokemon around. But every time I would try to get into a battle the pokemon would still be the same. I figured that the files weren't connected by name, and so I am stuck now. And I was wondering if anyone could help me out.

    Thanks,
    T0x1c
     
    I think there's a much simpler way you could go about this, if I'm understanding your issue correctly. Check out the wiki page for defining a trainer - https://essentialsdocs.fandom.com/wiki/Defining_a_trainer

    Partway down, read where it talks about version numbers. You could have multiple versions of each trainer to match your difficulty level, and then have a conditional branch in the trainer's event that calls a different version based on the difficulty level.
     
    your previous method does in fact work, I know, I've implemented a similar system into a game I'm working on. what you were missing was a trigger that enables the altered difficulty. if you were attempting to check then via the Debug Menu, you would have to alter Debug menu data to read from the trainershard.dat file
     
    Back
    Top