#東方弾幕風[Stage]
#Title[テスト1]
#Text[テスト1]
#ScriptVersion[2]

script_stage_main {

 @Initialize {
  TStage;
 }

 @MainLoop {
  yield;
 }

 @Finalize {
 }

 task TStage {
  wait(60);
  test(GetClipMinY + 20);

  wait(120);
  ClearStage;
 }

 function wait(w) {
  loop(w) { yield; }
 }

 function test(y) {
  loop(9) {
   CreateEnemyFromFile(GetCurrentScriptDirectory~"道中.txt", GetCenterX, y, 1, rand(85, 95), 0);
   wait(30);
  }
 }

}