@LabelIndex 136090
@StringIndex 17419
class 0 ai_teleport_to_square : default_npc {
parameter:
	int	center_square_x = -1;
	int	center_square_y = -1;
	int	center_square_z = -1;

handler:
	EventHandler TALKED(talker) {
		myself::ShowPage(talker,"enter_seed_controller001.htm");
	}

	EventHandler MENU_SELECTED(talker,ask,reply,i0,i1) {
		if( ask == -1101 && reply == 1 ) {
			i0 = ( gg::Rand(100) - 50 );
			i1 = ( gg::Rand(100) - 50 );
			myself::InstantTeleport(talker,( center_square_x + i0 ),( center_square_y + i1 ),center_square_z);
		}
	}

}
