Code Lyoko Wiki
Code Lyoko Wiki

Hard Luck is the eighteenth episode of Season 4 and the eighty-third episode of Code Lyoko.


Ulrich returns to his dorm room after a morning shower to find their room in a mess and Odd in an excitable mood. The two then discuss Odd's plan to ask out Azra Ürgüp, a girl in their class. However, as Odd readies himself to go to breakfast, he accidentally knocks a hand mirror off a table and breaks it. Ulrich informs Odd of the superstitious notion that breaking a mirror causes seven years of bad luck, but Odd doesn't believe in superstitions and, on the contrary, claims to feel empowered and optimistic. However, as soon as he opens the door to leave the room, Jim appears and gives him eight hours of detention for a prank he did not commit. When Odd tries to defend himself by naming Herb and Nicholas as the real culprits, Jim gives him four hours of detention, this time for "selling out his classmates". 

Once in the cafeteria, Odd's bad luck continues as the kitchen is out of his favorite foods. At a table, the other Lyoko Warriors discuss returning to the American military base and destroying its supercomputer, which they plan to do that night. When Azra arrives in the cafeteria, Odd approaches her and asks her on a date under the pretense of learning Turkish, her native language. However, Nicholas and Herb interject and confront Odd about selling them out to Jim. Azra, unimpressed with Odd, calls him a budala before walking away, which Jeremie then reveals that to him that is the Turkish word for "numbskull" (which is incorrect).

Sometime later, the gang sets off to the Factory, where Aelita, Odd, Ulrich, and Yumi are virtualized onto Lyoko, and use the Skid to travel to the Desert Replika. After mouring the Skid to a tower the group discusses superstitions but Odd ignores them completely. Jeremie sends Yumi and Odd to the military base. However, Odd's translation fails for the first time, and Ulrich is sent in his place. Jeremie then detects an activated tower on the Replika, and Aelita and Odd exit to Skid to deactivate it but as they are about to departure Aelita notices that Odd's avatar has glitched for a second. She notifies Jeremie about it and he says that he will check it out while they will try to find the tower.

At the military base, X.A.N.A. uses the activated tower to translate Kankrelats to Earth, which attack Ulrich and Yumi. After a short battle, the pair escapes into the underground area of the base, where they enter the assembly line that Ulrich and Aelita discovered on their last trip. On the Replika, Odd and Aelita notice a canyon in the distance and Jeremie confirms that the activated tower is inside the canyon. But before they can move any further, they are confronted by a swarm of Hornets. In the subsequent battle, Odd performs well until his avatar glitches again, after which he loses consciousness and is devirtualized by a Hornet before he can do anything.

In the assembly room, Yumi accesses a control terminal to look for information on what X.A.N.A. is manufacturing. Meanwhile, Aelita defeats the Hornets and enters the canyon. Inside she is chased by some more Hornets on her way to the tower. As she approaches the tower, she is also affected by the bug, causing her to crash the Overwing onto a rock pillar. Yumi deduces the assembly line is making "motherboards and electronic implants", which she and Ulrich realize were made to control the Spider Robots from the jungle. Suddenly, the terminal shows the Eye of X.A.N.A. and Yumi and Ulrich are attacked once again by the Kankrelats. Jeremie begins directing them to the supercomputer until he discovers William has arrived on the Replika to attack the defenseless Skid.

Yumi agrees to return to the Replika and intercept William while Ulrich continues on through the base. Meanwhile, Aelita is affected by the bug a second time and is devirtualized just in front of the tower. When Ulrich arrives at the super calculator room, he finds it infested with Kankrelats and retreats. Meanwhile, Yumi duels with William in front of the Skid and defeats him by using her Telekinesis to crush him with a rock pillar. However, before she can be translated back to the base, she notices that she is affected by the bug as well and is devirtualized before Jeremie can do anything about it.

In the lab, Jeremie finally discovers the glitches are being caused by a mandelbug, but it is so complicated that he does not know how to fix the problem. Meanwhile, on the Replika, two Tarantulas arrive at the Skid's tower and begin attacking the ship to destroy it. After Jeremie informs Ulrich of his dire situation, he decides to take on the Kankrelats in the super calculator room in a last ditch effort to complete the mission. In an impressive performance, Ulrich manages to defeat all the monsters and destroy the super calculator just before the bug devirtualizes him. The mission a success, Jeremie uses a new remote piloting program to fly the Skid out of the vanishing Replika and back to Lyoko.

That night at dinner, Odd trips in the cafeteria and spills his food, after which he finally admits to being jinxed. However, Aelita asserts that luck can change at any time, and when Odd notices Azra has accidentally left her cell phone in the cafeteria, he takes it in the hope that returning it to her will convince her to go on a date. Later, in the dormitory building, Odd receives a text message asking him to meet the phone's owner in the courtyard. However, when Odd arrives, it is revealed the phone belongs to Jim, much to Odd's confusion and disappointment.


  • The original French name for this episode is Superstition.
  • This was originally episode 85 chronologically during the scripting phase.[1]
  • This episode marks the final appearance of Hornets.
  • This episode also marks the last time in the entire series where Yumi uses her Telekinesis.
  • A mandelbug is the name of a real-world software bug that behaves similarly to the one described in the episode.
  • It is never stated when or how Jeremie fixed the mandelbug since the problem is never mentioned again after this episode.
  • This episode was the second appearance of materialized Kankrelats after False Start.
  • It was revealed in this episode that Jim has a pink cell phone, yet in Nobody in Particular, he had a sliver phone. It is possible that Jim lost his first phone sometime prior to this episode.


  • At the beginning of the episode, Jeremie tells Odd that the Turkish word "budala" means "numbskull". However, "budala" is Turkish for the word "fool". The real Turkish word for "numbskull" is "mankafa".
  • After Ulrich is sent to the base in Odd's stead, he informs Yumi that Odd is "stuck on Lyoko". However, Odd is stuck on the Desert Replika, not Lyoko.
  • At the end of the episode and after the Skidbladnir detached from the tower Jeremie activated, when the Replika was disappearing, the tower's halo was red instead of white.



External Links[]

The original episode summary can be found here.