The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Does the dialogue box work with text more than 2 lines?

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 March 5th, 2018 (11:56 AM).
hjk321's Avatar
hjk321 hjk321 is offline
 
Join Date: Sep 2017
Posts: 219
... or do I have to always use \p and find a way to split my text up? I just want to know if it scrolls or does the third get printed off the screen?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old March 5th, 2018 (5:13 PM).
Sakakii's Avatar
Sakakii Sakakii is offline
 
Join Date: Nov 2017
Posts: 242
Use the text adjuster in XSE, if that's the scripting program you're using. It'll help a lot.
__________________
Pokémon Kanlara Ultimate
Pokémon Kanlara Classic
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old March 5th, 2018 (7:03 PM).
hjk321's Avatar
hjk321 hjk321 is offline
 
Join Date: Sep 2017
Posts: 219
Quote:
Originally Posted by Sakakii View Post
Use the text adjuster in XSE, if that's the scripting program you're using. It'll help a lot.
yes I am but it keeps using \l for extra lines and I want to make sure that more than the first 2 lines will show up
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old March 5th, 2018 (8:18 PM).
Sakib66's Avatar
Sakib66 Sakib66 is offline
 
Join Date: Jan 2017
Gender: Male
Nature: Adamant
Posts: 196
Quote:
Originally Posted by hjk321 View Post
yes I am but it keeps using \l for extra lines and I want to make sure that more than the first 2 lines will show up
I don't think there is a way to do that unless you discover it by yourself
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old March 5th, 2018 (8:41 PM). Edited March 5th, 2018 by Skeli.
Skeli's Avatar
Skeli Skeli is offline
Lord of the Rings
 
Join Date: Apr 2014
Location: Canada
Age: 24
Gender: Male
Nature: Adamant
Posts: 300
Quote:
Originally Posted by hjk321 View Post
yes I am but it keeps using \l for extra lines and I want to make sure that more than the first 2 lines will show up
If you put something in the xse text box like this:

Code:
Blah blah blah line 1
Blah blah blah line 2

Blah blah blah line 3
(Notice that space in between line 2 and 3) It'll automatically give you a \p for line 3 instead of \l.
__________________
Pokemon Unbound

Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old March 5th, 2018 (11:57 PM). Edited March 6th, 2018 by eMMe97.
eMMe97 eMMe97 is offline
 
Join Date: Jan 2015
Posts: 51
Compile this script

Code:
#dynamic 0x800000
#org @inizio
lock
fadescreen 0x3
writebytetooffset 0x2 0x20204B6
writebytetooffset 0xE 0x20204B8
msgbox @mess1 0x6
writebytetooffset 0xF 0x20204B6
writebytetooffset 0x4 0x20204B8
fadescreen 0x2
release
end

#org @mess1
= Nel mezzo del cammin di nostra\nvita mi ritrovai per una selva\n\noscura che la diritta via era\nsmarrita...
How it work?

- fadescreen 0x3 to fix a little bug
- writebytetooffset 0x2 0x20204B6 coordinata y textbox
- writebytetooffset 0xE 0x20204B8 textbox height
- in the text you put \n in any paragraph and \n\n every two paragraphs to fix a bug. To change page \l and after \n if you want to write other
- writebytetooffset 0xF 0x20204B6 normal coordinata y
- writebytetooffset 0x4 0x20204B8 normal height
- fadescreen 0x2 normal screen

Finish...
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:17 AM.