• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll 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.

[Scripting Question] Dialog Based on Gender Choice

  • 65
    Posts
    12
    Years
    • Seen Jan 4, 2022
    I'd really like to have may MC's be more dynamic and not have each character have an identical personality. Is it possible for an event to make text based on gender of the player? Like before the show text to do something like (Im not coder at all fair warning, this is just to pose as an example)

    if $Trainer.gender==0
    Text: You're mine now!

    else
    Text: Ugh how dull, fine I'll take you on.

    I know theoretically I could make a script but I wouldn't know how to word it to be able to plug and play the text in the event since it will be different every time. Or if it can actually be done. My knowledge in coding is more like a lack thereof.
     
    I'd really like to have may MC's be more dynamic and not have each character have an identical personality. Is it possible for an event to make text based on gender of the player? Like before the show text to do something like (Im not coder at all fair warning, this is just to pose as an example)

    if $Trainer.gender==0
    Text: You're mine now!

    else
    Text: Ugh how dull, fine I'll take you on.

    I know theoretically I could make a script but I wouldn't know how to word it to be able to plug and play the text in the event since it will be different every time. Or if it can actually be done. My knowledge in coding is more like a lack thereof.

    Here you go:
    https://www.pokecommunity.com/threads/410031
     
    Back
    Top