• 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!
  • 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.

[Battle] Making Randomized Battles in Fire Red

  • 3
    Posts
    5
    Years
    • Seen Feb 14, 2022
    Hi, I'm a beginner who's been working on a rom hack on the side for a few months now, and I've gotten to the point where I need to make a pivotal decision about how I'll go about designing the game. In my hack, I want to have trainers with "pseudo random" teams each time you battle them in a new play-through. What I mean by "pseudo random" is that they will have a different team each time, but the roster of potential pokemon they could have will follow a theme, like bug pokemon for bug catchers or water/fish pokemon for fishermen. On top of that, I want the level of their pokemon to scale with the amount of gym badges the player has, since I will let the player take any gym in any order.

    I already have a general idea of how I will pull this off, but I am looking for alternatives, because the idea I have in mind might just end up being quite the undertaking, and I want to know if a more efficient method exists. My current plan is to make the script check the amount of gym badges the player has first, then jump to a "random" command which will randomly select a trainer battle from a wide variety of premade trainer battles. I don't exactly like this idea, however, since the amount of combinations when it comes to which pokemon could be on a team of 3 (even for a trainer class such as bug catcher) is substantially large, so I'd prefer to avoid this method if possible. If anyone has any better ideas I would love suggestions, or maybe a tool exists that could help me with this?

    Thanks for taking the time to read this, and please respond if you have any ideas that may help!
     
    I just wanted to say that I love this idea!! I wonder how the Battle Tower trainers work, maybe you could hook into that team generation algorithm?
     
    Thanks for the feedback! Unfortunately I don't think I'll be including the Battle Tower, due to a few reasons I'm not ready to reveal yet. But regardless, I'm glad to know that this idea interests you. Basically, I don't want any two runs of the game to be the same.
     
    Thanks for the feedback! Unfortunately I don't think I'll be including the Battle Tower, due to a few reasons I'm not ready to reveal yet. But regardless, I'm glad to know that this idea interests you. Basically, I don't want any two runs of the game to be the same.

    Sorry, what I meant was the Battle Tower generates random opponent teams. So maybe it's possible to adapt the code that generates teams so that it follows your themes which would mean that you don't have make handwritten teams.
     
    Sorry, what I meant was the Battle Tower generates random opponent teams. So maybe it's possible to adapt the code that generates teams so that it follows your themes which would mean that you don't have make handwritten teams.
    Oh I see. But the trainers in the trainer tower (at least in fire red) don't actually have randomized teams, at least to my knowledge. You can look up a list of all the trainer's teams in the tower.
     
    Oh I see. But the trainers in the trainer tower (at least in fire red) don't actually have randomized teams, at least to my knowledge. You can look up a list of all the trainer's teams in the tower.

    Oh! Sorry! I thought they were semi-randomized. Never mind me then :)
     
    Back
    Top