First of all, this is a cool and really useful script,
but I found a BIG bug.
All the self switches work fine, but when you make a map transfer and than return into the previous map, all the switches made are automatically reset !
an example:
I create an event, I set a red treasure chest as graphic, priority same as character, trigger action button.
In the Event Commands part i write using Script Call
self_switch("BLUE", true)
Now I make another event page
I set as graphic a blue chest and I check the Self Switch Box
In the Event Command part I write using Comment
Switch:BLUE
Now, in playtest, if I interact with the chest it becomes blue.
But if I go to another map and I return back, automatically the chest returns red, so the self switch BLUE I created turned off.
That's the problem. With this, I can't actually use your script !
Can you fix it ?
I really need your script, so please fix this bug and/or help me !