if (isset(f2) &&
    v9 == 0 &&
    !isset(f4)) {
  if ((said("ass","rol") ||
      said("anyword","ass","rol") ||
      said("anyword","anyword","ass","rol") ||
      said("anyword","anyword","anyword","ass","rol") ||
      said("anyword","anyword","anyword","anyword","ass","rol") ||
      said("anyword","anyword","anyword","anyword","anyword","ass","rol"))) {
    v252 += 1;
    if (v252 == 1) {
      print("I am going to tell on you!");
    }
    if (v252 == 2) {
      print("Don't say anymore words like that!");
    }
    if (v252 == 3) {
      print("Don't say I didn't warn you.");
      quit(1);
    }
  }


 if (said("examine","jar")) {
    if (has("jar")) {
      show.obj(236);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","jar")) {
      if (has("jar")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","gold")) {
    if (has("gold")) {
      show.obj(237);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","gold")) {
      if (has("gold")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","apples")) {
    if (has("apples")) {
      show.obj(238);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","apples")) {
      if (has("apples")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","amulet")) {
    if (has("amulet")) {
      show.obj(239);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","amulet")) {
      if (has("amulet")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","coin")) {
    if (has("coin")) {
      show.obj(240);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","coin")) {
      if (has("coin")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","note")) {
    if (has("note")) {
      show.obj(241);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","note")) {
      if (has("note")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","spellbook")) {
    if (has("spellbook")) {
      show.obj(242);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","spellbook")) {
      if (has("spellbook")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","statue")) {
    if (has("statue")) {
      show.obj(243);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","statue")) {
      if (has("statue")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
if (said("examine","heal")) {
    if (has("heal")) {
      show.obj(233);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","heal")) {
      if (has("heal")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","light")) {
    if (has("light")) {
      show.obj(234);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","light")) {
      if (has("light")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","float")) {
    if (has("float")) {
      show.obj(235);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","float")) {
      if (has("float")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","rope")) {
    if (has("rope")) {
      show.obj(255);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","rope")) {
      if (has("rope")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }

  if (said("examine","sleep")) {
    if (has("sleep")) {
      show.obj(231);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","sleep")) {
      if (has("sleep")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","rain")) {
    if (has("rain")) {
      show.obj(232);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","sleep")) {
      if (has("sleep")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","symbol")) {
    if (has("symbol")) {
      show.obj(246);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","symbol")) {
      if (has("symbol")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","meat")) {
    if (has("meat")) {
      show.obj(245);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","meat")) {
      if (has("meat")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","sapphire")) {
    if (has("sapphire")) {
      show.obj(248);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","sapphire")) {
      if (has("sapphire")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","ruby")) {
    if (has("ruby")) {
      show.obj(230);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","ruby")) {
      if (has("ruby")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","amethyst")) {
    if (has("amethyst")) {
      show.obj(229);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","amethyst")) {
      if (has("amethyst")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
if (said("examine","aquamarine")) {
    if (has("aquamarine")) {
      show.obj(228);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","aquamarine")) {
      if (has("aquamarine")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","emerald")) {
    if (has("emerald")) {
      show.obj(227);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","emerald")) {
      if (has("emerald")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","sphere")) {
    if (has("sphere")) {
      show.obj(226);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","sphere")) {
      if (has("sphere")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","bucket")) {
    if (has("bucket")) {
      show.obj(225);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","bucket")) {
      if (has("bucket")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
if (said("examine","bucket of water")) {
    if (has("bucket of water")) {
      show.obj(224);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","bucket of water")) {
      if (has("bucket of water")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }

 if (said("examine","wind")) {
    if (has("wind")) {
      show.obj(219);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","wind")) {
      if (has("wind")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","strength")) {
    if (has("strength")) {
      show.obj(220);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","strength")) {
      if (has("strength")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","shoes")) {
    if (has("shoes")) {
      show.obj(222);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","shoes")) {
      if (has("shoes")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","bracelet")) {
    if (has("bracelet")) {
      show.obj(223);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","bracelet")) {
      if (has("bracelet")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","jar of mud")) {
    if (has("jar of mud")) {
      show.obj(244);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","jar of mud")) {
      if (has("jar of mud")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","berries")) {
    if (has("berries")) {
      show.obj(247);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","berries")) {
      if (has("berries")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","ash")) {
    if (has("ash")) {
      show.obj(249);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","ash")) {
      if (has("ash")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","fruit")) {
    if (has("fruit")) {
      show.obj(250);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","fruit")) {
      if (has("fruit")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
if (said("examine","flowers")) {
    if (has("flowers")) {
      show.obj(251);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","flowers")) {
      if (has("flowers")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
 if (said("examine","mushroom")) {
    if (has("mushroom")) {
      show.obj(252);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","mushroom")) {
      if (has("mushroom")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
  if (said("examine","mint")) {
    if (has("mint")) {
      show.obj(254);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","mint")) {
      if (has("mint")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }
if (said("examine","potion")) {
    if (has("potion")) {
      show.obj(253);
    }
    else {
      print("You don't have it.");
    }
    if (said("get","potion")) {
      if (has("potion")) {
        print("You already have it.");
      }
      else {
        reset(f4);
      }
    }
  }


 if ((said("examine","anyword") ||
      said("examine","anyword","anyword"))) {
    print("What? Where?");
  }
  if ((said("aquire","anyword") ||
      said("aquire","anyword","anyword"))) {
    print("You can't get that here!");
  }
  if ((said("use","anyword") ||
      said("use","anyword","anyword"))) {
    print("What do you want me to do with it?");
  }
}
if(isset(f218)){
if(has("light")){
if(said("cast","light")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(7);
set.view(o16,7);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
start.cycling(o16);
set(f229);
}}}
if(isset(f229)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f229);
print("You spell illuminates your surroundings.");
erase(o16);
draw(o0);
accept.input();
player.control();
}
if(isset(f218)){
if(has("float")){
if(said("cast","float")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(9);
set.view(o16,9);
set.loop(o16,0);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
end.of.loop(o16,f230);
start.cycling(o16);
}}}
if(isset(f230)){
set.loop(o16,1);
start.cycling(o16);
reset(f230);
set(f231);
}
if(isset(f231)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f231);
print("You float for a bit and decide to descend.");
erase(o16);
player.control();
accept.input();
draw(o0);
}
if(isset(f218)){
if(has("heal")){
if(said("cast","heal")){
v209= 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(115);
set.view(o16,115);
set.loop(o16,0);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
end.of.loop(o16,f232);
start.cycling(o16);
}}}
if(isset(f232)){
set.loop(o16,1);
start.cycling(o16);
reset(f232);
set(f233);
}
if(isset(f233)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f233);
print("You practice your healing spell.");
erase(o16);
player.control();
accept.input();
draw(o0);
}
if(isset(f218)){
if(has("sleep")){
if(said("cast","sleep")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(12);
set.view(o16,12);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
start.cycling(o16);
set(f236);
}}}
if(isset(f236)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f236);
print("You practice your sleep spell, careful not to put yourself to sleep.");
erase(o16);
draw(o0);
accept.input();
player.control();
}
if(isset(f218)){
if(has("rain")){
if(said("cast","rain")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(6);
set.view(o16,6);
set.loop(o16,0);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
end.of.loop(o16,f235);
start.cycling(o16);
}}}
if(isset(f235)){
set.loop(o16,1);
start.cycling(o16);
reset(f235);
set(f237);
}
if(isset(f237)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f237);
print("You play around with your rain spell, getting your hair a bit wet.");
erase(o16);
player.control();
accept.input();
draw(o0);
}














if(has("light")){
if(said("cast","light")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(2);
set.view(o16,2);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
start.cycling(o16);
set(f220);
}}
if(isset(f220)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f220);
print("You spell illuminates your surroundings.");
erase(o16);
draw(o0);
accept.input();
player.control();
}
if(has("float")){
if(said("cast","float")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(3);
set.view(o16,3);
set.loop(o16,0);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
end.of.loop(o16,f221);
start.cycling(o16);
}}
if(isset(f221)){
set.loop(o16,1);
start.cycling(o16);
reset(f221);
set(f223);
}
if(isset(f223)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f223);
print("You float for a bit and decide to descend.");
erase(o16);
player.control();
accept.input();
draw(o0);
}
if(has("heal")){
if(said("cast","heal")){
v209= 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(4);
set.view(o16,4);
set.loop(o16,0);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
end.of.loop(o16,f224);
start.cycling(o16);
}}
if(isset(f224)){
set.loop(o16,1);
start.cycling(o16);
reset(f224);
set(f225);
}
if(isset(f225)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f225);
print("You practice your healing spell.");
erase(o16);
player.control();
accept.input();
draw(o0);
}
if(has("sleep")){
if(said("cast","sleep")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(5);
set.view(o16,5);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
start.cycling(o16);
set(f226);
}}
if(isset(f226)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f226);
print("You practice your sleep spell, careful not to put yourself to sleep.");
erase(o16);
draw(o0);
accept.input();
player.control();
}
if(has("rain")){
if(said("cast","rain")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(1);
set.view(o16,1);
set.loop(o16,0);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
end.of.loop(o16,f227);
start.cycling(o16);
}}
if(isset(f227)){
set.loop(o16,1);
start.cycling(o16);
reset(f227);
set(f228);
}
if(isset(f228)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f228);
print("You play around with your rain spell, getting your hair a bit wet.");
erase(o16);
player.control();
accept.input();
draw(o0);
}

if(has("wind")){
if(said("cast","wind")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(8);
set.view(o16,8);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
start.cycling(o16);
set(f238);
}}
if(isset(f238)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f238);
print("You cast your wind spell, messing up your hair.");
erase(o16);
draw(o0);
accept.input();
player.control();
}
if(has("strength")){
if(said("cast","strength")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(11);
set.view(o16,11);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
start.cycling(o16);
set(f239);
}}
if(isset(f239)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f239);
print("You feel a lot stronger.");
erase(o16);
draw(o0);
accept.input();
player.control();
}



if(has("fruit")){
if(said("eat","fruit")){
get.posn(o0,v100,v101);
program.control();
prevent.input();
erase(o0);
animate.obj(o16);
load.view(79);
set.view(o16,79);
set.loop(o16,0);
position.v(o16,v100,v101);
draw(o16);
end.of.loop(o16,f50);
v209=0;
}}
if(isset(f50)){
reset(f50);
set.loop(o16,1);
start.cycling(o16);
set(f51);
}
if(isset(f51)){
v209+=1;
}
if(v209==30){
v209=0;
reset(f51);
Print("You eat the delicious fruit. It tingles slightly.");
set.loop(o16,2);
start.cycling(o16);
end.of.loop(o16,f52);
}
if(isset(f52)){
reset(f52);
set.loop(o16,3);
start.cycling(o16);
set(f53);
}
if(isset(f53)){
v209+=1;
}
if(v209==30){
v209=0;
reset(f53);
set.loop(o16,4);
start.cycling(o16);
set(f54);
}
if(isset(f54)){
v209+=1;
}
if(v209==30){
v209=0;
reset(f54);
print("That felt strange. I think I've learnt another spell!");
print("You feel you now have the ability to cast a great WIND.");
erase(o16);
draw(o0);
drop("fruit");
get("wind");
player.control();
accept.input();
}
if(has("mushroom")){
if(said("eat","mushroom")){
program.control();
prevent.input();
get.posn(o0,v100,v101);
print("You take a bite of the strange mushroom.");
erase(o0);
animate.obj(o16);
load.view(82);
set.view(o16,82);
set.loop(o16,0);
position.v(o16,v100,v101);
draw(o16);
end.of.loop(o16,f55);
}}
if(isset(f55)){
reset(f55);
set.loop(o16,1);
start.cycling(o16);
set(f56);
}
if(isset(f56)){
v209+=1;
}
if(v209==30){
v209=0;
reset(f56);
print("You have been transformed into a bird permanently!");
v35=1;
}
if(said("elf","apple")){
set(f218);
}
if(has("fire")){
if(said("cast","fire")){
v209= 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(14);
set.view(o16,14);
set.loop(o16,0);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
end.of.loop(o16,f193);
start.cycling(o16);
}}
if(isset(f193)){
set.loop(o16,1);
start.cycling(o16);
reset(f193);
set(f194);
}
if(isset(f194)){
v210 += 1;
}
if(v210 == 50){
v210 = 0;
reset(f194);
print("You practice your fire spell, being careful not to get burnt.");
erase(o16);
player.control();
accept.input();
draw(o0);
}

if(has("frost")){
if(said("cast","frost")){
v209 = 0;
program.control();
prevent.input();
animate.obj(o16);
load.view(13);
set.view(o16,13);
get.posn(o0,v104,v105);
erase(o0);
position.v(o16,v104,v105);
draw(o16);
start.cycling(o16);
set(f195);
}}
if(isset(f195)){
v209 += 1;
}
if(v209 == 30){
v209 = 0;
reset(f195);
print("You play with your frost spell getting a few goosebumps.");
erase(o16);
draw(o0);
accept.input();
player.control();
}

return();

// Messages
#message 1 "I am going to tell on you!"
#message 2 "Don't say anymore words like that!"
#message 3 "Don't say I didn't warn you."
#message 4 "You don't have it."
#message 5 "What? Where?"
#message 6 "You can't get that here!"
#message 7 "What do you want me to do with it?"