if (isset(f5)) {
  load.pic(v0);
  draw.pic(v0);
  discard.pic(v0);
  animate.obj(o10);
  load.view(10);
  set.view(o10,10);
  set.priority(o10,15);
  position(o10,145,140);
  v255 = 3;
  cycle.time(o10,v255);
  draw(o10);
  ignore.horizon(o0);
  if (!isset(f101)) {
    animate.obj(o11);
    load.view(52);
    set.view(o11,52);
    release.priority(o11);
    position(o11,49,103);
    v255 = 2;
    cycle.time(o11,v255);
    stop.cycling(o11);
    draw(o11);
  }
  if (v1 == 13) {
    load.view(2);
    set.view(o0,2);
    v16 = 2;
    position(o0,52,108);
  }
  if (v1 == 7) {
    if (isset(f188)) {
      v16 = 14;
    }
    else {
      v16 = 2;
    }
    load.view.v(v16);
    set.view.v(o0,v16);
    position(o0,55,40);
  }
  draw(o0);
  show.pic();
  reset(f60);
  reset(f255);
  set(f254);
  reset(f244);
  reset(f240);
  reset(f241);
  v100 = 0;
}
v100++;
if (!isset(f101)) {
  distance(o0,o11,v120);
  if (v120 < 35) {
    set(f240);
  }
  else {
    reset(f240);
  }
  if (isset(f240) &&
      !isset(f244)) {
    set(f244);
    end.of.loop(o11,f253);
  }
  if (!isset(f240) &&
      isset(f244)) {
    reverse.loop(o11,f243);
    reset(f244);
  }
}
if (isset(f240) &&
    !isset(f191)) {
  print("Look who's here. My new tasty meal.");
  if (!isset(f188)) {
    print("Come closer hero.");
  }
  else {
    print("Come closer monk. I don't like  monks very much. Their meet isn't "
          "tasty at all. But fresh meat is a fresh meat.");
  }
  set(f191);
  reset(f233);
}
if (isset(f0) &&
    !isset(f255)) {
  if (!isset(f188)) {
    v16 = 3;
  }
  else {
    v16 = 15;
  }
  load.view.v(v16);
  set.view.v(o0,v16);
  set(f255);
}
if (!isset(f0) &&
    isset(f255)) {
  if (!isset(f188)) {
    v16 = 2;
  }
  else {
    v16 = 14;
  }
  load.view.v(v16);
  set.view.v(o0,v16);
  reset(f255);
}
if (posn(o0,38,95,63,115) &&
    !isset(f101)) {
  get.posn(o0,v254,v255);
  reverse.loop(o11,f43);
  print.at("These heroes make me feel hungry.",8,10,15);
  erase(o0);
  v35 = 1;
}
if (isset(f200) &&
    !isset(f203)) {
  set(f203);
  print.at("Hey leave my boots. I'll ...",14,25,10);
}
if (isset(f3)) {
  new.room(7);
}
if (isset(f0) &&
    !isset(f190)) {
  set(f202);
  print("You'll die painfully if you stay in that water poisonous water.");
  load.view(7);
  set.view(o0,7);
  erase(o0);
  draw(o0);
  end.of.loop(o0,f233);
  set(f190);
}
if (isset(f233)) {
  stop.motion(o0);
  print("You body is quickly melt down to the smallest parts. Now you're just "
        "another trash in the poisonous water. Bad thing hero.");
  v35 = 1;
}
if (!isset(f202) &&
    isset(f0) &&
    isset(f190)) {
  set(f202);
  print("Feels good to walk in these greasy water with boots.");
}
if ((said("examine") ||
    said("examine","down"))) {
  print("This place looks like sewer.\nIn fact a good place to enter the castle");
  if (!isset(f201)) {
    print("You can smell from here this foul odor.\nThere is some greasy "
          "water.And is STINKS.\nI wont be surprised if it's poisonous.");
    set(f201);
  }
}
if (isset(f0)) {
  if (said("take off","boots")) {
    print("Taking off your boots while in water will make you die painfully");
  }
}
if (!isset(f101)) {
  if (said("ask","animal")) {
    print("The creature thinks of you as a tasty meal ONLY");
  }
  if (said("examine","animal")) {
    print("This water animal looks very hungry.");
  }
}
if ((said("ask","eye") ||
    said("ask","glowing","eye"))) {
  print("The eyes are just staring at you. This look doesn't predict anything "
        "good");
  print.at("Get off! This is my place.",14,25,10);
}
if (said("ask","anyword")) {
  print("There is no one to hear you.");
  print("Except for the glowing eyes");
  if (!isset(f101)) {
    print("... and this animal in the water!");
  }
}
if ((said("examine","eye") ||
    said("examine","glowing","eye"))) {
  print("They are blinking angrily.");
}
if (said("examine","boots")) {
  if (isset(f200)) {
    print("Well. They look just like an ordinary boots, but are in a good "
          "condition.");
  }
  else {
    print("I haven't seen such thing here");
  }
}
if (said("examine","tree")) {
  print("Interesting. A tree with a hole. May be I can find something.");
  print("Who knows?");
}
if (said("climb","tree")) {
  print("Good. Wanna be a monkey ?");
}
if (said("examine","hole")) {
  if (!has("boots")) {
    set(f200);
    print("Ha! Boots?!");
  }
  else {
    print("The hole is empty at the moment.");
  }
}
if (said("cast","spore")) {
  if (!has("spore")) {
    print("Good idea but you don't have spores!");
  }
  else {
    if (posn(o0,35,93,61,110)) {
      print("Come closer. You may miss if you throw your only spore from here.");
    }
    else {
      print("That will drive this hungry animal away.");
      erase(o11);
      set(f101);
      v3 += 3;
      drop("spore");
    }
  }
}
if ((said("dive") ||
    said("acquire","a","water"))) {
  if (isset(f188)) {
    print("You'll drawn yoursefl if you dive with that heavy dress. You'd "
          "better take it off before diving.");
  }
  else {
    if (posn(o0,38,95,63,115)) {
      print("Get you breath. Diving is starting.");
      new.room(13);
    }
    else {
      print("Not from here man!");
    }
  }
}
if (said("acquire","boots")) {
  if (posn(o0,16,81,26,82) &&
      isset(f200)) {
    if (!has("boots")) {
      print("OK");
      v3++;
      get("boots");
    }
    else {
      print("You already have them.");
    }
  }
  else {
    if (isset(f200)) {
      print("Get closer.");
    }
    else {
      print("What boots? Have you seen boots here?");
    }
  }
}
if (v2 == 1) {
  new.room(7);
}
if (v2 == 3) {
  new.room(6);
}
if (v2 == 4) {
  new.room(5);
}
return();

// Messages
#message 1 "Look who's here. My new tasty meal."
#message 2 "Come closer hero."
#message 3 "Come closer monk. I don't like  monks very much. Their meet isn't tasty at all. But fresh meat is a fresh meat."
#message 4 "These heroes make me feel hungry."
#message 5 "Hey leave my boots. I'll ..."
#message 6 "You'll die painfully if you stay in that water poisonous water."
#message 7 "You body is quickly melt down to the smallest parts. Now you're just another trash in the poisonous water. Bad thing hero."
#message 8 "Feels good to walk in these greasy water with boots."
#message 9 "This place looks like sewer.\nIn fact a good place to enter the castle"
#message 10 "You can smell from here this foul odor.\nThere is some greasy water.And is STINKS.\nI want be surprised if it's poisonous."
#message 11 "Taking off your boots while in water will make you die painfully"
#message 12 "The creature thinks of you as a tasty meal ONLY"
#message 13 "This water animal looks very hungry."
#message 14 "The eyes are just staring at you. This look doesn't predict anything good"
#message 15 "Get off! This is my place."
#message 16 "There is no one to hear you."
#message 17 "Except for the glowing eyes"
#message 18 "... and this animal in the water!"
#message 19 "They are blinking angrily."
#message 20 "Well. They look just like an ordinary boots, but are in a good condition."
#message 21 "I haven't seen such thing here"
#message 22 "Interesting. A tree with a hole. May be I can find something."
#message 23 "Who knows?"
#message 24 "Good. Wanna be a monkey ?"
#message 25 "Ha! Boots?!"
#message 26 "The hole is empty at the moment."
#message 27 "Good idea but you don't have spores!"
#message 28 "Come closer. You may miss if you throw your only spore from here."
#message 29 "That will drive this hungry animal away."
#message 30 "You'll drawn yoursefl if you dive with that heavy dress. You'd better take it off before diving."
#message 31 "Get you breath. Diving is starting."
#message 32 "Not from here man!"
#message 33 "OK"
#message 34 "You already have them."
#message 35 "Get closer."
#message 36 "What boots? Have you seen boots here?"
