Then it started raining cheeseburgers and Flint realized that his machine had worked for the first time ever, which means he can now change the world.
Test, Enemies, Allies P3
Or...no one will ever like you.
Flint faces many obstacles and challenges, including his machine, his crush on Sam, a change in the foods that he was making, and a food storm.
Approach to the Inmost Cave
Flint has allies who helped him overcome these obstacles. Some of his allies include Sam who encourages him, and Steve the monkey who tried to warn him about the danger meter.
The mayor is Flint's enemy because he manipulates Flint by using Flint's hopes and wishes to achieve what he wants.
Influenced by the mayor, Flint continued making it rain food and the machine malfunctioned, creating a huge and destructive storm. Plus, the mayor tampered with his laboratory, which made Flint unable to fix the mess and thus lose hope because he failed again.
Flint regained confidence after his father encouraged him, and flew up to the core of the machine along with Brent, Sam and Manny, only to be attacked by mutated foods.