I found Squidtar at the top of Sky peak.
I killed him with Roar of time
then i used my infamous escape orb and left the dungeon,holding the cookie in hand.
(ps.i kinda made the mountain collapse in the procces. so he can not leave ever. Enjoy!)
Edit: my powers gave me a new page. ROTFTW