BALTIMORE, JULY 10 -- They gave away beer tankards at Memorial Stadium tonight. It might have been better to give away the pitchers and keep the mugs.

The Orioles outlasted the Minnesota Twins, 13-12, tonight on a sacrifice fly by Larry Sheets in the bottom of the ninth that scored Eddie Murray.

Fred Lynn homered twice and had six RBI, and Murray went four for four, hitting his 19th homer of the season, as the Orioles got 11 hits off four Minnesota pitchers.

Mark Williamson (3-6), who relieved Tom Niedenfuer in the ninth, was the winner. George Frazier (5-4) got the loss.

After the Twins scored twice in the ninth to tie at 12, Murray led off for Baltimore with a single and Lynn walked. Ray Knight tried to sacrifice, and he got Murray to third; but Mike Boddicker, running for Lynn, was forced at second.

Juan Berenguer intentionally walked Terry Kennedy, setting up Sheets' game-winner.

"We're down, but we haven't given up," Lynn said. "We still want to be respectable, and to do that, you've gotta win a few games like this."

"We're physically and emotionally worn out," said Twins Manager Tom Kelly. "I think if I try to figure it out, I'll get ulcers."

Both teams started early, scoring four each in the first. Each of Minnesota's first four batters scored off starter Dave Schmidt, who was knocked out so quickly (one-third of an inning) that he is now listed as the probable starter Sunday.

"We're going to come back and start Schmidt on Sunday because I had to go through that bullpen the way Grant went through Richmond," Manager Cal Ripken Sr. said.

When told it was Sherman who went through Richmond, Ripken said, "It was a Sherman tank, but Grant was driving."

The Orioles struck back in their half. Third baseman Ron Washington, in his first at-bat since being promoted from Class AAA Rochester Thursday, singled to right. Cal Ripken Jr. walked, and Murray singled home Washington.

Lynn followed with his 13th homer of the season, a shot to right that tied the score at 4.

The Twins, who battered Orioles pitching for 16 hits, took leads of 5-4, 8-5, and 10-8 over the next 4 1/2 innings. Tom Brunansky (four RBI) hit his 18th homer of the season in the fifth, a three-run blast off Orioles reliever Doug Corbett (the third of five Baltimore pitchers) to give Minnesota an 8-5 lead.

Alan Wiggins walked to lead off the Orioles fifth, and two outs later, Twins starter Bert Blyleven walked Murray. Lynn made him pay, poking a homer to left that hit the foul poul and tied the score at 8. Lynn's 35 homers against the Twins is a career high for him against one team.

Minnesota untied it in the sixth. Kirby Puckett walked, went to second on a wild pitch and scored on a double by third baseman Gary Gaetti. Gaetti scored on a single by designated hitter Roy Smalley.

Baltimore produced four runs in its half, three charged to reliever Dan Schatzeder. Kennedy, Sheets, Wiggins, Washington, and Murray all got hits, and Ripken added a sacrifice fly.

It stayed that way until the ninth, when Niedenfuer squandered his fifth save opportunity in seven tries. Brunansky and pinch runner Al Neuman scored to tie it at 12. And when Smalley moved to shortstop in the bottom of the ninth, Berenguer would have had to bat in the ninth spot had the Twins reached his place in the order.

After Niedenfuer was removed for Williamson, he tossed the ball at Ripken and stalked off the mound before Ripken got there. The two met following the game.

"We talked about that, and we got it straightened out," Ripken said. "I came in. He was just frustrated. I'm not gonna make a big deal about it."