Code Lyoko Wiki
Code Lyoko Wiki

The Chips Are Down is the ninth episode of Season 2 and the thirty-fifth episode of Code Lyoko.


The episode begins as Ulrich walks up to his friends, who are all crowded around a saddened Yumi. They seem to be sad and are obviously comforting her, but Ulrich can't figure out what is going on because no one is talking to him. Then, the bell rings and everyone heads for class promising to explain the situation once there.

In Italian class, Odd explains to Ulrich that Yumi's father lost his job and the Ishiyama family may be moving back to Japan so he can look for work. Shocked at the idea of losing Yumi, Ulrich asks the teacher if he can go to the infirmary so that he can get out of class. He drags Yumi out of her class and they have a serious conversation. Ulrich tries to make up excuses for why Yumi can stay, such as becoming a border at the school. Yumi assures him that they may or may not be moving, but even if they were, her parents would never allow her to stay at the school by herself. Yumi's optimism doesn't make Ulrich feel any better since he keeps trying to come up with crazy ideas so she can stay. She sarcastically suggests that he write to the president, but Ulrich takes it quite seriously.

That night, Ulrich writes letters to the president, but he doesn't find any of his drafts to be any good. As he tries to concentrate on another draft, the radio blares and the announcer reveals lottery numbers as well as a thirty million euro prize. Ulrich writes down the numbers with a rather not so good idea.

At the Ishiyama residence, as the family eats dinner, Mrs. Ishiyama asks her husband if he went to see the temporary employment agency. Mr. Ishiyama, stressed out, harshly scolds her, causing Mrs. Ishiyama to angrily walk out of the kitchen as Yumi and Hiroki watch from the table. At Kadic, Jeremie, Aelita, and Odd realize that Ulrich is missing, and are wondering where he is.

Suddenly, a return to the past sweeps by, bringing everyone back to the earlier morning. Immediately alerted by the return in time, Aelita asks Jeremie if this is X.A.N.A.'s knowing that the evil A.I. has done something like this before but as Jeremie checks the Superscan to see if it was X.A.N.A. who did it he assures them that he wrote a special program that prevents X.A.N.A. from using it. However, the Superscan doesn't detect an activated tower on Lyoko. Jeremie, confused and shocked, decides to go to the Factory once class is over to see what caused this to happen. 

Outside of school, Ulrich fills out an entry for the lottery at a street vendor's kiosk. In class, Ulrich tells Odd that he wants to be alone. Once class is finished, Ulrich heads over to Yumi's house, giving her parents the lottery ticket. Her parents thank him for the ticket despite their chances of winning being very low and as Ulrich leaves, he asks them to not tell Yumi that he was the one who gave them the lottery ticket as she might misunderstand that situation. As the Ishiyamas say that Ulrich is a really kind boy they start listening to the radio and they are shocked as the announcer reads out the exact same numbers on the ticket. Despite Ulrich's request for his name to be kept out, as Yumi walks, Mrs. Ishiyama tells her daughter that they have the winning ticket. She is surprised that they played the lottery as she knew her parents hate gambling but they tell her that Ulrich gave them the winning lottery ticket.

In the lab, Jeremie and Aelita find out that X.A.N.A. had nothing to do with the return in time, leaving the former even more confused, as he is the only other person than X.A.N.A. who knows how to launch the program. Aelita then theorizes that someone must have come into the lab and read Jeremie's notes, making her realize it was Ulrich who activated the return to the past.

Sometime later, when Aelita, Odd, Jeremie, and Yumi are at their usual meeting spot as Ulrich walks in. Yumi says that her parents aren't accepting the money before angrily stating that Ulrich should keep the money. The group berates him for his irrationality, secrecy, betrayal, lack-of-foresight, and selfishness in his actions. Then, they kick Ulrich out of the group until further notice and walk away, and Aelita reassures him that everything will be alright soon. Depressed as ever, Ulrich talks to Sissi.

In Lyoko's Desert Sector, a large army Krabs are marching through. Meanwhile, Herb and Nicholas are in the bathroom after they had a fight in the courtyard. After Herb leaves, one of X.A.N.A.'s ghosts possesses Nicholas. During geography class, Jeremie detects an activated tower and when the bell rings, the gang leaves for the Factory without Ulrich. As class ends, Mr. Fumet tells them to think of ways they can improve the quality of living in Africa. A possessed Nicholas follows the team as they leave.

In the Factory, Jeremie virtualizes the others into the Desert Sector and brings up their vehicles. At this moment, Nicholas jumps down from the lab's support beams and tosses Jeremie against the wall, knocking him out cold and starts zapping the computer interface.

On Lyoko, Aelita sees, to everyone's shock, that X.A.N.A. prepared a swarm of Krabs, with a size of an army, as she rides on the Overboard with Odd. Yumi asks if she is actually seeing them, to which Aelita replies that there are no mirages on Lyoko. As the three fly away, they hear evil laughter, which Odd recognizes to be Nicholas, instead of Jeremie. When Yumi gets shot by one of the Krabs and flys off the Overwing, she says she can really feel the pain from the laser after being shot with it, which isn't normal on Lyoko.

At Kadic, Sissi is watching Ulrich practicing Pencak Silat when Herb comes in saying he can't find Nicholas, commenting on his flickering eyes and distorted voice. Upon hearing this and being alerted, Ulrich runs off toward the Factory. On Lyoko, a swarm of Krabs are approaching the Lyoko Warriors, who are hiding behind a dune. In an attempt to buy some time, Aelita uses her Creativity to raise a sand wall, shortly holding off the Krabs' advance. When Ulrich reaches the lab, he is attacked by Nicholas. Ulrich tries to kick him, but his leg goes right through him. Instead, he tricks Nicholas into entering the elevator and pulls out the wires, electrocuting and trapping him inside.

Meanwhile, on Lyoko, the army of Krabs finally manage to destroy the sand wall. Ulrich slaps Jeremie in the face to wake him up and attempts to apologize for his earlier actions when Jeremie simply tells him to head down to the scanner room. Jeremie manages to repair the damage Nicholas caused and the team realize they don't feel immense pain anymore. Ulrich is virtualized to Lyoko and they hold off the Krabs' attack. Jeremie sends them their vehicles again and the plan is for Odd to take Aelita to the tower, while Yumi and Ulrich attack the Krabs. Odd and Aelita take off and Yumi and Ulrich fly above the Krabs attacking as they pass. As Odd drops off Aelita at the activated tower, Nicholas electrifies the elevator, taking him back to the lab. Aelita deactivates the tower as Nicholas is electrocuting Jeremie. Immediately, the ghost leaves Nicholas and he is left unconscious.  

Afterwards, they take Nicholas to the infirmary and tell Yolanda Perraudin a fake story about Nicholas collapsing in the school yard. As they walk out, they let Ulrich back into the group. Ulrich admits that he was selfish in his actions and decides that he will give the prize money to an organization that builds wells in Africa. Yumi gets a call from her mother and finds out that her father found a job with a friend. At first, everyone panics believing the job is located in Japan. But Yumi happily declares the job was right there in Boulogne-Billancourt, meaning she won't be moving after all.


  • The original French name for this episode is Les jeux sont faits.
  • The Lottery Numbers are 6, 22, 10, 47, 13, 37, and 14.
  • This episode marks the first appearance of the Grut Advertisement.
  • This episode marks the only time in which a return to the past was launched before X.A.N.A. attacked.
  • This is the first episode where a return in time was launched by someone other than Jeremie. In this case, it was Ulrich.
  • This is the only episode that features the largest amount of monsters ever seen in Lyoko.
  • This episode marks the first time where Krabs use their beams underneath them, without any questions from the group about what this new and special power is. It's possible that the Krabs' pulse beams were first discovered in an unseen attack and/or mission that took place prior to the events of this episode.


  • After Yumi gets shot by a Krab, she rests on the Overboard due to the amount of pain the impact of the laser caused her. Later on, however, the Overboard is suddenly gone and Yumi is resting on the ground instead.