Once the deals close, Six Flags will operate 34 parks across North America.