This reminds me of Tuper Tario Tros, in which you play a version of the NES Mario but have to switch to playing Tetris so you can have blocks to jump on when there are walls/gaps that are too large.
<a href="http://www.newgrounds.com/portal/view/522276" rel="nofollow">http://www.newgrounds.com/portal/view/522276</a>