 If the home team is leading in the middle of the final scheduled inning, or scores to take the lead in the bottom of the final scheduled inning, the game immediately ends in a home victory.In most leagues, if the score is tied after the final scheduled inning, the game goes into extra innings until an inning ends with one team ahead of the other.In Japanese baseball, however, games end if tied after 12 innings (or, in postseason play in Nippon Professional Baseball, 15 innings).