Also copy the event_flags and event_phase_mask of the initial smartscript for linked events