• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Get Gender (solved)

38
Posts
8
Years
    • Seen Nov 26, 2023
    Hi Makers.

    Well, i want to know what script get info of $Trainer.gender once i wanna use it in conditional branchs where if is male or female, got different answers.

    Dont know if i make myself clear, but it is ;)
     
    Last edited:
    1,682
    Posts
    8
    Years
    • Seen today
    Make a conditional branch in the event, and go to the last page and select Script.
    Then type in "$Trainer.gender == 0". This will check if the Player is male. 1 is female and 2 is unknown, though you probably won't get the latter.
    Remember to add an else branch, too.
     
    38
    Posts
    8
    Years
    • Seen Nov 26, 2023
    already tried this and it wont work for me =(

    supposing this work, i cant use an elseif to 1 (female) and (2 uknown) so an "else" is return 1 or 2?

    Edit: For some reason that work now LUL thank you a lot =)
     
    Last edited:
    Back
    Top