// TOWN SCRIPT
//    Town 63: Skarragath

// This is the special encounter script for this town.
// The states INIT_STATE, EXIT_STATE, and START_STATE have
// meanings that are described in the documenation. States you write
// yourself should be numbered from 10-100.

begintownscript;

variables;

int i,j,k,r1,choice;


body;

beginstate INIT_STATE;
	set_name(23,"Undead Wizard");

break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
	set_terrain(19,24,0);
break;

beginstate 11;
	if (get_terrain(34,24) == 29) {
	set_terrain(19,24,0);
	flip_terrain(33,24);
	flip_terrain(34,24);
	}
break;

// There is a massive structure completely blocking the passage to the east. The walls are formed of massive blocks of stone. Whoever built this place was determined that nobody get past without considerable trouble.
// The wall facing you has no visible means of entry. You have no idea how you could get inside.
// The wall facing you has no visible means of entry. As you watch the fort, a pair of gates slowly appear in the wall, allowing you entry. As you watch, a word appears above the gates, carved into the stone. The word is "Skarragath."As you approach Skarragath, the eastern gates open for you.
