if (isset(f5)) {
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);
  set.horizon(37);
  show.pic();
}
if (isset(f99)) {
  animate.obj(o1);
  load.view(44);
  set.view(o1,44);
  set.loop(o1,0);
  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);
}
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;
  print("KING DEMETRIUS' THRONE");
  reset(f5);
  set(f100);
}
if (isset(f100)) {
  v200 += 1;
}
if (v200 == 20) {
  reset(f100);
  v200 = 0;
  animate.obj(o1);
  set.view(o1,44);
  set.loop(o1,2);
  end.of.loop(o1,f101);
  position(o1,107,165);
  draw(o4);
  erase(o1);
}
if (isset(f101)) {
  reset(f99);
  erase(o1);
  reset(f101);
  animate.obj(o1);
  set.view(o1,44);
  set.loop(o1,3);
  position(o1,78,72);
  draw(o1);
  start.cycling(o1);
  set(f102);
}
if (isset(f102)) {
  v201 += 1;
}
if (v201 == 19) {
  reset(f102);
  v201 = 0;
  print("Oh Lysander, what can we do now? Archidamus has stolen the eternal "
        "spheres and unless we find a way to get them back, Valeria will fade into "
        "nothingness!");
  stop.cycling(o1);
  animate.obj(o2);
  set.view(o2,63);
  set.loop(o2,2);
  position(o2,60,78);
  draw(o2);
  start.cycling(o2);
  set(f103);
}
if (isset(f103)) {
  v202 += 1;
}
if (v202 == 19) {
  reset(f103);
  v202 = 0;
  print("Sire, might I suggest we call upon the wizard Artemidoris? We could "
        "use all the magic we can gather at this time. Surely he will be of "
        "great help to us.");
  stop.cycling(o2);
  erase(o1);
  animate.obj(o1);
  set.view(o1,44);
  set.loop(o1,1);
  position(o1,78,72);
  draw(o1);
  start.cycling(o1);
  set(f104);
}
if (isset(f104)) {
  v203 += 1;
}
if (v203 == 19) {
  reset(f104);
  v203 = 0;
  print("Yes, that may be our only hope in this darkest of hours. Guards! "
        "Summon the mage Artemidoris at once!");
  stop.cycling(o2);
  stop.cycling(o1);
  animate.obj(o5);
  load.view(55);
  set.view(o5,55);
  set.loop(o5,0);
  end.of.loop(o5,f105);
  position(o5,80,110);
  draw(o5);
  start.cycling(o5);
}
if (isset(f105)) {
  reset(f105);
  erase(o5);
  animate.obj(o5);
  load.view(38);
  set.view(o5,38);
  set.loop(o5,2);
  draw(o5);
  stop.cycling(o5);
  set(f106);
}
if (isset(f106)) {
  v204 += 1;
}
if (v204 == 14) {
  reset(f106);
  v204 = 0;
  start.cycling(o1);
  set(f107);
}
if (isset(f107)) {
  v205 += 1;
}
if (v205 == 19) {
  reset(f107);
  v205 = 0;
  print("Artemidoris! Your timing is impeccable as usual! I gather you've "
        "sensed what has transpired here? We are in desperate need of your magic!");
  stop.cycling(o1);
  erase(o5);
  animate.obj(o5);
  load.view(37);
  set.view(o5,37);
  set.loop(o5,2);
  position(o5,80,110);
  ignore.blocks(o5);
  draw(o5);
  start.cycling(o5);
  move.obj(o5,80,78,1,f108);
}
if (isset(f108)) {
  reset(f108);
  move.obj(o5,90,78,1,f109);
}
if (isset(f109)) {
  reset(f109);
  stop.cycling(o5);
  erase(o5);
  animate.obj(o5);
  load.view(38);
  set.view(o5,38);
  set.loop(o5,1);
  position(o5,90,78);
  ignore.blocks(o5);
  draw(o5);
  start.cycling(o5);
  set(f110);
}
if (isset(f110)) {
  v206 += 1;
}
if (v206 == 20) {
  reset(f110);
  v206 = 0;
  print("I'm afraid even my magic is not enough to challenge Archidamus. "
        "However, there is still one last hope.");
  stop.cycling(o5);
  start.cycling(o1);
  set(f111);
}
if (isset(f111)) {
  v207 += 1;
}
if (v207 == 19) {
  reset(f111);
  v207 = 0;
  print("What do you mean Artemidoris? There is barely any magic left in Valeria. "
        "Your the only source of magic left! Am I correct?");
  stop.cycling(o1);
  start.cycling(o5);
  set(f112);
}
if (isset(f112)) {
  v208 += 1;
}
if (v208 == 20) {
  reset(f112);
  v208 = 0;
  print("I can see how you may think that. Do you recall the late Cicero?");
  stop.cycling(o5);
  start.cycling(o1);
  set(f113);
}
if (isset(f113)) {
  v209 += 1;
}
if (v209 == 19) {
  reset(f113);
  v209 = 0;
  print("Oh yes, he had great magic when he was alive. If only he was still "
        "around, I'm sure we'd have a chance! Why do you bring him up?");
  stop.cycling(o1);
  start.cycling(o5);
  set(f114);
}
if (isset(f114)) {
  v210 += 1;
}
if (v210 == 20) {
  reset(f114);
  v210 = 0;
  print("Well sire, if you recall, Cicero had a grand-daughter.");
  stop.cycling(o5);
  start.cycling(o1);
  set(f115);
}
if (isset(f115)) {
  v211 += 1;
}
if (v211 == 19) {
  reset(f115);
  v211 = 0;
  print("Ah yes! Caitlin I belive her name is. I haven't seen her in at least "
        "ten years! She was only eight then. So what of her?");
  stop.cycling(o1);
  start.cycling(o5);
  set(f116);
}
if (isset(f116)) {
  v212 += 1;
}
if (v212 == 20) {
  reset(f116);
  v212 = 0;
  print("She has magic in her blood. I've sensed so for awhile now.");
  stop.cycling(o5);
  start.cycling(o1);
  set(f117);
}
if (isset(f117)) {
  v213 += 1;
}
if (v213 == 19) {
  reset(f117);
  v213 = 0;
  print("But she's so young and I've not heard of her demonstrating any magic. "
        "How can she help us?");
  stop.cycling(o1);
  start.cycling(o5);
  set(f118);
}
if (isset(f118)) {
  v214 += 1;
}
if (v214 == 20) {
  reset(f118);
  v214 = 0;
  print("She's had great power since she was sixteen. They've only been hidden "
        "inside her. She's had great potential for the last year now, but they "
        "have not been developed.I'm pretty sure I can help awaken those powers.");
  stop.cycling(o5);
  start.cycling(o1);
  set(f119);
}
if (isset(f119)) {
  v215 += 1;
}
if (v215 == 19) {
  reset(f119);
  v215 = 0;
  print("Very well, it's a longshot but it may be our only chance to save the "
        "kingdom. I will have Caitlin brought here.");
  print("LEONTES! GET IN HERE!");
  stop.cycling(o1);
  animate.obj(o6);
  load.view(56);
  set.view(o6,56);
  position(o6,165,150);
  draw(o6);
  start.cycling(o6);
  move.obj(o6,150,150,1,f120);
}
if (isset(f120)) {
  erase(o6);
  reset(f120);
  animate.obj(o6);
  load.view(57);
  set.view(o6,57);
  set.loop(o6,1);
  position(o6,150,150);
  draw(o6);
  start.cycling(o6);
  set(f121);
}
if (isset(f121)) {
  v216 += 1;
}
if (v216 == 10) {
  reset(f121);
  v216 = 0;
  print("Coming sire!");
  erase(o6);
  animate.obj(o6);
  set.view(o6,56);
  set.loop(o6,1);
  position(o6,150,150);
  draw(o6);
  start.cycling(o6);
  set.loop(o5,2);
  set.cel(o5,0);
  stop.cycling(o5);
  move.obj(o6,130,150,1,f123);
}
if (isset(f123)) {
  reset(f123);
  animate.obj(o6);
  load.view(65);
  set.view(o6,65);
  end.of.loop(o6,f124);
  position(o6,130,150);
  draw(o6);
  start.cycling(o6);
}
if (isset(f124)) {
  reset(f124);
  print("OOOF");
  animate.obj(o7);
  load.view(66);
  set.view(o7,66);
  position(o7,125,150);
  draw(o7);
  start.cycling(o7);
  erase(o1);
  animate.obj(o1);
  set.view(o1,44);
  set.loop(o1,3);
  position(o1,78,72);
  draw(o1);
  start.cycling(o1);
  set(f125);
}
if (isset(f125)) {
  v217 += 1;
}
if (v217 == 19) {
  reset(f125);
  v217 = 0;
  print("Oh Leontes! Just get over here!");
  stop.cycling(o1);
  erase(o1);
  animate.obj(o1);
  set.view(o1,44);
  set.loop(o1,1);
  position(o1,78,72);
  draw(o1);
  start.cycling(o1);
  stop.cycling(o1);
  erase(o6);
  animate.obj(o6);
  load.view(64);
  set.view(o6,64);
  set.loop(o6,1);
  position(o6,130,150);
  draw(o6);
  start.cycling(o6);
  move.obj(o6,78,110,1,f126);
}
if (isset(f126)) {
  reset(f126);
  set.loop(o6,3);
  print("What can I do for you sire?");
  stop.cycling(o6);
  start.cycling(o1);
  set(f127);
}
if (isset(f127)) {
  v219 += 1;
}
if (v219 == 19) {
  reset(f127);
  v219 = 0;
  print("Go to Caitlyn's house, the grand-daughter of Cicero, and summon her "
        "here at once!");
  stop.cycling(o1);
  set(f128);
}
if (isset(f128)) {
  v220 += 1;
}
if (v220 == 20) {
  reset(f128);
  v220 = 0;
  print("Yes sire! At once sir!");
  start.cycling(o1);
  set(f129);
}
if (isset(f129)) {
  v221 += 1;
}
if (v221 == 19) {
  reset(f129);
  v221 = 0;
  print("Just hurry Leontes and don't screw things up!");
  stop.cycling(o1);
  set(f130);
}
if (isset(f130)) {
  v222 += 1;
}
if (v222 == 20) {
  reset(f130);
  v222 = 0;
  print("I won't let you down my king!");
  set(f131);
}
if (isset(f131)) {
  v223 += 1;
}
if (v223 == 20) {
  reset(f131);
  v223 = 0;
  print("You mean right now??");
  start.cycling(o1);
  set(f132);
}
if (isset(f132)) {
  v224 += 1;
}
if (v224 == 19) {
  reset(f132);
  v224 = 0;
  print("YES NOW! GO LEONTES!");
  stop.cycling(o1);
  set(f133);
}
if (isset(f133)) {
  v225 += 1;
}
if (v225 == 20) {
  reset(f133);
  v225 = 0;
  print("Oops! My mistake! I'll go now!");
  set.loop(o1,2);
  end.of.loop(o1,f135);
  start.cycling(o6);
  move.obj(o6,78,140,1,f134);
}
if (isset(f134)) {
  reset(f134);
  reset(f135);
  print("I think it's about time we met the heroine of the story. She has no "
        "idea what's in store for her!");
  set(f98);
  new.room(31);
}
return();

// Messages
#message 1 "KING DEMETRIUS' THRONE"
#message 2 "Oh Lysander, what can we do now? Archidamus has stolen the eternal spheres and unless we find a way to get them back, _ will fade into nothingness!"
#message 3 "Sire, might I suggest we call upon the wizard Artemidoris? We could use all the magic we can gather at this time. Surely he will be of great help to us."
#message 4 "Yes, that may be our only hope in this darkest of hours. Guards! Summon the mage Artemidoris at once!"
#message 5 "Artemidoris! Your timing is impeccable as usual! I gather you've sensed what has transpired here? We are in desperate need of your magic!"
#message 6 "I'm afraid even my magic is not enough to challenge Archidamus. However, there is still one last hope."
#message 7 "What do you mean Artemidoris? There is barely any magic left in _. Your the only source of magic left! Am I correct?"
#message 8 "I can see how you may think that. Do you recall the late Cicero?"
#message 9 "Oh yes, he had great magic when he was alive. If only he was still around, I'm sure we'd have a chance! Why do you bring him up?"
#message 10 "Well sire, if you recall, Cicero had a grand-daughter."
#message 11 "Ah yes! Caitlin I belive her name is. I haven't seen her in at least ten years! She was only five then. So what of her?"
#message 12 "She has magic in her blood. I've sensed so for awhile now."
#message 13 "But she's so young and I've not heard of her demonstrating any magic. How can she help us?"
#message 14 "She's had great power since she was sixteen. They've only been hidden inside her. She's had great potential for the last year now, but they have not been developed.I'm pretty sure I can help awaken those powers."
#message 15 "Very well, it's a longshot but it may be our only chance to save the kingdom. I will have Caitlin brought here."
#message 16 "LEONTES! GET IN HERE!"
#message 17 "Coming sire!"
#message 18 "OOOF"
#message 19 "Oh Leontes! Just get over here!"
#message 20 "What can I do for you sire?"
#message 21 "Go to Caitlin's house, the grand-daughter of Cicero, and summon her here at once!"
#message 22 "Yes sire! At once sir!"
#message 23 "Just hurry Leontes and don't screw things up!"
#message 24 "I won't let you down my king!"
#message 25 "You mean right now??"
#message 26 "YES NOW! GO LEONTES!"
#message 27 "Oops! My mistake! I'll go now!"
#message 28 "I think it's about time we met the heroine of the story. She has no idea what's in store for her!"