   if (isset(f5)) {
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);
  set.horizon(37);
    status.line.on();
    accept.input();

    if (v1 == 3) {
     position(o0,70,167);
     }
     draw(o0);
     show.pic();
     }
if (v2 == 3) {
  new.room(3);
  }
if(isset(f5)){
animate.obj(o1);
load.view(62);
set.view(o1,62);
set.loop(o1,2);
set.cel(o1,0);
position(o1,70,83);
draw(o1);
stop.cycling(o1);
animate.obj(o13);
load.view(163);
set.view(o13,163);
set.cel(o13,12);
stop.cycling(o13);
position(o13,45,64);
draw(o13);
}
if(has("rope")){
erase(o13);
}
animate.obj(o2);
load.view(163);
set.view(o2,163);
set.cel(o2,0);
position(o2,107,110);
draw(o2);
stop.cycling(o2);

animate.obj(o3);
set.view(o3,163);
set.cel(o3,2);
position(o3,100,100);
draw(o3);
stop.cycling(o3);

animate.obj(o4);
set.view(o4,163);
set.cel(o4,3);
position(o4,31,74);
draw(o4);
stop.cycling(o4);

animate.obj(o5);
set.view(o5,163);
set.cel(o5,10);
position(o5,53,61);
draw(o5);
stop.cycling(o5);

animate.obj(o6);
set.view(o6,163);
set.cel(o6,8);
position(o6,100,123);
draw(o6);
stop.cycling(o6);

animate.obj(o7);
set.view(o7,163);
set.cel(o7,7);
position(o7,35,100);
draw(o7);
stop.cycling(o7);

animate.obj(o8);
set.view(o8,163);
set.cel(o8,11);
position(o8,89,69);
draw(o8);
stop.cycling(o8);

animate.obj(o9);
set.view(o9,163);
set.cel(o9,5);
position(o9,75,120);
draw(o9);
stop.cycling(o9);

animate.obj(o10);
set.view(o10,163);
set.cel(o10,4);
position(o10,36,120);
draw(o10);
stop.cycling(o10);

animate.obj(o11);
set.view(o11,163);
set.cel(o11,1);
position(o11,43,80);
draw(o11);
stop.cycling(o11);

if(said("talk","man")){
if(obj.in.box(o0,57,94,88,100)){
prevent.input();
move.obj(o0,64,96,1,f95);
}
else{
print("You are not close enough.");
}}
if(isset(f95)){
reset(f95);
erase(o0);
animate.obj(o12);
load.view(36);
set.view(o12,36);
set.loop(o12,0);
position(o12,64,96);
draw(o12);
start.cycling(o12);
set(f96);
v200 = 0;
}
if(isset(f96)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("Hello Caliban, what's new with you?");
reset(f5);
reset(f96);
set(f97);
stop.cycling(o12);
start.cycling(o1);
}
if(isset(f97)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("Hi Caitlyn! Not a lot, just running the shop. How have you been?");
reset(f97);
set(f98);
stop.cycling(o1);
start.cycling(o12);
}
if(isset(f98)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("It's been quite a morning for me. But I'd rather not talk about it.");
reset(f98);
set(f99);
stop.cycling(o12);
start.cycling(o1);
}
if(isset(f99)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("That's alright Caitlyn. Enjoy your day.");
reset(f99);
set(f100);
stop.cycling(o1);
start.cycling(o12);
}
if(isset(f100)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("I will Caliban.");
reset(f100);
stop.cycling(o1);
start.cycling(o12);
erase(o12);
draw(o0);
accept.input();
}
if(has("rope")){
if(said("buy","rope")){
print("You already bought it.");
}}

if(has("gold")){
if(said("buy","rope")){
if(obj.in.box(o0,57,94,88,100)){
prevent.input();
move.obj(o0,64,96,1,f101);
}
else{
print("You are not close enough.");
}}}

if(isset(f101)){
reset(f101);
erase(o0);
animate.obj(o12);
load.view(36);
set.view(o12,36);
set.loop(o12,0);
position(o12,64,96);
draw(o12);
start.cycling(o12);
set(f102);
v200 = 0;
}
if(isset(f102)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("Hey Caliban, I think I'd like to buy that rope.");
reset(f5);
reset(f102);
set(f103);
stop.cycling(o12);
start.cycling(o1);
}
if(isset(f103)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("A fine choice Caitlyn. That'll be a gold piece.");
reset(f103);
set(f104);
stop.cycling(o1);
start.cycling(o12);
}
if(isset(f104)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("No problem, here you are.");
print("You hand Caliban a gold piece.");
reset(f104);
set(f105);
stop.cycling(o12);
start.cycling(o1);
}
if(isset(f105)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("Thank you. I'll get that rope for you.");
reset(f105);
set(f106);
stop.cycling(o1);
start.cycling(o12);
}
if(isset(f106)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("Thanks!");
reset(f106);
stop.cycling(o12);
start.cycling(o1);
set.loop(o1,2);
move.obj(o1,50,83,1,f107);
}
if(isset(f107)){
reset(f107);
erase(o13);
print("Caliban takes the rope from the bottom shelf.");
set.loop(o1,0);
move.obj(o1,70,83,1,f108);
}
if(isset(f108)){
reset(f108);
set.loop(o1,2);
start.cycling(o1);
set(f109);
}
if(isset(f109)){
v200 += 1;
}
if(v200 == 30){
v200=0;
print("Here you are Caitlyn. Thank you.");
reset(f109);
print("You thank Caliban and put away your new rope.");
stop.cycling(o1);
set.cel(o1,0);
get("rope");
erase(o12);
draw(o0);
accept.input();
}
return();