The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Misaligned Multi-choice box

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old December 1st, 2018 (4:58 AM).
Lancekoijerwillborough Lancekoijerwillborough is offline
 
Join Date: Jan 2017
Gender: Male
Posts: 41
Hello guys!

Does anyone know a way how to make the words aligned in a multi-choice box like this one


I always get this:
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old December 1st, 2018 (2:26 PM). Edited December 1st, 2018 by DrFuji.
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 30
Gender: Male
Nature: Jolly
Posts: 1,693
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.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old December 1st, 2018 (3:46 PM).
Lance Koijer 2.0 Lance Koijer 2.0 is offline
Lance Koijer
 
Join Date: Apr 2018
Location: Criscanto Town
Gender: Male
Nature: Adamant
Posts: 104
Quote:
Originally Posted by DrFuji View Post
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!
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:18 AM.