• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] Rival Opposite Gender

  • 27
    Posts
    10
    Years
    • Seen May 8, 2024
    In Pokemon ruby/sapphire/emerald when you choose your main character the rival is the other choice. Is there away to get this to work in Fire Red?
     
    Basically, you'd need to create scripts for two separate rivals (one for each gender) and then only allow the player to see the opposite gender version. You would have to create to OWs for each event (one boy, one girl), as well as twice the trainers (also for the boy and girl versions), then using scripts you would only show the opposite gender events.

    The player's gender can be checked with the script command "checkgender," which will store either a 0 or a 1 in variable 0x800D (LASTRESULT), with 0 meaning boy and 1 meaning girl.

    If you cannot understand how to implement this concept right now, you may want to practice scripting a bit more before trying this.
     
    The way R/S/E does it is they assign the Rival Person event's sprite # to decimal 140, which appears as just a regular Brendan sprite, and then have level scripts in each map that check the player's gender and then set the variable 0x4010 to the respective sprite number (0x69 for May, 0x64 for Brendan iirc) and it appears to make the changes. I've not tested this in FireRed but I doubt it would work, but porting it would be an interesting thing to do, if only because it would be a much neater way of having separate rivals as opposed to having two separate person events that would then have to be controlled separately etc.
     
    Back
    Top