The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Textboxes (https://www.pokecommunity.com/showthread.php?t=386515)

Wüfzhéévk December 29th, 2016 2:27 PM

Textboxes
 
Hello!, i was wondering if it is possible to add a new textbox (appart from the Normal one and the sign one) that can be called with a script. By the way, I am also asking if someone can tell me how to use the commands signmsg and normalmsg on XSE.

Trev December 29th, 2016 5:33 PM

You can search for the graphic of the original text box and edit it. To do what you're asking would require an ASM routine that would hack into the loading system of text, which is likely hardcoded into the RAM and very difficult to edit.

signmsg and normalmsg are irrelevant commands. When using the msgbox command, use the 0x6 for the regular textbox and 0x3 for the sign textbox.

Wüfzhéévk December 31st, 2016 4:32 AM

Thanks, i Was asking about signmsg and normalmsg because when I use 0x3 it acts like a sign but the sign textbox is not shown (it shows the normal one)

Touched December 31st, 2016 5:21 AM

callstd 3 (i.e. message type 3) will only set your message to a signpost design if you actually put it on a signpost. As you seem to have guessed, you need to use the commands signmsg and normalmsg to make it look like this in a normal script. Just put a signmsg before the message command to turn the signpost design on and put normalmsg when you want to turn it off. I don't know if it will turn off by itself, so you probably want to put that at the end of your script.

As for your other question, it is possible to add another type of textbox with a small ASM routine that modifies the code at 080693C4. It's not nearly as complicated as the person before me made it seem.

robinjea January 1st, 2017 6:07 PM

Check this out and see how it works for you. :)

Changing textboxes depending on var


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


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.