The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Battle Making Randomized Battles in Fire Red

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old March 21st, 2020 (10:21 PM).
Meaty Jesus Meaty Jesus is offline
 
Join Date: Mar 2020
Posts: 3
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!
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old March 22nd, 2020 (2:02 PM).
mgriffin's Avatar
mgriffin mgriffin is offline
 
Join Date: Apr 2014
Posts: 1,406
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?
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old March 22nd, 2020 (3:51 PM).
Meaty Jesus Meaty Jesus is offline
 
Join Date: Mar 2020
Posts: 3
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.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old March 22nd, 2020 (10:42 PM).
Insightful alain Insightful alain is offline
 
Join Date: Mar 2020
Location: POKEMON worlx
Gender: Male
Posts: 1
Oh I see your idea is really awesome!😎
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old March 23rd, 2020 (12:21 AM).
mgriffin's Avatar
mgriffin mgriffin is offline
 
Join Date: Apr 2014
Posts: 1,406
Quote:
Originally Posted by Meaty Jesus View Post
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.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old March 23rd, 2020 (12:32 AM).
Meaty Jesus Meaty Jesus is offline
 
Join Date: Mar 2020
Posts: 3
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.
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old March 23rd, 2020 (2:25 AM).
mgriffin's Avatar
mgriffin mgriffin is offline
 
Join Date: Apr 2014
Posts: 1,406
Quote:
Originally Posted by Meaty Jesus View Post
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 :)
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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