Are you calling SetMaskColor from a function inside those files?
I think SetMaskColor needs to be called after Graphics().
Edit: To expand what i just said
Bad:
Good:
... At least that's what I think is the problem. Correct me if I'm wrong.
I think SetMaskColor needs to be called after Graphics().
Edit: To expand what i just said
Bad:
' My file I import SetMaskColor( 255,0,255 ) ' Other stuff
Good:
' My file I import function InitThisCode() ' Call this function after you called Graphics() SetMaskColor(255,0,255) endfunction
... At least that's what I think is the problem. Correct me if I'm wrong.