 Meanwhile , Perry the Platypus arrives at Dr. Heinz Doofenshmirtz 's hideout , where he discovers Doofenshmirtz has gained a new nemesis in the form of Peter the Panda , whom he met in Seattle , Washington . Downtrodden , Perry reminisces about previous battles with Doofenshmirtz when he was his nemesis , while Doofenshmirtz himself grows tired of Peter due to him being much less sympathetic then Perry . Perry and Doofenshmirtz decide to appear on the talk show Dr. <unk> , where they decide to once more become nemeses ; however , Doofenshmirtz reveals that the whole situation was merely a scheme to capture the world 's top agents ( who are in the audience ) and freeze them with a large ray . This results in a largescale battle where the agents come out victorious . 
