// TOWN SCRIPT
//    Town 42: Giant Castle


begintownscript;

variables;

int i,j,k,r1,choice;


body;

beginstate INIT_STATE;
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
	// any message can go here.
	move_to_new_town(43,6,36);
break;

beginstate 11;
	// any message can go here.
	move_to_new_town(43,38,15);
break;

beginstate 12;
	// any message can go here.
	move_to_new_town(43,18,2);
break;

beginstate 13;
	// any message can go here.
	flip_terrain(29,39);
	flip_terrain(30,39);	
break;



//The wheel refuses to turn, at first. You soon find that it's held in place by a massive iron padlock. Fortunately, the key you found in the basement unlocks it. You turn the wheel and the castle gates open.
//The wheel refuses to turn, at first. You soon find that it's held in place by a massive iron padlock. Fortunately, you are strong enough to smash the lock. After it's gone, you turn the wheel and the castle gates open.
//The wheel refuses to turn. You soon find that it's held in place by a massive iron padlock. Unfortunately, you don't have the key, and you aren't strong enough to break the lock. You aren't able to escape. Yet.
//
//There are several neat piles of nicely rounded boulders here, patiently waiting to be thrown at someone much like you.There is a huge wheel here, with a chain wrapped around it several times. The chain is rusted, though, and the mechanism is broken. The giants must not have gotten around to repairing it.
//
//You strike down the massive chief of the giant clan. He wore a large tin key on a chain around his neck. You take it.
//
//You are at the opening between the entry chamber and the courtyard. There is a curious lack of giants at the guardposts. It's quiet out here. Too quiet.
//You return to the trapdoor. You try to figure out how to get around or deactivate the trap, but it's too large and too well constructed. You back away.
//
//The floor suddenly opens up under you, dropping you into the depths. You soon land on a pile of rotting fungus below.You aren't hurt by the fall, but you're trapped deep inside the giant's fortress.*
//
