if (isset(f5)) {
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);
  set.horizon(37);
  if ((v1 == 12 ||
      v1 == 0)) {
    position(o0,1,137);
    status.line.on();
    accept.input();
  }
  if (v1 == 15) {
    position(o0,127,99);
  }
  if (v1 == 17) {
    position(o0,35,99);
  }

  draw(o0);
  show.pic();
}
if (said("examine")) {
  print("This is an empty room.");
}
if (isset(f200)) {
  if (v2 == 2) {
    new.room(4);
  }
  if (v2 == 4) {
    get.posn(o0,v200,v201);
    v200 = 5;
    print("The castle's the other way Caitlin! You'd better hurry.");
    move.obj.v(o0,v200,v201,1,f97);
  }
  if (said("open","door")) {
    print("You don't have time to shop. Don't you have somewhere to be?");
  }

}
if (isset(f250)) {
  if (said("open","door")) {
    if(posn(o0,121,99,136,103)){
      new.room(15);
    }
    if(posn(o0,28,98,42,102)){
     new.room(17);
    }

  else{
  print("You are not close enough");
  }
  }

   if (v2 == 4) {
    new.room(2);
  }
  if (v2 == 2) {
    new.room(4);
  }
  }
if (isset(f5)) {
  reset(f5);
  animate.obj(o2);
  load.view(143);
  set.view(o2,143);
  set.cel(o2,0);
  position(o2,87,93);
  stop.cycling(o2);
  draw(o2);
}

return();

// Messages
#message 1 "This is an empty room."
#message 2 "The castle's the other way Caitlin! You'd better hurry."
#message 3 "You don't have time to shop. Don't you have somewhere to be?"