Script name for Text Box

timkilgore

New member
Hi everyone,

What is the name of the script for the Text Box creation? I'm wondering if it's possible to replace the text box with different tiles.

Thanks so much!
 

Bucket Mouse

Active member
Mmmm, not sure what you mean. You don't want text? Or you want a different text font? The second one is easy....just replace the HUD bmp file with your own custom alphabet in the same spaces.

The script that draws the text is a macro called DrawBox, which looks like this:

Code:
    DrawBox #BOX_1_ORIGIN_X, #BOX_1_ORIGIN_Y, #BOX_1_WIDTH , #BOX_1_HEIGHT, #TEXT_NPC, screenText; npc_text

The thing that powers it is an ASM script called doDrawText. You can find it easily if you search for it in the Subroutines folder.
 
Top Bottom