• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

Randomized Trainers

Jay-Kunn

Lawfully Evil
  • 19
    Posts
    13
    Years
    This is a question about Randomized Trainers. What I mean is the this.

    We all remember the Battle Institute in Black and White. How you never knew what you would face next?

    That's what I mean. In my game, I am making a Pokemon League Conference, so I will need a code that will choose trainers by random.

    Like... I want to create at least 20 Trainers. From those 20, is there an event/code that will select one of those 20 to battle by random? And once you've done that, is there a code that will remove their names from the randomizer so to speak?
     
    There are probably millions of ways to do this, Variables will be what you want here which is the easiest by far, it just requires some work, but little effort...

    You will need one event with like 20 pages, then give them character sprites and names and add a battle trainer within the trainers.txt...

    If you have no idea on how to do this, there are many tutorials online how to use switches, variables and things like that in RPGMaker... But randomising how the trainers are made and what round to come out will be down to your imagination, I doubt anyone will be able to explain how to do that without taking 45minutes to an hour on a 15 paragraphed post... Well I wouldn't anyway, unless someone else wants to give it a go...

    Bottom line is, you will need variables and concentration, without either, you will lose track of everything you've done before you get started... Making the trainers move on to the next round will take another bunch of trainers with different names and Pokémon... The round after will take another bunch of trainers with different names and Pokémon... The round after that will take another bunch of trainers with different names and Pokémon... Then this final round will take another bunch of trainers with different names and Pokémon... Then the finals will take another bunch of trainers with different names and Pokémon... As you can see, it's not an easy process... Especially if you're pretty new to game-making... But it is by far the easiest way for new game-makers.
     
    Back
    Top