Once they have all four key cards, Bart and Homer infiltrate the creator's mansion. They are greeted by Matt Groening, who sends "Futurama" characters Bender and Dr. Zoidberg after them. The family manages to defeat them, however, and Groening admits that he is only creating new games for the money, and destroys the game engine. The Simpsons, along with several other characters from the games, escape to Springfield, where the aliens are still attacking. Lisa uses her power to create a stairway to heaven in order for the family to ask God for help. Along the way they have to defeat deceased historical figures William Shakespeare and Benjamin Franklin, and several other "recycled" enemies that the family killed in previous episodes. After God is defeated in a game of "Dance Dance Revolution", He reveals that the video game that they are in is a mini-game in another video game about Earth. He dropped the video game manual by accident, thus endowing the family with superpowers. Realizing His mistake, He promises to restore Springfield, let them keep their powers, and to improve the working conditions of all video game characters. He also gives Homer three wishes. Lisa asks if God ever wonders if He Himself is a character in a video game. As God nervously scoffs at this theory, it turns out that Ralph Wiggum is playing the entire game before he looks at the screen, wondering who is looking at him.