• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist 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.

Changing Windowskin in script-message

  • 115
    Posts
    15
    Years
    • Seen Sep 4, 2023
    Hi!

    I'd like to change the windowskin of a specific message sent from a script.
    The equivalent of using "\w[speech dp 19]Message with fancy windoskin!", but used in
    Code:
    _INTL("Message with a fancy windoskin from the script!")

    I just figured out I don't know how to do it. I naively thought that the \w[...] would apply to the text within "...", but it doesn't.

    Thank you very much!
     
    When using a "\" inside a script please be aware that it's a character breaker, so if you actually wanted it to be a "\" you must use two "\"s which would basically be "\\".

    Code:
    _INTL("\\w[speech dp 19]Message with a fancy windoskin from the script!")

    I hope the code part clarifies what I mean if you didn't understand the explanation.
     
    Oh! Thank you so much!
    I am new to programming, so very often I get stuck.
    Once again, thank you!
     
    Back
    Top