This is probably a major noob question, but when I call a function (such as to fade the screen to black) from my main, the rest of the code continues instantly. How do I make it wait until the screen finishes fading before continuing? I could stick a wait after the function but I'd like something a little more reliable if it's going to take different amounts of time.


"If it's true what you say to me, that the whole world will mourn his death - If the whole world will weep, I will give him back his breath."