if (isset(f5)) {
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);
  set.horizon(37);
  show.pic();
}
if (isset(f99)) {
  reset(f99);
  animate.obj(o1);
  load.view(44);
  set.view(o1,44);
  set.loop(o1,1);
  position(o1,78,72);
  draw(o1);
  animate.obj(o2);
  load.view(63);
  set.view(o2,63);
  set.loop(o2,2);
  position(o2,60,78);
  draw(o2);
  stop.cycling(o2);
  stop.cycling(o1);
}
animate.obj(o3);
load.view(46);
set.view(o3,46);
set.loop(o3,2);
position(o3,53,165);
draw(o3);
stop.cycling(o3);
animate.obj(o4);
set.view(o4,46);
set.loop(o4,2);
position(o4,107,165);
draw(o4);
stop.cycling(o4);
if (isset(f5)) {
  v200 = 1;
  reset(f5);
  set(f100);
  animate.obj(o0);
  load.view(0);
  set.view(o0,0);
  set.loop(o0,3);
  position(o0,75,164);
  draw(o0);
  start.cycling(o0);
  move.obj(o0,60,110,1,f100);
  animate.obj(o5);
  load.view(46);
  set.view(o5,46);
  set.loop(o5,3);
  position(o5,85,164);
  draw(o5);
  start.cycling(o5);
  move.obj(o5,70,110,1,f100);
}
if (isset(f100)) {
  reset(f100);
  stop.cycling(o5);
  set(f101);
}
if (isset(f101)) {
  v201 += 1;
}
if (v201 == 20) {
  reset(f101);
  v201 = 0;
  print("Sire, this is Caitlyn, grand-daughter of Cicero");
  start.cycling(o1);
  set(f102);
}
if (isset(f102)) {
  v202 += 1;
}
if (v202 == 20) {
  reset(f102);
  v202 = 0;
  print("Thank you Franciso, you may leave now.");
  stop.cycling(o1);
  start.cycling(o5);
  move.obj(o5,85,165,1,f103);
}
if (isset(f103)) {
  reset(f103);
  erase(o5);
  start.cycling(o1);
  set(f104);
}
if (isset(f104)) {
  v204 += 1;
}
if (v204 == 20) {
  reset(f104);
  v204 = 0;
  print("Ahh Caitlyn, it's been so long since I last saw you. How has "
        "everything been my dear?");
  stop.cycling(o1);
  erase(o0);
  animate.obj(o6);
  load.view(36);
  set.view(o6,36);
  set.loop(o6,0);
  position(o6,60,110);
  draw(o6);
  start.cycling(o6);
  set(f105);
}
if (isset(f105)) {
  v205 += 1;
}
if (v205 == 20) {
  reset(f105);
  v205 = 0;
  print("Ummm... good sire...");
  stop.cycling(o6);
  start.cycling(o1);
  set(f106);
}
if (isset(f106)) {
  v206 += 1;
}
if (v206 == 20) {
  reset(f106);
  v206 = 0;
  print("That's good to hear. Now for the reason I have summoned you.");
  print("Valeria is in grave danger. The eternal spheres have been stolen.");
  stop.cycling(o1);
  start.cycling(o6);
  set(f107);
}
if (isset(f107)) {
  v207 += 1;
}
if (v207 == 20) {
  reset(f107);
  v207 = 0;
  print("Eternal spheres?");
  stop.cycling(o6);
  start.cycling(o2);
  set(f108);
}
if (isset(f108)) {
  v208 += 1;
}
if (v208 == 20) {
  reset(f108);
  v208 = 0;
  print("The eternal sphere's are what keep the kingdom together. Their magic "
        "keeps the land intact. Without them Valeria will continue to degrade until "
        "there is barely anything left.");
  stop.cycling(o2);
  start.cycling(o6);
  set(f109);
}
if (isset(f109)) {
  v209 += 1;
}
if (v209 == 20) {
  reset(f109);
  v209 = 0;
  print("Who could have done such a thing?");
  stop.cycling(o6);
  start.cycling(o1);
  set(f110);
}
if (isset(f110)) {
  v210 += 1;
}
if (v210 == 20) {
  reset(f110);
  v210 = 0;
  print("A long time ago, I had a visier named Archidamus. He was quite "
        "powerful in the ways of magic and my trusted advisor.");
  print("I thought he would never betray my trust, but one day he decided he "
        "wanted to marry my daughter Mardian.");
  print("After I forbade it, he decided to take her anyways. He took Castle "
        "Elsinore from my power and kept Mardian hostage there.");
  print("With the help of the wizard Artemidoris, we managed to retake the "
        "castle. However, Archidamus decided that if he couldn't have Mardian, "
        "no one could.");
  print("He killed my only daughter.");
  print("I had Archidamus banned from Valeria forever.");
  print("Now he has returned and stolen the spheres in order to get his revenge.");
  stop.cycling(o1);
  start.cycling(o6);
  set(f111);
}
if (isset(f111)) {
  v211 += 1;
}
if (v211 == 20) {
  reset(f111);
  v211 = 0;
  print("How horrible! What an evil man! But what does this have to do with me?");
  stop.cycling(o6);
  start.cycling(o1);
  set(f112);
}
if (isset(f112)) {
  v212 += 1;
}
if (v212 == 20) {
  reset(f112);
  v212 = 0;
  print("We need to fight Archidamus' magic with our own magic.");
  stop.cycling(o1);
  start.cycling(o6);
  set(f113);
}
if (isset(f113)) {
  v213 += 1;
}
if (v213 == 20) {
  reset(f113);
  v213 = 0;
  print("Magic? But I don't have any magic. Couldn't Artemidoris fight "
        "Archidamus?");
  stop.cycling(o6);
  start.cycling(o2);
  set(f114);
}
if (isset(f114)) {
  v214 += 1;
}
if (v214 == 20) {
  reset(f114);
  v214 = 0;
  print("Artemidoris is getting old and has very little magic left. You "
        "Caitlyn, even though you don't know it, possess powers capable of "
        "surpassing Artemidoris'.");
  stop.cycling(o2);
  start.cycling(o6);
  set(f115);
}
if (isset(f115)) {
  v215 += 1;
}
if (v215 == 20) {
  reset(f115);
  v215 = 0;
  print("What? What do you mean? Powers? Me??");
  stop.cycling(o6);
  start.cycling(o1);
  set(f116);
}
if (isset(f116)) {
  v216 += 1;
}
if (v216 == 20) {
  reset(f116);
  v216 = 0;
  print("Yes Caitlyn, as your grandfather Cicero had great magic, you are the "
        "second generation of that blood line, thus your magic is there and "
        "greater than Cicero.");
  print("We desperately need your help Caitlin, will you help us?");
  stop.cycling(o1);
  start.cycling(o6);
  set(f117);
}
if (isset(f117)) {
  v217 += 1;
}
if (v217 == 20) {
  reset(f117);
  v217 = 0;
  print("I don't know what to say, everything is happening so fast.");
  print("I guess I have no choice but to agree if Valeria needs me.");
  print("But I really don't think I have any powers!");
  stop.cycling(o6);
  start.cycling(o1);
  set(f118);
}
if (isset(f118)) {
  v218 += 1;
}
if (v218 == 20) {
  reset(f118);
  v218 = 0;
  print("You do Caitlyn, you just don't know it.");
  print("Seek out the wizards Artemidoris, he may be able to help awaken your "
        "powers.");
  print("I'm sorry but time is of the essense. Valeria will continue to fade unless "
        "we act fast.");
  print("Beware of Archidamus, he is very dangerous. I have the feeling he may "
        "try to stop you. Please be careful.");
  stop.cycling(o1);
  start.cycling(o6);
  set(f119);
}
if (isset(f119)) {
  v219 += 1;
}
if (v219 == 20) {
  reset(f119);
  v219 = 0;
  print("I will, ummm... so I'll see you later then.");
  stop.cycling(o6);
  start.cycling(o1);
  set(f120);
}
if (isset(f120)) {
  v220 += 1;
}
if (v220 == 20) {
  reset(f120);
  v220 = 0;
  print("Good luck Caitlyn, and thank you.");
  stop.cycling(o1);
  erase(o6);
  set.view(o0,0);
  position(o0,60,110);
  draw(o0);
  move.obj(o0,75,164,1,f121);
}
if (isset(f121)) {
  reset(f121);
  stop.cycling(o0);
  erase(o0);
  set.loop(o6,2);
  position(o6,75,164);
  draw(o6);
  start.cycling(o6);
  set(f122);
}
if (isset(f122)) {
  v222 += 1;
}
if (v222 == 19) {
  reset(f122);
  v222 = 0;
  print("Eternal spheres? Hidden powers? Me? This is all too strange!");
  stop.cycling(o6);
  set.cel(o6,0);
  set(f123);
}
if (isset(f123)) {
  v223 += 1;
}
if (v223 == 10) {
  reset(f123);
  v223 = 0;
  print("You are led out of the castle.");
  set(f201);
  reset(f200);
  set(f250);
  print("This ends the Caitlyn's Destiny Teaser. The game will be released very soon!");
  print("Goodbye!");
  }
return();

// Messages
#message 1 "Sire, this is Caitlin, grand-daughter of Cicero"
#message 2 "Thank you Franciso, you may leave now."
#message 3 "Ahh Caitlin, it's been so long since I last saw you. How has everything been my dear?"
#message 4 "Ummm... good sire..."
#message 5 "That's good to hear. Now for the reason I have summoned you."
#message 6 "_ is in grave danger. The eternal spheres have been stolen."
#message 7 "Eternal spheres?"
#message 8 "The eternal sphere's are what keep the kingdom together. Their magic keeps the land intact. Without them _ will continue to degrade until there is barely anything left."
#message 9 "Who could have done such a thing?"
#message 10 "A long time ago, I had a visier named Archidamus. He was quite powerful in the ways of magic and my trusted advisor."
#message 11 "I thought he would never betray my trust, but one day he decided he wanted to marry my daughter Mardian."
#message 12 "After I forbade it, he decided to take her anyways. He took Castle Elsinore from my power and kept Mardian hostage there."
#message 13 "With the help of the wizard Artemidoris, we managed to retake the castle. However, Archidamus decided that if he couldn't have Mardian, no one could."
#message 14 "He killed my only daughter."
#message 15 "I had Archidamus banned from _ forever."
#message 16 "Now he has returned and stolen the spheres in order to get his revenge."
#message 17 "How horrible! What an evil man! But what does this have to do with me?"
#message 18 "We need to fight Archidamus' magic with our own magic."
#message 19 "Magic? But I don't have any magic. Couldn't Artemidoris fight Archidamus?"
#message 20 "Artemidoris is getting old and has very little magic left. You Caitlin, even though you don't know it, possess powers capable of surpassing Artemidoris'."
#message 21 "What? What do you mean? Powers? Me??"
#message 22 "Yes Caitlin, as your grandfather Cicero had great magic, you are the second generation of that blood line, thus your magic is there and greater than Cicero."
#message 23 "We desperately need your help Caitlin, will you help us?"
#message 24 "I don't know what to say, everything is happening so fast."
#message 25 "I guess I have no choice but to agree if _ needs me."
#message 26 "But I really don't think I have any powers!"
#message 27 "You do Caitlin, you just don't know it."
#message 28 "Seek out the wizards Artemidoris, he may be able to help awaken your powers."
#message 29 "I'm sorry but time is of the essense. _ will continue to fade unless we act fast."
#message 30 "Beware of Archidamus, he is very dangerous. I have the feeling he may try to stop you. Please be careful."
#message 31 "I will, ummm... so I'll see you later then."
#message 32 "Good luck Caitlin, and thank you."
#message 33 "Eternal spheres? Hidden powers? Me? This is all too strange!"
#message 34 "You are led out of the castle."