#SEQUENCE "shoot";
# wait( .15, 1);
  move_to(char_get_x("player"), char_get_y("player"), 0);
# var script = "";
    script =
      add(
        "  *faction       = \"good\";
            *move_x        = ", num_to_str( this_x(),  1 ),"; 
			*move_y        = ", num_to_str( this_y(),  1 ),"; 
		    *orig_x        = 0;
            *orig_y        = 0.0;
            *orig_z        = 1;
			*tracking      = 1;
            *delay         = 1;
            *emit_parts    = { \"light_charge_yellow_01\" };
            *emit_rate     = 20;
            *speed         = 25;
            *shots         = 9;
            *rate          = 25.0;
            *error         = 100;
            *damage        = mult(50, avar(\"projdamage_level\"));
            *particle      = \"light_shot_yellow_01\";
            *vec_sounds    = { \"monsters/tree_shot_01.wav\", \"monsters/tree_shot_02.wav\" };
            *line_of_sight = -1.0;
		"
        );

    this_control_push(
      "shoot",
      script,
      1
      );
  wait( .15, 1 );
  move_to(char_get_x("player"), char_get_y("player"), 0);
# wait( .5, 1);
  move_to(char_get_x("player"), char_get_y("player"), 0);
# var script = "";
    script =
      add(
        "  *faction       = \"good\";
            *move_x        = ", num_to_str( this_x(),  1 ),"; 
			*move_y        = ", num_to_str( this_y(),  1 ),"; 
		    *orig_x        = 0;
            *orig_y        = 0.0;
            *orig_z        = 1;
            *speed         = 25;
            *shots         = 9;
            *rate          = 25.0;
            *error         = 100;
            *damage        = mult(50, avar(\"projdamage_level\"));
            *particle      = \"light_shot_yellow_01\";
            *vec_sounds    = { \"monsters/tree_shot_01.wav\", \"monsters/tree_shot_02.wav\" };
            *line_of_sight = -1.0;
		"
        );

    this_control_push(
      "shoot",
      script,
      1
      );
  wait( .15, 1 );
  move_to(char_get_x("player"), char_get_y("player"), 0);
# wait( .5, 1);
  move_to(char_get_x("player"), char_get_y("player"), 0);
# var script = "";
    script =
      add(
        "  *faction       = \"good\";
            *move_x        = ", num_to_str( this_x(),  1 ),"; 
			*move_y        = ", num_to_str( this_y(),  1 ),"; 
		    *orig_x        = 0;
            *orig_y        = 0.0;
            *orig_z        = 1;
            *speed         = 25;
            *shots         = 9;
            *rate          = 25.0;
            *error         = 100;
            *damage        = mult(50, avar(\"projdamage_level\"));
            *particle      = \"light_shot_yellow_01\";
            *vec_sounds    = { \"monsters/tree_shot_01.wav\", \"monsters/tree_shot_02.wav\" };
            *line_of_sight = -1.0;
		"
        );

    this_control_push(
      "shoot",
      script,
      1
      );
  wait( .15, 1 );
  move_to(char_get_x("player"), char_get_y("player"), 0);
# wait( 1, 1);
  move_to(char_get_x("player"), char_get_y("player"), 0);
# this_control_pop();
# wait(.15);
