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

[Eventing Question] Rival by Gender

  • 11
    Posts
    4
    Years
    • Seen Aug 17, 2021
    So I'm new to Pokemon Essentials, but I'm getting the hang of it.

    Sp, I'm wondering if there's a way to change the rival character in Pokemon Essentials, like what Ruby, Saaphire, Emerald, Omega Ruby, and Alpha Sapphire did. Anyone know how I can do this, or is there no way to do this without hacking another rom?
     
    I do that exact same thing with rivals depending on gender. What I do is in the game intro is when you pick you gender, it also sets a custom switch called "Is Boy" or "Is Girl". Then the rival has 2 event pages with a page condition for the event to have one event page if your a boy and another event page if your a girl. Each event page would just use different graphics and different battles.
     
    Same here, and i have another tipp for you, if you using the \b or \r Command to color a Text regarding the Gender of the speaking Person.
    i added:
    Code:
    text.gsub!(/\\x/i,"<c3=E00808,D0D0C8>") if $Trainer && $game_switches[241]
    text.gsub!(/\\x/i,"<c3=3050C8,D0D0C8>") if $Trainer && !$game_switches[241]
    in "Messages" right after:
    Code:
    text.gsub!(/\\pn/i,$Trainer.name) if $Trainer
    text.gsub!(/\\pm/i,_INTL("${1}",$Trainer.money.to_s_formatted)) if $Trainer
    text.gsub!(/\\n/i,"\n")
    text.gsub!(/\\\[([0-9a-f]{8,8})\]/i) { "<c2="+$1+">" }
    text.gsub!(/\\pg/i,"\\b") if $Trainer && $Trainer.male?
    text.gsub!(/\\pg/i,"\\r") if $Trainer && $Trainer.female?
    text.gsub!(/\\pog/i,"\\r") if $Trainer && $Trainer.male?
    text.gsub!(/\\pog/i,"\\b") if $Trainer && $Trainer.female?
    text.gsub!(/\\pg/i,"")
    text.gsub!(/\\pog/i,"")
    text.gsub!(/\\b/i,"<c3=3050C8,D0D0C8>")
    text.gsub!(/\\r/i,"<c3=E00808,D0D0C8>")
    If you are doing this, you can use "\x" in a Text Command as well, but now the Color is exactly the opposite of your Gender (So red if you are a boy and blue if you are a girl), where $game_switches[241] is my "IsBoy" Custom Switch.
    This make it way easier to handle the different Event pages for both possible Rivals because you dont have to rewrite every \b to \r or vice versa.
    But, this is just a comfort thing, its not necessary.
     
    Back
    Top