I don't own Harry Potter or Code Lyoko

Just in Time

"Virtual memory activated, code management configured, scanners activated and verified," said Jeremy as he typed away at the keyboard. "Targeting ok. This time it's going to work!"

"Don't get your hopes up Jeremy," said Harry from where he had fallen asleep.

"You could have helped more," said Jeremy. "Ready Aelita?"

"Sorry. I fell asleep. I can't do all-nighters like you can," said Harry.

"I'm ready Jeremy."

"Here we go." Jeremy pushed a button and the program ran. It came back with a positive.

"It's working. It's working!" yelled Jeremy excitedly. He raced out of the room and Harry took his seat and looked at the screen. He noticed that a very important program that was used by Aelita had been messed up.

Scanners

Jeremy entered the room and went to the closed scanner.

Kadic

Yumi and Ulrich were practicing their martial arts. Odd threw a stick for Kiwi.

"Go on Kiwi. Fetch."

"Anyone seen Jeremy and Harry this morning?" asked Yumi.

"I think they spent the night in the laboratory. They were working on something really important! Hm…" said Odd.

"Aelita!" they chorused.

Yumi kicked Ulrich in the head and knocked him over.

"Hey, I thought it was time out," said Ulrich as he rubbed his head.

"Oops. Guess I forgot."

"Hey guys! Guess what I did last night?" asked Jeremy as he ran up to them.

"Let's see now…got something to do with materialising Aelita?" asked Odd. "Where's Harry? Wasn't he with you?"

"That's right! Say, how did you guess, Odd? Well guys, I finally did it! This time I decided to tackle the problem in a different way. You wouldn't believe it, but…" rambled Jeremy.

"Well tell us, did you do it or not?" asked Ulrich impatiently.

"I sure did!" said Jeremy as he took something out of his pocket.

"Hm…you materialised…a test tube?" asked Ulrich.

"No, airhead! Look inside, will you?"

"A hair? You only materialised one hair?" asked Odd as they looked closer.

"Yep, that's right, Odd! To be exact, it's a hair of…Aelita's!" Jeremy blushed.

"A real hair?" asked Ulrich.

"How did you manage that?" asked Yumi.

Lab

"I chose a hair as it is a simple anatomical structure," explained Jeremy as they walked in. "It also contains Aelita's complete computer code according to a well-known fractal whose recurrences are comparable to the genetic code of a human which enabled me to make a physiological number transfer onto one part of the program already pre-targeted and defragmented. Is that simple enough? Did you get all that?"

"No!" said Odd. "Hey Harry."

No, it's not simple enough, or no, you don't follow?" asked Jeremy as they walked over to the computer which Harry was sitting at.

"Uh…no means that we take your word for it!" said Odd. "Harry, can you translate? I don't speak technobabble."

"He chose a hair because it's simple compared to the rest of the body. It contains both a computer code and a genetic code which allowed him to choose a genetic material that was already targeted and ready to be processed."

"It'll become clear when Aelita's here in flesh and blood," said Jeremy. "Better get ready Aelita."

"Ok, Jeremy."

"You're going to materialise her now?" asked Harry.

"What do you think?" asked Jeremy. "I'm not going to wait until next year. The hair was just a test before we materialise Aelita."

"Materialising Aelita isn't the same as a single strand of hair," said Yumi.

"Do you want to spend your whole life fighting Xana?" asked Jeremy. "Once Aelita's been materialised, we can unplug the supercomputer and lead normal lives."

Harry snorted. "Jeremy, I can never lead a normal life."

Jeremy started the program up and received the error message.

"What? How? I planned everything perfectly."

"We're almost there," said Harry. "We'll sort it out. You'll see. I'll have a closer look."

"Uh, guys, if we don't materialise in the classroom in a few minutes, we won't last a few days!" exclaimed Odd.

Lunch

"You know, I'd have thought that it work this time," said Jeremy as he ate his lunch quickly.

"If the hair has enough computer code to fund the materialisation parameters, then what's the problem?" asked Yumi.

"The only way to find out is to start over!" said Jeremy.

"No, don't do that! You're only a hair's breadth away!" exclaimed Odd. "Where's Harry?"

"In our room," said Jeremy.

"Can't you ever be serious Odd?" asked Yumi.

"By the way, Odd, speaking of hair, your dog sheds an awful lot of it! Most of them end up on my bed too!" said Ulrich.

"What's the big deal about two or three hairs?" asked Odd.

"Two or three?! With all the hair he sheds I could knit you another Kiwi!"

"Dogs? I adore dogs. Hey, can I sit down?" asked Sissi.

"No…"

"You know, I'm so crazy about dogs that I'm ready to keep my mouth shut about the one Odd's hiding in his room! That is, if you promise to be nicer to me, of course!"

"That's blackmail!"

"Listen Sissi, if you say anything about Kiwi, I'll..." said Yumi as her glass shattered. Everyone stared at it. Sissi walked off with her goons.

"Are you ok?" asked Jeremy as his phone beeped. Jeremy read the text.

"Sorry, I need to go see what Harry wants." He got up and ran off.

Infirmary

"Here we are," said Yolanda as she put some antiseptic onto a cotton ball and rubbed it against Yumi's cut. "It's not very deep. Here put this on it." She gave Ulrich a plaster.

"It was incredible," said Yumi. "I barely squeezed it. It must have been pretty fragile."

"We're not talking about crystal," said Ulrich as he put the plaster on. "More like lunchroom plastic. Anyway, I know what I'm in for if I get on your nerves!"

They held hands and kissed. Ulrich's phone rang, ending the scene.

"What? On our way." Ulrich ended the call.

Jeremy's and Harry's Dorm

"What's up Harry?" asked Jeremy as he entered the room.

"Look at this," said Harry as he moved away from the computer. "You must have hit a wrong key or something."

"Oh no. That could be what went wrong."

Harry face palmed. "That's not the point. Look at this. I fixed what I could. Xana's attacking by the way. He's using ultrasonic sound."

Jeremy frowned. "Yumi's glass shattered though that could be because she squeezed it too hard. And I still don't see what the problem is."

"I'll call the others. I only want to explain it once to the rest though I'll tell you now. That's the annex program. You accidentally damaged it!"

Jeremy stared straight ahead, not moving.

Harry quickly made the calls.

The rest of the group entered the room.

"Hey, what's up Harry? You sounded pretty urgent," asked Odd. "And what's up with Jeremy?"

"Jeremy's in a bit of a shock. He's just had some bad news."

"This is a disaster!"

"What is?" asked Ulrich.

"When I ran the materialisation program, I hit a key by mistake."

"So?" asked Odd. "That's not such a big deal."

Harry snorted. "Yes it is. I was trying to find Jeremy's mistake and when the program with the error ran, it bugged up Aelita so when it ran again, it didn't work due to the bugs.

"I also damaged the annex program," said Jeremy.

"The annex program? That doesn't sound so bad," said Yumi.

"It's worse than it sounds," said Jeremy. "The annex program is what allows Harry and Aelita to deactivate towers. The link between Aelita and the towers is screwed up. If Aelita deactivates a tower, she'll be reformatted."

"What, lose her memory again?" asked Ulrich.

"More like completely deleted."

"You know Jeremy, a program can be debugged," said Aelita. "We can do it together."

"And I've already sorted out most of the bugs on the Annex's end," said Harry. "All that we need to do is to fix the link between the program and Aelita so she will be ready to go again. It's a good thing my link wasn't damaged so I can deactivate the tower. Aelita, mind keeping an eye out on Lyoko. Xana's attacking."

"Are you sure?" asked Aelita. "I haven't noticed anything."

"I'm sure. The headache came earlier."

"You'd better work fast Jeremy," said Odd. "We can't risk Harry being devirtualised if there is a confirmed Xana attack."

"Why does no one believe me when I say Xana's attacking?" wondered Harry. "And when was the last time I was devirtualised by a monster anyway?"

"I'll stay here to finish the work," said Jeremy. "Make up a cover story. And Harry, I do believe you but until we've confirmed it and it's not your senses playing up, we do nothing."

"I'll stay too," said Harry as he pulled out his laptop and plugged in the charger.

"You think they can do it?" asked Odd as they walked down the corridor.

"You bet they can," said Ulrich. "There are three geniuses at work, even if one of them prefers to use simple words instead of technobabble." They heard Kiwi barking. "Hey, Odd, if you don't get Kiwi to quieten down, he'll be found."

"Hey, quiet Kiwi," said Odd as he open the door to their dorm. Kiwi continued to bark. "You hear me? Quieten down. What's the matter?"

Odd knelt down to stroke Kiwi and the window started cracking before shattering.

"Did you do that?" Odd asked Kiwi as he looked at the glass all over the floor.

Later

"Well, maybe a ball did it," said Jim as Ulrich cleaned up the glass. "You, of course, didn't see anything."

"I couldn't have seen anything," said Odd, scratching his head. "Because I wasn't here."

"Maybe. But since the rooms are off limit during the day, how come you knew about the window?"

"I saw it from the outside."

"And Ulrich, clean up your bed, there's hair all over it!" said Jim as he left.

Later

"Well?" asked Yumi as she met up with Odd and Ulrich. "What happened?"

"It was a close call," said Ulrich. "We managed to hide Kiwi but he's going to have to stay with Jeremy and Harry for a while."

Jeremy's and Harry's Dorm

"Why don't you scan the str connection blocks?" asked Aelita.

"I've already done that," said Jeremy. "That's not where I went wrong. Stop chewing my slipper!"

"…"

"Oh, sorry, Aelita! I was talking to the dog! When he's around it's hard to concentrate!" said Jeremy then he saw Kiwi holding his boxers in his mouth. "Aaah! Harry, talk to the dog!"

"Sorry, I can't speak to animals. That would be cool though."

"What is it?" asked Aelita.

"Oh, nothing!" Jeremy said quickly and turned the screen around. "Give that back to me! Give it back! That dog! He took my…my…handkerchief! Oh, take him away, please!" Jeremy bashed his head on his keyboard.

"Oh, that mutt," muttered Sissi as she walked by. She heard a cracking noise and saw a crack form in the ceiling. She ran to avoid the plaster just as Harry poked his head out.

"Jeremy, can't dogs hear higher pitched noises than we can?" he asked.

"Uh, yes. Why?"

"I think I know why Kiwi is howling. Remember what I sad about ultrasonic sounds earlier?"

"Yes."

"I think Xana's producing them somehow. I'm going to the factory."

He ran off.

Outside

"I always said Sissi's head was full of plaster!" said Odd as he watched her.

"I'm heading for the lab! With the dog barking and the school falling apart, I can't work in my room!" exclaimed Jeremy. "Harry's already there. He thinks Xana is attacking."

"Well, you know he's always right about when Xana is attacking," said Ulrich.

"I just hope he finds the right solution," said Yumi. "I'll see you guys tomorrow."

Ulrich watched her go.

"Hello? Anyone home?" asked Odd as he waved his hand in front of his face. "I know you love her but this is extreme!"

"All of these things happening are really weird. First the glass, then the window and now the ceiling," said Ulrich as he focused. "I think Harry is correct. Again."

"Maybe it is just coincidence," said Odd.

"Maybe. But so far, Harry hasn't been wrong."

Lab

"Oh, hey Jeremy," said Harry as he launched the scan. "I didn't expect to see you here so soon. I was just thinking. If Aelita does get reformatted, can't we use the hair we got from her to bring her back?"

"I'm back Aelita," said Jeremy as he walked up to the computer and took over from Harry. "We can get back to work."

"Oh no. Not now! Xana's attacking!"

"Is it all right to say I told you so?" asked Harry.

"Are you sure?" asked Jeremy. The results of the scan appeared. "Not now! Harry, I need a bit of your hair."

"May I ask why?" asked Harry as he pulled out a few and gave them to Jeremy.

"It's just in case. Now get to the scanners."

"I'm always the first across," said Harry as he started to move.

"Hurry up!"

"Ok, I'm ready."

"Transfer Harry. Scanner. Virtualisation."

Lyoko

"I like this place," said Harry as he appeared in the forest. "It's peaceful. Should I wait for the others or go on alone?"

"Wait for the others," said Jeremy. "It's safer."

"Jeremy, you know I've only been devirtualised once," said Harry. "And I still don't understand how that happened."

Corridor

I've never seen such a thing," said Principal Delmas.

"Think humidity could have caused it sir?" asked Jim.

"I don't know. It doesn't look very damp."

"The dog! I've been after him for a long time!" exclaimed Jim as he heard a noise. He ran up and down the corridor, pressing his ear to the wall. A crack started to form. "What the?!"

"We have to evacuate the building."

Outside

"It's Xana for sure," said Ulrich.

"Oh yeah, it's him all right," said Odd. "How does he do it?"

"It's better to ask Harry or Jeremy about that. But you heard what Sissi said. Kiwi started to bark just before the ceiling collapsed. Maybe Kiwi can feel the attacks coming."

Ulrich's phone rang.

"Jeremy? That's what we thought. See you." He disconnected. "We need to warn Yumi. It's definitely Xana."

"Dear students. Due to danger of accidental structural damage, you need to evacuate the building calmly and immediately," said Delmas over the speakers. "No one will be allowed to enter the building until further notice."

"Kiwi! He's still in Jeremy's room!" said Odd. "I'll go and get him."

"See you in the lab," said Ulrich as he called Yumi.

"Hi Ulrich. Um, I'm not really ready yet…" said Yumi as she answered the phone.

"Xana's attacking."

"Ok, I'll hurry."

Dorms

"Kiwi? Come here boy," said Odd as he opened the door. He walked up the corridor and opened the door to Milly's and Tamiya's dorm.

"Didn't anyone teach you to knock?" asked Milly as she listened to music.

"Didn't you hear the principal? We need to evacuate the building. It may collapse," said Odd.

"Cut it out Odd."

"No, I swear. I'm not joking."

They left the room and as they reached the stairs, Kiwi started to bark.

"Hey, what's wrong with your dog?"

The building started to shake and the stairs collapsed.

"About pace."

They tried to go back but the corridor had split in two.

Lab

"Finally!" exclaimed Jeremy as Yumi and Ulrich entered. "We thought you'd never turn up! Harry's bored out of his mind."

"What kind of vehicle would you like?" asked Harry.

"Harry, why haven't you deactivated the tower yet?" asked Ulrich. "And why do you want to know about vehicles for?"

"I'm going to program some for us and I'd like to know what kind you want. As for why, I haven't deactivated the tower, Jeremy thought it was safer with more people even though I can handle myself against several monsters. How are things at the school?"

"The building has cracks in it and it may cave in. Xana's using some kind of ultra sound system. He might attack the factory," Ulrich's phone rang.

"Hey Odd. What?"

"Yeah, I'm stuck in the school with Milly and Tamiya so I can't meet up with you right now. The firefighters will be here any minute. Go to Lyoko." Kiwi started to bark and the corridor started to go vertical. Odd dropped his phone.

"Odd? Odd?!"

"You two better get to the scanners," interrupted Jeremy.

Lyoko

"Hey," said Harry as the two appeared. "You took long enough."

"Sorry to keep you waiting," apologised Yumi. "Is that pull the tower? And where's Aelita? I'd thought she would be here."

"Yep. Let's go." They ran off in the direction of the pull. "Aelita's not here because she didn't need to be. She's in the way tower though. Just in case. Here are the Krabes. I think Xana's given up on devirtualising me. Or, it's a trap."

Yumi and Ulrich got hit from behind while Harry ran out of the way and threw one of his exploding shuriken. "It's a trap."

"You're never going to get tired of that, are you?" asked Ulrich. "Jeremy! How many life points do I have?"

"Hold on, uh...70! No, 60!"

"Make up your mind, Jeremy, I gotta know!" yelled Ulrich as he got hit by the last laser.

"I can't do a million things at once! Dodge the lasers and you won't have to keep count!" retorted Jeremy.

"Man. Why can't I have Harry's dodging skills?" muttered Ulrich.

Odd

The corridor continued to become steeper.

"We're going to have to jump," said Odd.

"Are you crazy?! It's a ten metre drop!"

"Trust me, ok? I can't tell you how I know this but we're going to make it. In the meantime, we have to get across the gap."

Odd slid down.

"No problem, your turn."

The two girls slipped Dow. Milly nearly fell off but Odd caught her.

"Come on. Let's go... Oh no."

There were several rocks blocking the corridor.

Lyoko

"The pulsations have separated," said Harry as he looked at the ground.

"Go east. More monsters are coming."

Several Bloks appeared.

"That warning is too late! I'll leave these monsters too you. I'll go to the tower." Harry ran off. Yumi looked at Ulrich who shrugged.

"He does need to get there quickly." They proceeded to destroy the Bloks and ran after Harry.

"We can see the tower… and Harry's run into a few Krabes."

"Looks like Xana's pulled out all the stops! We're not going to last long, Jeremy! Jeremy, do you read me?" asked Ulrich.

"Harry needs to get to the tower NOW! The cracks have reached the lab! And the program is safe now. I'm starting the repair program. Oh no. I was so sure it would work."

Harry destroyed the last Krabe. "When I get back to Earth, I'll fix it. Is my part damaged? I don't particularly want to get deleted."

"Uh, I don't think so." Jeremy checked the program. "It's fine."

Harry ran to the centre of the platform in the tower. He rose up and pressed his palm to the screen and removed it.

Harry

Code

Lyoko

The files zoomed down the tower.

Lab

"Return to the past now."

The now standard white light covered everything in existence.

Earlier

"Ans it's finished," said Harry as he pressed the final key. "Aelita is able to deactivate the tower again."

"That's a relief," said Aelita.

"Sorry about not taking you with me to the tower Aelita."

"It's ok. I know you didn't want me to get reformatted."

"Looks like Harry is better at programming," said Ulrich.

"Oh great. My stalker is back!"