#SEQUENCE "stop";
# wait(.15);
# char_activate("player", 0);
# wait(.1);
# avar("teleport", 0);

# seq_jump(if(gvar("gfx_world_particles"), "particles", "check"));

#SEQUENCE "particles";
# var func = nop;
  func = if(geq(lvar("count"), 10), seq_jump, nop);
  func("check");
# particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  particle_make( "mist_02", rand(0,200), rand(0,100), rand(9,24), rand(0.1,0.5), rand(-.1,.3), 0, 0 );
  lvar("count", add(lvar("count"), 10));
# wait( .0001 );

#SEQUENCE "check";
# var func = nop;
  func = if(eq(avar("pitch_loaded"), 1), seq_jump, nop);
  func("kill");
# seq_jump("start");

#SEQUENCE "start";
//# sound_play("ambient/wind.wav", 1.0 );
# wait(.1);
# seq_jump("spawn_01");

#SEQUENCE "spawn_01";
# avar("waiting", 0);
# char_make("kidney_lvl_00", rand(500, 550), rand(500, 550), "kidney_lvl_00", 1 );
  char_make("landmine_red", rand(500, 550), rand(500, 550), "landmine_red", 1 );
# seq_jump("kill");

#SEQUENCE "kill";
# wait ( .5 );
# screenFX_fade( "fade_black", .5, 0 );
  avar("loading", 0);
# wait( 1 );
# load_event("city/tut_start");
  char_activate("player", 1);
# kill_this();
# seq_jump("wait");

#SEQUENCE "wait";
# wait( 10000 );
