Change sprite layer colors on ActOR

KohakuSan

New member
Messages
62
Points
0
Emulator
Is there any way to do that for the entire file instead of having to change every single frame's color?

I noticed that saving act as text could do this very easily just by replacing the color codes in the created .lua file but how can I convert it back to act then? Or is there some other way to do it?

 
Yes, this can be done with ActOR.
 
Script(S) > Edit... > 

for AID = 0, GetNumAct() - 1 do for FID = 0, GetNumFrame(AID) - 1 do for PID = 0, GetNumPat(AID, FID) - 1 do SetA(AID, FID, PID, 0x80); SetB(AID, FID, PID, 0xff); SetG(AID, FID, PID, 0xff); SetR(AID, FID, PID, 0xff); end; end;end;
> Run.
 
 
With Act Editor : 
Scripts > Script Runner > 

act.SetColor("0x80ffffff");
> Run.

 
Back
Top