Buzz Lightyear of Star Command: The Adventure Begins
X-R and Booster start gambling instead of cleaning and hide in a spaceship so that Buzz doesn’t know. When Mira steals a spaceship to take on Zurg herself, Buzz takes the ship Booster and X-R are hiding in and manages to capture Mira. Then Zurg turns the Unimind into a mind control weapon and enslaves the entire universe except Buzz, Mira, Booster and X-R. Buzz decides to fight Zurg alone instead of taking the others with him since it’s too dangerous but loses to Agent Z who turns out to be Warp Darkmatter who was working for Zurg for his money all along. So Buzz calls Mira, Booster and X-R so they can help him beat Zurg and Warp and they win because “evil never wins” while Zurg runs away.  Then Buzz fixes the Unimind and frees anyone he controls.