[4.5.9] Fix for the the paths and text box issue

dale_coop

Moderator
Staff member
I just noticed recently that there was a problem with the paths and the textbox:
the path tiles behind the text box do not display properly when the text box closes.

IssuePaths.gif

Here's how to fix that issue:

In your "Project Settings > Script Settings", under "Subroutines", select the Handle Draw Box element and click on the "Edit" button:

2022-06-02 13_23_06-Project Settings.png

In that "doDrawBox.asm" script, around lines 215(something), you should see:

2022-06-02 13_26_25-doDrawBox.asm - Visual Studio Code.png

Comment out (or remove) the "ReturnBank" line (216) and move it AFTER the "JSR doGetSingleMetaTileValues" line (219).
Should now look like this:

2022-06-02 13_31_09-doDrawBox.asm - Visual Studio Code.png

VoilĂ , now the paths and text box should work correctly:

IssuePathsFixed.gif
 

dale_coop

Moderator
Staff member
To center the text, you just need to do that yourself in the text editor, adding space before the words 🤣
(it’s what I did, here)
 
Hey Nesmakers, has anyone figured out how to get monster tiles to redraw correctly after closing text box?
I did some hunting through the forums and didn't see anything. This is the closest I could find on the subject.
 

baardbi

Well-known member
Hey Nesmakers, has anyone figured out how to get monster tiles to redraw correctly after closing text box?
I did some hunting through the forums and didn't see anything. This is the closest I could find on the subject.
I also have that problem. Seems like any tile that change before the text is written goes back to it's original tile graphic when the text box disappears. Did you ever find a solution to this?
 
Top Bottom