if (isset(f5)) {
  reset(f90);
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);
  set.horizon(1);
  if ((v1 == 2 ||
      v1 == 0)) {
    position(o0,70,166);
    status.line.on();
    accept.input();
  }
  draw(o0);
  show.pic();
}
if(v2 == 3){
new.room(2);
}
if (isset(f5)) {
  animate.obj(o3);
  load.view(148);
  set.view(o3,148);
  set.loop(o3,4);
  position(o3,94,94);
  set.cel(o3,0);
  draw(o3);
  cycle.time(o3,v1);
  start.cycling(o3);
 }
animate.obj(o1);
load.view(165);
set.view(o1,165);
set.loop(o1,1);
position(o1,85,83);
draw(o1);
start.cycling(o1);

if(isset(f204)){
prevent.input();
reset(f204);
move.obj(o0,70,120,1,f89);
}
if(isset(f89)){
reset(f89);
move.obj(o0,75,115,1,f90);
}
if(isset(f90)){
v200 = 0;
set(f100);
}
if(isset(f100)){
v200 += 1;
}
if(v200 == 30) {
print("Hello Florizel, how are you today?");
v200 = 0;
reset(f100);
set(f101);
stop.cycling(o4);
}
if(isset(f90)){
reset(f90);
erase(o0);
animate.obj(o4);
load.view(36);
set.view(o4,36);
set.loop(o4,0);
position(o4,75,115);
draw(o4);
start.cycling(o4);
}
if(isset(f101)) {
reset(f5);
erase(o3);
animate.obj(o3);
set.view(o3,148);
set.loop(o3,5);
start.cycling(o3);
position(o3,94,94);
draw(o3);
start.cycling(o3);
}
if(isset(f101)){
v200 += 1;
}
if(v200 == 30) {
print("Oh Caitlyn, good to see you, I'm just fine today. What brings you here this morning?");
v200 = 0;
reset(f101);
set(f102);
stop.cycling(o3);
start.cycling(o4);
}
if(isset(f102)){
v200 += 1;
}
if(v200 == 30) {
print("I'm looking for something not of the ordinary.");
v200 = 0;
reset(f102);
set(f103);
stop.cycling(o4);
start.cycling(o3);
}
if(isset(f103)){
v200 += 1;
}
if(v200 == 30) {
print("Out of the ordinary? What could that be?");
v200 = 0;
reset(f103);
set(f104);
stop.cycling(o3);
start.cycling(o4);
}
if(isset(f104)){
v200 += 1;
}
if(v200 == 30) {
print("Well believe it or not, the wizard Artemedoris requires that I find a spellbook. I was hoping that maybe you knew if my grandfather had one that he left behind.");
v200 = 0;
reset(f104);
set(f105);
stop.cycling(o4);
start.cycling(o3);
}
 if(isset(f105)){
v200 += 1;
}
if(v200 == 30) {
print("So Caitlyn, your finally noticing the magic inside you? Circero would always tell me that you would turn out to be a great user of magic.");
v200 = 0;
reset(f105);
set(f106);
stop.cycling(o3);
start.cycling(o4);
}
if(isset(f106)){
v200 += 1;
}
if(v200 == 30) {
print("Noticing? I haven't noticed anything. Everyone keeps telling me I have these powers. I can't say I totally believe them, but the king said he needs my help.");
v200 = 0;
reset(f106);
set(f107);
stop.cycling(o4);
start.cycling(o3);
}
if(isset(f107)){
v200 += 1;
}
if(v200 == 30) {
print("Don't have any worries Caitlyn, you should not believe what everyone tells you, but should keep an open mind. Trust Artemedoris, he will surely be true to his word.");
v200 = 0;
reset(f107);
set(f108);
stop.cycling(o3);
start.cycling(o4);
}
if(isset(f108)){
v200 += 1;
}
if(v200 == 30) {
print("Thanks Florizel. Now about that spellbook?");
v200 = 0;
reset(f108);
set(f109);
stop.cycling(o4);
start.cycling(o3);
}
if(isset(f109)){
v200 += 1;
}
if(v200 == 30) {
print("I'm afraid I never heard of such an item being left behind by Cicero. He did not have a lot of possessions and many of them went to others when he died.");
v200 = 0;
reset(f109);
set(f110);
stop.cycling(o3);
start.cycling(o4);
}
if(isset(f110)){
v200 += 1;
}
if(v200 == 30) {
print("Oh great... now what am I supposed to do?");
v200 = 0;
reset(f110);
set(f111);
stop.cycling(o4);
start.cycling(o3);
}
if(isset(f111)){
v200 += 1;
}
if(v200 == 30) {
print("Don't worry Caitlyn. I have something your grandfather did leave you.");
v200 = 0;
reset(f111);
set(f112);
stop.cycling(o3);
start.cycling(o4);
}
if(isset(f112)){
v200 += 1;
}
if(v200 == 30) {
print("What? My grandfather left me something??.");
v200 = 0;
reset(f112);
set(f113);
stop.cycling(o4);
start.cycling(o3);
}
if(isset(f113)){
v200 += 1;
}
if(v200 == 30) {
print("Yes, a note, perhaps it will help you in your quest. Hold on a moment while I get it.");
v200 = 0;
reset(f113);
set(f114);
stop.cycling(o3);
start.cycling(o4);
}
if(isset(f114)){
v200 += 1;
}
if(v200 == 30) {
print("Thanks Florizel.");
v200 = 0;
reset(f114);
set(f115);
stop.cycling(o4);
}
if(isset(f115)){
reset(f115);
erase(o3);
animate.obj(o5);
set.view(o5,148);
set.loop(o5,6);
position(o5,94,94);
draw(o5);
start.cycling(o5);
animate.obj(o6);
load.view(147);
set.view(o6,147);
position(o6,90,97);
draw(o6);
move.obj(o6,90,125,1,f116);
}
if(isset(f116)){
reset(f116);
move.obj(o6,40,125,1,f117);
}
if(isset(f117)){
reset(f117);
move.obj(o6,40,100,1,f118);
}
if(isset(f118)){
reset(f118);
move.obj(o6,49,80,1,f119);
}
if(isset(f119)){
reset(f119);
move.obj(o6,49,70,1,f120);
}
if(isset(f120)){
reset(f120);
ignore.horizon(o6);
move.obj(o6,59,40,1,f121);
}
if(isset(f121)){
reset(f121);
move.obj(o6,64,20,1,f122);
}
if(isset(f122)){
reset(f122);
erase(o6);
set(f123);
}
if(isset(f123)){
v200 = 0;
reset(f123);
set(f124);
}
if(isset(f124)){
v200 += 1;
}
if(v200 == 30) {
v200 = 0;
reset(f123);
reset(f124);
position(o6,59,40);
draw(o6);
move.obj(o6,59,60,1,f125);
}
if(isset(f125)){
reset(f125);
move.obj(o6,50,70,1,f126);
}
if(isset(f126)){
reset(f126);
move.obj(o6,50,86,1,f127);
}
if(isset(f127)){
reset(f127);
move.obj(o6,44,90,1,f128);
}
if(isset(f128)){
reset(f128);
move.obj(o6,44,106,1,f129);
}
if(isset(f129)){
reset(f129);
move.obj(o6,40,125,1,f130);
}
if(isset(f130)){
reset(f130);
move.obj(o6,90,125,1,f131);
}
if(isset(f131)){
reset(f131);
move.obj(o6,90,97,1,f132);
v200 = 0;
}
if(isset(f132)){
//reset(f132);
erase(o6);
erase(o3);
set.view(o3,148);
set.loop(o3,5);
position(o3,94,94);
draw(o3);
start.cycling(o3);
}
if(isset(f132)){
v200 += 1;
}
if(v200 == 30) {
print("Here you are Caitlyn, Cicero left me this note before his passing.");
v200 = 0;
reset(f132);
set(f133);
stop.cycling(o3);
start.cycling(o4);
}
if(isset(f133)){
v200 += 1;
}
if(v200 == 30) {
print("Thanks for your help Florizel.");
v200 = 0;
reset(f133);
set(f134);
stop.cycling(o4);
start.cycling(o3);
}
if(isset(f134)){
v200 += 1;
}
if(v200 == 30) {
print("Your welcome Caityln. Good luck on your adventure.");
print("Florizel hands you a dusty old note. You decide to read it later.");
set(f205);
v200 = 0;
reset(f134);
stop.cycling(o3);
erase(o3);
set.loop(o3,4);
draw(o3);
start.cycling(o3);
erase(o4);
draw(o0);
get("note");
accept.input();
}
if(isset(f205)){
if(said("talk","Florizel")){
get.posn(o0,v100,v101);
erase(o0);
prevent.input();
animate.obj(o4);
load.view(36);
set.view(o4,36);
set.loop(o4,0);
position.v(o4,v100,v101);
draw(o4);
start.cycling(o4);
set(f135);
}}
if(isset(f135)){
v200 += 1;
}
if(v200 == 30) {
print("Thanks for all the help Florizel.");
v200 = 0;
reset(f135);
set(f136);
stop.cycling(o4);
erase(o3);
animate.obj(o3);
set.view(o3,148);
set.loop(o3,5);
position(o3,94,94);
draw(o3);
start.cycling(o3);
}
if(isset(f136)){
v200 += 1;
}
if(v200 == 30) {
print("No problem Caitlyn. Come by anytime for a visit.");
v200 = 0;
reset(f136);
stop.cycling(o4);
erase(o4);
set.loop(o3,4);
draw(o3);
start.cycling(o3);
erase(o4);
draw(o0);
accept.input();
}
if(isset(f201)){
if(said("talk","Florizel")){
get.posn(o0,v100,v101);
erase(o0);
prevent.input();
animate.obj(o4);
load.view(36);
set.view(o4,36);
set.loop(o4,0);
position.v(o4,v100,v101);
draw(o4);
start.cycling(o4);
set(f137);
}}
if(isset(f137)){
v200 += 1;
}
if(v200 == 30) {
print("Morning Florizel. How are you today?");
v200 = 0;
reset(f137);
set(f138);
stop.cycling(o4);
erase(o3);
animate.obj(o3);
set.view(o3,148);
set.loop(o3,5);
position(o3,94,94);
draw(o3);
start.cycling(o3);
}
if(isset(f138)){
v200 += 1;
}
if(v200 == 30) {
print("Ahh Caitlyn! Good to see you. I'm fine, just enjoying some tea. How have things been treating you?");
print("You engage Florizel in some idle conversation about weather and old times.");
v200 = 0;
reset(f138);
stop.cycling(o4);
erase(o4);
set.loop(o3,4);
draw(o3);
start.cycling(o3);
erase(o4);
draw(o0);
accept.input();
}
if(said("look","painting")){
print("The painting looks very old. It adds a nice touch to Florizel's home.");
}
if(said("look","couch")){
print("The couch looks very soft and comfy.");
}
if(said("look","flowers")){
print("There are lovely flowers adorning the room. They must smell great!");
}
if(said("look","vase")){
print("The vase hold some pretty flowers.");
}
if(said("look","fire")){
print("A fire crackles as it heats the house.");
}
if(said("look","fireplace")){
print("The fireplace is made of stone.");
}
if(said("look","stairs")){
print("Stairs lead up to the bedrooms and personal study of Florizel.");
}
if(said("look","table")){
print("A solid oak table sits in the room, holding a vase of flowers.");
}
if((said("look","Florizel") ||
    said("look","man"))){
print("Florizel has been a major part of your life. After your grandfather died, he raised you and was always kind and generous. He sits in his favorite chair drink tea.");
}
if(said("sit")){
print("As comfy as the couch is, you don't have time.");
}
if(said("get","painting")){
print("Florizel wouldn't like you taking his painting.");
}
if(said("get","flowers")){
print("You'd rather pick some wildflowers in the forest.");
}
if(said("get","vase")){
print("What would the flowers be kept in?");
}
if(said("get","table")){
print("It's too heavy!");
}
if(said("get","fire")){
print("OUCH!");
}
if(said("get","fireplace")){
print("How can you do that?");
}
if((said("get","Florizel") ||
    said("get","man"))){
print("He's too old for you.");
}
if(said("get","couch")){
print("It's too heavy!");
}
if(said("move","painting")){
print("There's nothing but dust behind it.");
}
if(said("move","couch")){
print("It's too heavy!");
}
if(said("move","vase")){
print("Leave the vase alone.");
}
if(said("move","flowers")){
print("They are not yours.");
}
if(said("move","fire")){
print("OUCH!");
}
if(said("move","table")){
print("It's fine where it is.");
}
if(said("smell","flowers")){
print("They smell great and fresh!");
}















return();

// Messages
#message 1 "This is an empty room."