You look around in a bird-like manner, bewildered. You've been turned into a peacock! For sure, you don't want to spend the rest of your days as a bizarre looking bird. You've got to figure out a way to change back.
The old lady fed you cookies. Which means that it was the food that was magic. So, you might be able to eat something to change you again. You might not know what you'd change into to, but certainly anything is better than a peacock. Now, where to find some food like that...Of course! The garbage! Surely, the old woman would have thrown out old batches of magic food, right?
You waddle around looking for a garbage can, your feather behind your swaying back and forth in a most annoying manner. There's no way you could stay as this thing!
You spot the garbage can, the lid is off and flies are buzzing around it. A small crate sits next to the garbage can. You flutter your wings to try to get up onto the crate. Nothing happens. You try again and manage to lift off half an inch. You sidle up to the create, leaning up on your clawed bird toes and flutter your wings as hard as you can, leaning in all the time. After much flapping you manage to get onto the crate.
Next, you flap your wings as hard and fast as you can. You are momentarily surprised when you lift off the ground. But it's short lived, you can't maintain your flight. It is, however, enough to get you to the top of the garbage can. You rest for a moment from the enormous exertion of getting there. You look into the can for something that might transform you. For one, you don't want to be stuck as a peacock, and two, you are feeling the urge to get back at that old woman.
You see a number of bits of food. You've not sure what would change you into what, but you decide...