• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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] How to Make Multiple Rivals (LeafGreen)

Indigo

The Novelist from Panju
  • 136
    Posts
    11
    Years
    • Seen Nov 7, 2019
    So i'm working on my first pokemon hack and i want to know how to make 2-4 rivals. Does this take alot of scripting?
     
    So i'm working on my first pokemon hack and i want to know how to make 2-4 rivals. Does this take alot of scripting?

    Yes there is alot of scripting, but mainly, its programming multiple trainer scripts, to take into the account of which starter you chose. So there would be actually 3 trainer scripts for one fight, so that the fight takes into account your starter. Makes sense?
     
    Ptkinged said:
    i want to know how to make 2-4 rivals.
    You'll have to learn about scripting if you want to do that. There are an overwhelming about of tutorials on scripting in the tutorials section.

    DJTiKi said:
    but mainly, its programming multiple trainer scripts, to take into the account of which starter you chose.
    Rivals don't have to be based on which starter you choose. That's just a tradition in the main series games, but I hardly ever see ROM hacks doing this.

    DJTiKi said:
    So there would be actually 3 trainer scripts for one fight, so that the fight takes into account your starter. Makes sense?
    (Going with the 'rival has opposing type of your starter' idea): You do not have to create three separate scripts for this. That would be extremely inefficient.
    The way this works is once you pick which starter you want, a specific flag will be set. So, each starter has a specific flag set 'to their name'. The next time you have an encounter with your rival and you initiate a battle with him/her, you would check which flag was set when you chose your starter and initiate one of three trainerbattles in a single script.

    You would have three separate trainers created in a trainer editor, but you would only have to create a single script for the simulation.
     
    Also, if you are aiming to make a fully-fledged ROM hack I'd highly, HIGHLY advise using Fire Red while you're still early into the process. Fire Red has lots more researched invested into it so there's a lot more you can do with it. Not to mention that the differences between the two (wild Pokemon & title screen) don't matter since you can edit both of them anyway. So yeah, definitely switch to using Fire Red before it's too late. :)
     
    Thats the rom I would rather hack but everytime i open the rom in advanced map all the maps are corrupt are there any ways to fix this?
     
    Back
    Top