Astros teammates Alex Bregman and George Springer homered on consecutive pitches to begin the 10th inning, and the American League beat the National League 8-6 Tuesday night for its sixth straight win.
Mike Trout, Aaron Judge and Jean Segura also connected for the AL in a game where every run except one scored on a homer.
Scooter Gennett hit a tying two-run shot off Seattle closer Edwin Diaz in the bottom of the ninth. Joey Votto, Willson Contreras, Trevor Story, Christian Yelich also homered for the NL.
There had never been more than six homers in an All-Star Game since Babe Ruth hit the very first one in 1933.
While several sluggers went deep, not everything went their way. Starters Max Scherzer and Chris Sale and the relievers combined to fan 15 in the first 4 1/2 innings, and there were 25 strikeouts overall.
Fitting, because this season is on pace to become the first with more strikeouts than hits, a year after a record number of home runs.
Martinez, who leads the majors in homers and RBIs, singled and struck out in his two at-bats.
Orioles shortstop Manny Machado had fun, pulling out a camera to snap a selfie at second base after Matt Kemp doubled. By Wednesday, they could be teammates - Baltimore seems ready to trade Machado, with the Dodgers and Phillies in the mix.
A day after hometown star Bryce Harper electrified the crowd by winning the Home Run Derby, it was eerily quiet for most of the evening at Nationals Park. Harper didn't excite the fans, either, fanning in his two at-bats.
The only thing missing was a bevy of defensive shifts. Overloaded infields are the norm now, Hinch and NL manager Dave Roberts of the Dodgers pretty much played things straight up.
Bregman and Springer homered off losing pitcher Ross Stripling of the Dodgers - that's kind of how last year ended, too, with Houston battering Los Angeles pitchers in the World Series.
Segura's three-run homer in the eighth landed in the bullpen and broke a 2-all tie. The Seattle infielder popped up the previous pitch, but Votto, Cincinnati's reliable first baseman, dropped it for an error as he approached the dugout railing. Segura then connected off Hader.
Judge homered in the second off Scherzer, the Nationals ace who became the first reigning Cy Young Award winner to start an All-Star Game in his home park.
Trout kept up his All-Star excellence, tagging Mets righty Jacob deGrom. A two-time MVP in his event, Trout is 7 for 15 with five extra-base hits and three walks in these games.
Diaz wound up with the win and Toronto's J.A. Happ got his first pro save after giving up Votto's homer.
The AL won for the 18th time in 21 games played to a decision, and leads the series 44-43-2. Not since the early 1960s has the AL been ahead.