Pallette shifting bug

Bucket Mouse

Active member
Trying to fix a big with textboxes on pallette shifting screens. I've written a routine that freezes pallette shifting while text is active -- otherwise it skips letters for some reason. The problem is, when I turn off the flag at the end of the doDrawText routine (which, as far as I can tell, is after the misspelled words "COMPLETLY DONE WITH BOX,") it starts the pallette shifting back up BEFORE the last row in the text box has finished erasing. This causes that last row to NOT be erased and stuck on the screen. You saw this happen in the Allison of Astra demo. I guess erasing that last row happens at a different part of the code? Where is the routine that undraws that last bit of the box, so I can turn off the flag there instead?
 
Top Bottom