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

[Custom Feature Question] How to make a Third Gender

  • 4
    Posts
    5
    Years
    • Seen Jun 21, 2022
    Hello there
    I need someone who knows how to put a third gender in my fangame (you knpw, like in Pokemon Uranium), especially how to give it a Sprite
    Some help?
     
    No worries, it's actually pretty easy, though there's some extra stuff you probably will want to adjust.

    So the only changes you REALLY need to make is creating a PlayerC entry in metadata.txt, with a new trainertype of course. in the Trainer types, you can set it to Mixed/X/2, which are all the third gender option. That'll let you set up all the sprites needed for a new player (you of course need to sprite them).
    Then it's just a matter of editing the intro to have a third gender option in the gender selection, and do pbChangePlayer(2) (as boy is 0, and girl is 1 by default.)

    Now while that is basically all you NEED to do, there's some extra stuff that would add a dash of quality. These mostly involve text colours that references the trainer gender. There's like 4 big spots involving text colour, the continue panel in UI_Load, the save panel in UI_Save, the first page of the Pokemon Summary UI_Summary, and the text color code \pg in Messages. If you don't change these, the third gender will default to black or the male colour in the case of the save screen.
    There's also the trainer card and pokegear, which also change colour on player gender, that would require similar changes to the above, otherwise the third gender will use the male graphic.
    Of course, I have no proper replacement colours/graphics, so no code sample here, but feel free to ask for more clarification if you have trouble doing these extra changes if you want them.
     
    No worries, it's actually pretty easy, though there's some extra stuff you probably will want to adjust.

    So the only changes you REALLY need to make is creating a PlayerC entry in metadata.txt, with a new trainertype of course. in the Trainer types, you can set it to Mixed/X/2, which are all the third gender option. That'll let you set up all the sprites needed for a new player (you of course need to sprite them).
    Then it's just a matter of editing the intro to have a third gender option in the gender selection, and do pbChangePlayer(2) (as boy is 0, and girl is 1 by default.)

    Now while that is basically all you NEED to do, there's some extra stuff that would add a dash of quality. These mostly involve text colours that references the trainer gender. There's like 4 big spots involving text colour, the continue panel in UI_Load, the save panel in UI_Save, the first page of the Pokemon Summary UI_Summary, and the text color code \pg in Messages. If you don't change these, the third gender will default to black or the male colour in the case of the save screen.
    There's also the trainer card and pokegear, which also change colour on player gender, that would require similar changes to the above, otherwise the third gender will use the male graphic.
    Of course, I have no proper replacement colours/graphics, so no code sample here, but feel free to ask for more clarification if you have trouble doing these extra changes if you want them.

    I'm not pretty sure about how to do the other changes ( you know, text colours, trainer card, etc) I'd like to know how to do that
     
    not a problem!
    Though I can't really tell what version you're on. The changes are almost the same regardless, but I'll be using v19 as reference.

    UI_Load
    Spoiler:


    UI_Save
    Spoiler:


    UI_Summary
    Spoiler:


    UI_TrainerCard/UI_Pokegear
    Spoiler:


    Messages
    Spoiler:
     
    Back
    Top