Dream Machine

The Nightmare Machine is a machine built by Wart prior to the events of Super Mario Bros. 2. The Nightmare Machine creates monsters that Wart then uses to take control of the land of Subcon. In the final battle between Mario and Wart, the Nightmare Machine will shoot out vegetables, which are the only way to defeat the tyrant. The reason Wart's own machine would provide his enemies with the means to defeat him has not been revealed.