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

[Script] Misaligned Multi-choice box

  • 41
    Posts
    8
    Years
    • Seen Dec 16, 2018
    Hello guys!

    Does anyone know a way how to make the words aligned in a multi-choice box like this one
    [PokeCommunity.com] Misaligned Multi-choice box


    I always get this:
    [PokeCommunity.com] Misaligned Multi-choice box
     
    The in-game scripts use a nifty message code that shifts the text to a set position. It looks like this: \c\h0D\hYY, where 'YY' is the number of pixels to the right the text should be displayed in hexadecimal.

    In your screenshot, you would write the first entry like this: 'Archipelago\c\h0D\hYYBrown Shard'. You will have different numbers for each entry as all of the shard names have different lengths, whereas the example you gave in the first screenshot would use the same number as the BP numbers are the same width.
     
    Last edited:
    The in-game scripts use a nifty message code that shifts the text to a set position. It looks like this: \c\h0D\hYY, where 'YY' is the number of pixels to the right the text should be displayed in hexadecimal.

    In your screenshot, you would write the first entry like this: 'Archipelago\c\h0D\hYYBrown Shard'. You will have different numbers for each entry as all of the shard names have different lengths, whereas the example you gave in the first screenshot would use the same number as the BP numbers are the same width.

    That is so informative! Thanks!
     
    Back
    Top