This is (a schematic version of) Gnarled Root Dungeon, part of Oracle of Seasons by Nintendo, as analyzed by Mark Brown of Game Maker's Toolkit.