script_enemy_main{
let D	= GetCurrentScriptDirectory;
let imgFam = D ~ "system\yuyuko.png";
let shot = D ~ "supershot.txt";
let s1 = D ~ "sfx\Shot.wav";
@Initialize{
    SetLife(25);
    LoadGraphic(imgFam);
    LoadUserShotData(shot);
    SetMovePosition03(GetCenterX,GetCenterY,8,4);
 }
@MainLoop{
	yield;
}
@DrawLoop{
	SetTexture(imgFam);
	SetRenderState(ALPHA);
	SetAlpha(255);
	SetGraphicRect(0,0,256,512);
	SetGraphicScale(0.15,0.15);
	SetGraphicAngle(0,0,0);
	DrawGraphic(GetX,GetY);
 }
@Finalize{
loop(3){CreateItem(ITEM_1UP,GetX,GetY); wait(20);}
}
	function wait(w){loop(w){yield;}}
}}