#東方弾幕風
#Title[ミスティア逃亡]
#Text[]
#Image[.]
#BackGround[User]
#Player[FREE]
#ScriptVersion[2]
script_enemy_main {
    let name    = "ミスティア逃亡";
let csd = GetCurrentScriptDirectory;
    let imgBoss =csd ~ "..\lib/dot_mystia.png"; 
SetRateScoreSystemEnable(false);
    // 初期位置
    let xIni    = GetCenterX;
    let yIni    = GetClipMinY + 128;
	let wIni=30;
    @Initialize {
       LoadUserShotData(GetCurrentScriptDirectory~".\img\shot_All.txt");
        SetLife(1);
        LoadGraphic(imgBoss);
	InitializeAction();
        TMain;
    }

    @MainLoop {
	GetBossShadowPosition;
        yield;
    }

    @DrawLoop {
	DrawBossShadow( imgBoss,150,255,0,0);
	DrawBoss( imgBoss );
    }

    @Finalize {
        DeleteGraphic(imgBoss);
    }

    // メインタスク
task TMain 
{
	standBy;
}

sub standBy//初期位置へ
{
	wait(60);
	SetAction(ACT_MOVE, 60);
	SetMovePosition02(GetCenterX, GetClipMinY-64, wIni);
	wait(60);
	VanishEnemy;
}

#include_function ".\..\txt\data.txt"
#include_function ".\..\lib/lib_anime_Patchouli.txt"
}
