Question: William Hjortsberg known for writing the screenplay of a 1985 film directed by who?

Context paragraphs:
Legend (1985 film): Legend is a 1985 American-British dark fantasy adventure film directed by Ridley Scott and starring Tom Cruise, Mia Sara, Tim Curry, David Bennent, Alice Playten, Billy Barty, Cork Hubbert, and Annabelle Lanyon.  It is a dark fairy tale and has been described as a return to more original, sometimes disturbing, fables, from the oral tradition of ancient times before reading and writing were widespread.

Angel Heart: Angel Heart is a 1987 American neo-noir psychological horror and occult detective film based on William Hjortsberg's 1978 novel "Falling Angel".  Written and directed by Alan Parker, the film stars Mickey Rourke, Robert De Niro and Lisa Bonet.  The story follows Harry Angel (Rourke), a New York City private investigator hired to solve the disappearance of a man known as Johnny Favorite.  Angel's investigation takes him to New Orleans, where he becomes embroiled in a series of brutal occult-related murders.

William Hjortsberg: William "Gatz" Hjortsberg (February 23, 1941 – April 22, 2017) was an American novelist and screenwriter known for writing the screenplay of the film "Legend".

Dust (1985 film): Dust is a 1985 film directed by Marion Hänsel based on the J. M. Coetzee novel "In the Heart of the Country".  The film was shot in Spain and is a French-Belgian production.  The film was selected as the Belgian entry for the Best Foreign Language Film at the 58th Academy Awards, but was not accepted as a nominee.  It won the Silver Lion prize, awarded to the best first or second major work by a director, at the 1985 Venice Film Festival.  The jury recognised Jane Birkin's performance as amongst the best of the year, but decided not to award a best actress prize because all of the actresses they judged to have made the best performances were in films that won major awards.

The Bad Seed (1985 film): The Bad Seed is a 1985 film directed by Paul Wendkos for ABC Television.  It is based on the 1954 novel by William March and is a remake of the 1956 movie directed by Mervyn LeRoy.

Legend (Tangerine Dream soundtrack): Legend is the eighth soundtrack album by the German band Tangerine Dream and their twenty-eighth overall.  It was released in 1986 for the North American theatrical version of the film "Legend".  It was issued a year earlier in Europe.  The film was written by William Hjortsberg, starred Tom Cruise, Mia Sara and Tim Curry, was produced by Arnon Milchan, directed by Ridley Scott and released domestically by Universal Studios.  The album was released on compact disc on 15 August 1995 through Varese Sarabande.

Tea in the Harem: Tea in the Harem (French: Le Thé au harem d'Archimède ) is a 1985 film directed by Mehdi Charef, based on a book written by Charef in 1983.  It was screened in the Un Certain Regard section at the 1985 Cannes Film Festival.  The film won the Prix Jean Vigo in 1985.

She's the Man: She's the Man is a 2006 American romantic sport-comedy film directed by Andy Fickman and starring Amanda Bynes, Channing Tatum, Laura Ramsey, and Vinnie Jones.  Inspired by William Shakespeare's play "Twelfth Night", it is a remake of the 1985 film "Just One of the Guys".

Earl W. Wallace: Earl W. Wallace is an American screen and television writer who began his career in the 1970s writing episodes of the hit CBS Western series "Gunsmoke", one of which inspired him, his wife Pamela, and William Kelley to develop the screenplay for the 1985 film "Witness".

Avenging Force: Avenging Force is a 1986 film directed by Sam Firstenberg.  The screenplay was written by James Booth, who co-starred in the film.  It was originally intended as a sequel to the 1985 film "Invasion U.S.A.", which starred Chuck Norris in the role of Matt Hunter.

Supporting paragraphs: William Hjortsberg Legend (1985 film)
Answer: Ridley Scott