// TOWN SCRIPT
//    Town 21: Hidden Tower


// 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(6,"Solberg");
	set_name(7,"Cheeseball");
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
		if (has_special_item(43) == 1){
			set_terrain(33,31,33);
			set_terrain(33,32,33);			
		}	
break;		

beginstate 11;
	teleport_party(33,24,0);
break;

beginstate 12;
	teleport_party(33,33,0);
break;
