// portal.txt 

// Simple teleporter

// Cell 0,1 - x, coords to send to


beginobjectscript; // talking object

variables;

body;

beginstate INIT_STATE;
	break;

beginstate DEAD_STATE;
	break;

beginstate START_STATE; 
	break;

beginstate USE_STATE;
	if (gf(41,18) > 1) {
	
		begin_talk_mode(25);
		}
		

		
	//if (is_combat()) {
	//	print_str_color("Portal: You can't use a portal when you're in combat.",1);
	//	end();
	//	}
		
		sf(41,18,1);
	play_sound(251);
	print_str_color("Pylon: You touch the pylon. Moments later, you feel yourself being pulled away ...",2);
	teleport_party(360,665,1); 
break;
