The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Battle Making Randomized Battles in Fire Red (https://www.pokecommunity.com/showthread.php?t=432638)

Meaty Jesus March 21st, 2020 10:21 PM

Making Randomized Battles in Fire Red
 
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!

mgriffin March 22nd, 2020 2:02 PM

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?

Meaty Jesus March 22nd, 2020 3:51 PM

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.

Insightful alain March 22nd, 2020 10:42 PM

Oh I see your idea is really awesome!😎

mgriffin March 23rd, 2020 12:21 AM

Quote:

Originally Posted by Meaty Jesus (Post 10138795)
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.

Meaty Jesus March 23rd, 2020 12:32 AM

Quote:

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.

mgriffin March 23rd, 2020 2:25 AM

Quote:

Originally Posted by Meaty Jesus (Post 10138900)
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 :)


All times are GMT -8. The time now is 9:12 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.