You're starting off with PAL GOUT frames, right? If so, it looks like the applicable Avisynth script snippets are:
SW:
DeleteFrame(144053)
ESB:
DeleteFrame(150204,150205)
ROTJ:
DuplicateFrame(141781)
DeleteFrame(68664,68665)
That gets you back to NTSC GOUT sync. Please chime in, Chewtobacca if I got something terribly wrong. AviSynth is new to me.