baardbi
Well-known member
Have you ever had a problem with a row of black tiles showing up on the second screen after you warp into a scrolling level? This mostly seems to happen if you have a cutscene or some other screen that writes text before you warp.
This is because the screen doesn't have time to finish updating before starting the level.
To fix this you need to modify the file doDrawBox.asm. Go to Project Settings, select Handle Drawing Boxes and click the Edit button.
There are two places in the file where you will find this piece of code:
LDA updateScreenData
ORA #%0000100
STA updateScreenData
You need to add JSR doWaitFrame below that. So in both places where the updateScreenData code appears it should now look like this:
That should be it. Hopefully your level will look normal now, without a row of black tiles.
This is because the screen doesn't have time to finish updating before starting the level.
To fix this you need to modify the file doDrawBox.asm. Go to Project Settings, select Handle Drawing Boxes and click the Edit button.
There are two places in the file where you will find this piece of code:
LDA updateScreenData
ORA #%0000100
STA updateScreenData
You need to add JSR doWaitFrame below that. So in both places where the updateScreenData code appears it should now look like this:
Code:
LDA updateScreenData
ORA #%0000100
STA updateScreenData
JSR doWaitFrame
That should be it. Hopefully your level will look normal now, without a row of black tiles.