Dr. Heinz Doofenshmirtz has created a terrible time machine in which Phineas and Ferb are condemned to repeat different challenges over and over again, and will not leave them until they manage to finish them in the right way. Join Agent P and help our protagonists to escape the fearsome temporary loop that has them prisoners.