The Legend of Zelda (WarioWare: Touched!)
From the Super Mario Wiki, the Mario encyclopedia
The Legend of Zelda is a microgame found in WarioWare: Touched! in the Retro Action stage. It is mostly based on the NES game of the same name, The Legend of Zelda, but also includes the FCD version of Zelda II: The Adventure of Link.
Upon success, a rock or bush slides away to reveal Link raising his newest treasure (a Nintendo DS) in triumph. For the alternate Level 1, a Zelda II Link runs past, and for Level 3, Link appears from the door at the top.