If you want the doll to blink each time you enter the room, you'll need to set up an autorun event to activate the doll. Make sure you immediately set the self-switch to 'A' and set up page 2 to be an empty page with the condition Self-switch A ON. Keep this one set to action button, NOT auto-run. Use this script to activate the doll. In this example 4 is the doll event ID. Change it to whatever your doll event ID is.
Spoiler: Autorun Event example
You have to do one other step, though, else the second time you enter the room, the doll won't be blinking. In your transfer event to that room, use this script.
JavaScript:
◆Script:$gameSelfSwitches.setValue([13, 3, 'A'], false)
where 13 is the doll room map ID, 3 is the autorun event ID, 'A' is the self switch you turned on, and false means to turn it off. So each time you enter the room, this script will turn the autorun event's self switch 'A' OFF and when you enter the room, the autorun event will start the doll blinking and then turn itself OFF using the A switch.
I'm pretty sure a mod is going to come along and chastise us for derailing L8rose's thread (and rightfully so), thus I'm thinking any further discussion might belong in one of the javascript support forums with a link to here. Hope you get it going. It's a fun charset.
🙂