int checkFloor() {
string result = visit_url("adventure.php?snarfblat=324");
if(contains_text(result, "You have to learn to walk before you can learn to fly."))
return 0;
else if (contains_text(result, "You'll have to figure out some other way to get upstairs."))
return 1;
else {
setCastleChoices();
bumRunCombat();
return 2;
}
}