I am stuck because there are dead ends everywhere I go.
I play pokemon ranger.
You have to use pokemon to get threw that cave.
I'm assuming you mean the 1st Pokemon Ranger. Here are videos that shows you how to complete the mission and other link explains how to complete the mission.
Hope this is right.....