
#include "defines.txt"

if (new_room) {
  load.pic(room_no);
  draw.pic(room_no);
  discard.pic(room_no);
  set.horizon(50);

  show.pic();

  reset(f16);
  reset(f17);

  if(v1==8) {
   position(ego,3,114);
   draw(ego);
  }

  if(v1==12) {
   position(ego,123,148);
   draw(ego);
  }

  if(v1==6) {
  animate.obj(o1);
  load.view(10);
  set.view(o1,10);
  set.loop(o1,0);
  set.cel(o1,0);
  position(o1,85,18);
  set.priority(o1,4);
  ignore.blocks(o1);
  release.loop(o1);
  draw(o1);

  move.obj(o1,85,91,2,f16);

  }
}

if(isset(f16)) {
  reset(f16);
  set.loop(o1,1);
  end.of.loop(o1,f17);
}

if(isset(f17)) {
  reset(f17);
  erase(o1);
  position(ego,87,93);
  draw(ego);
  print("A quick levitation spell and low gravity removes the threat of a sprained ankle.");
  print("You should think about gathering the ingredients for another ritual. It's the only way you're going to get back to your own universe.");
  print("Trouble is, it's going to be difficult to find candles or salt in this place. Your notebook should have details on alternatives.");
         print("\"The Ritual of Transdimensional Transference demands a knife, salt, candles and blood. If you have difficulty gathering these, here are some alternatives.");
         print("\"The spell only demands that your cutting implement be sharp. Anything with an edge on it would be suitable.");
         print("\"The candles are there to represent life - beacons in darkness. Henceforth anything that emits light could work.");
         print("\"The spell isn't choosy what kind of blood you use - just as long as is blood.");
         print("\"Lastly, powdered bone is on a similar level to salt regarding occult power.\"");
  stop.motion(ego);
  start.motion(ego);
}

if (said("look")) {
  print("This is another section of the rock formation floating in this strange parallel universe.");
}

if (said("look","rock")) {
  print("The rock you were so recently standing on hangs overhead. You won't be going back up there in a hurry.");
}

if (said("look","sky")) {
  print("Just looking at it makes me feel queasy.");
}

if(v2==4) {
 new.room(8);
}

if(v2==3) {
 new.room(12);
}

if(isset(f3)) {
  erase(ego);
  death_type=2;
    }

return();



