Every night leading up to the final day of the season, theScore’s MLB editors will keep you updated on the latest happenings surrounding the playoff race. Here’s where everyone stands in what’s becoming a messy playoff picture after play ended Tuesday.

NL Central

Jon Durr / Getty Images Sport / Getty
Team W-L PCT GB E#
Cubs 91-66 .580
Brewers 91-67 .576 0.5 5
Cardinals 87-71 .554 4.5 1

The Cubs lost to the Pirates, keeping their magic number to clinch a postseason spot at two, and their magic number for the division stayed at five thanks to Milwaukee’s win. But Joe Maddon and Co. should be looking over their shoulders, because the Brewers are coming: with a 12-4 win over the Cardinals they pulled within a half-game of Chicago for the division lead.

St. Louis, meanwhile, is now on the brink of elimination from the division race.

NL West

Dodgers 88-70 .561
Rockies 87-70 .551 0.5 5

The Dodgers lost, so their magic number to clinch a sixth straight postseason spot and the division remains at five. But their walk-off loss to Arizona pushed the Rockies – who beat Philadelphia – to within a half-game in the NL West, and the rivals are now tied in the loss column. Colorado has five games remaining, while the Dodgers have just four – so this race will be decided on the weekend.

NL Wild Card

Dustin Bradford / Getty Images Sport / Getty
Brewers 91-67 .576 +3.5
Rockies 87-70 .551
Cardinals 87-71 .551 0.5 5

Now we get to the real NL chaos.

The Brewers padded their lead for home-field advantage in the NL wild-card game and clinched at least the opportunity to host the one-game playoff should they fail to catch the Cubs in the division; a win tomorrow would send the Brewers to October. The Rockies, meanwhile, jumped past the Cardinals with their win over Philadelphia and St. Louis’ loss to claim full possession of the second wild-card spot, in addition to closing the gap on Los Angeles in the division.

AL West

Astros 100-57 .637
Athletics 95-63 .601 5.5 E

Oakland’s extra-inning walk-off loss in Seattle put an end to this race, as it gave the Astros their second straight AL West title.

Home Field AL Wild Card

Yankees 97-60 .618
Athletics 95-63 .601 2.5 2

The Yankees moved closer to hosting the AL wild-card game for a second straight year after the A’s lost to Seattle in extra innings. They can clinch home-field as early as Wednesday.