#SEQUENCE "coords";
# wait( rand(.5,2.5));
# avar("explode_x", add(75, rand(-15, 15)));
  avar("explode_rand", rand(0,2));
  var func = nop;
  func = if(greater(avar("explode_rand"), 1), avar, nop);
  func("explode_y", add(75, rand(-20, -10)));
  var func3 = nop;
  func3 = if(eq(avar("on_temple"), 1), seq_jump, nop);
  func3("kill");
  var func2 = nop;
  func2 = if(leq(avar("explode_rand"), 1), avar, nop);
  func2("explode_y", add(char_get_y("player"), rand(10, 20)));
# seq_jump("explode");

#SEQUENCE "explode";
# explosion_make( avar("explode_x"), avar("explode_y"), 6, .5, 1);
  sound_play("ambient/explode_03.wav", avar("explode_x"), avar("explode_y"), 1, 24, 0);
  seq_jump ("coords");
