Taking place in the 21st century(the ambiguous year 20XX), Mega Man 7 begins directly after the events of Mega Man 6. Thanks to the efforts of Mega Man and his friends, Dr. Wily was finally brought to justice. However, Wily had always known that he might be imprisoned one day, and so he had constructed four backup Robot Masters in a hidden laboratory, Burst Man, Cloud Man, Junk Man, and Freeze Man. If they did not receive a communication within six months, they would begin searching for their master. After six months, the robots activate and go on a rampage throughout the city in which Dr. Wily is being held. Mega Man is called into action. Upon driving into the city with Roll and Auto, he sees that it is in ruins, and that he is too late to stop Wily's Robot Masters from liberating the evil scientist. Mega Man gives chase, but is stopped by Bass, a robot with capabilities much like Mega Man's own, and his robotic wolf Treble. After a brief skirmish, Mega Man is informed that the two of them are battling Wily as well. Bass and Treble then take off, leaving Mega Man confused, but convinced that he has new allies and determined to again stop Dr. Wily's plans. After Wily's Robot Masters are defeated, he dispatches four more to combat the protagonist, Spring Man, Slash Man, Shade Man, and Turbo Man. In one of the locations, Mega Man encounters an injured Bass and sends him to Dr. Light's lab for repairs. Mega Man defeats the remaining Robot Masters and goes back home, learning upon arriving that Bass had gone berserk and left the lab with parts for new enhancements Dr. Light was working on. Wily appears on the video monitor and reveals that Bass and Treble are actually his own creations, and that they only gained his trust in order to steal the parts. Bass' apparent ambition is to best Mega Man in combat and prove himself as the strongest robot in existence. Mega Man makes his way to Wily's fortress and defeats Bass and Treble, and then Dr. Wily himself. As usual, Wily begs for mercy, but after giving him six chances to change his ways, Mega Man chooses to finish off the mad doctor for good. Wily explains that as a robot, Mega Man is prevented from harming humans; Mega Man hesitates then replies that he is 'more than a robot'. Before Mega Man could do anything, he is interrupted when the fortress begins to self-destruct, and Bass and Treble arrive to rescue their creator at the last moment. Before escaping, Bass taunts Mega Man for his hesistation, vowing that he, Wily, and Treble will return to get their revenge. Mega Man then escapes the collapsing castle before returning home.