#SEQUENCE "wait";
# wait(0.2, 1);
  move( 1000, 1000, 0);
  this_control_push( 
  "range faction",
    "*faction    = \"good\";
     *min_dist   = 0.5;
	 *max_dist   = 300.1;
	 *predict_dist = 6;
	 *predict_weight = 1;
	 *aggressive = 1;
	 *action     = 
	 \"
	   var func = nop;
	   func = if(eq(this_get_attribute(\\\"wait\\\"), 1), this_control_pop, nop);
	   func();
	   this_set_attribute(\\\"wait\\\", 1);
	   *wait = 5;
	 
	 \";
    "
  ,
  1.0
  );
# wait( .15, 1 ); 
  move(1000, 1000, 0);
# this_set_attribute("wait", 0);
# seq_jump("fight");

#SEQUENCE "fight";
# var r = rand(0, 10);
  this_control_push("script", if(geq(r, 3), "bosses/whipstone_spiral_in", 
  "bosses/whipstone_dervish"));
  wait( .15, 1 );
  move_to( 1000, 1000, 0 );
# seq_jump("wait");
