You just have to use the Pterodactyl special power in EXPLORATION MODE 10 times to unlock it (B button). "Use" it means use the costume to clear your way : a pile of dead leaves then piles of paper in the futur.
You should get enough "flappy things" to unlock it in the futur, on east map, accesible with the mage costume.