#TouhouDanmakufu
#Title[boss 1 convo 1.]
#Text[Nyan~]
#Player[FREE]
#ScriptVersion[2]
#BackGround[]

script_enemy_main {
   	
    @Initialize {
	SetCommonData("conversation", true);
        SetLife(1);
        SetInvincibility(10000);
	SetDamageRate(100,0);
       	SetX(GetClipMinX-300);
	SetY(GetClipMinY-300);
	CreateEventFromScript("conversation");
	
       
    }

@MainLoop{
	if(GetCommonDataDefault("conversation", false)==true){
	if(GetEventStep==1){
	AddLife(-GetEnemyLife);
	}




	}
yield;
}
   



@DrawLoop{

}


}



script_event conversation{
let Yuyukosmile =GetCurrentScriptDirectory ~ ("img\cut\Yuyuko.png");
let Yuyukoneutral =GetCurrentScriptDirectory ~ ("img\cut\Yuyuko2.png");
let Yuyukoserious =GetCurrentScriptDirectory ~ ("img\cut\Yuyuko3.png");

let bgm = GetCurrentScriptDirectory~"bgm\youmu.mp3";

let Youmu =GetCurrentScriptDirectory~ ("img\cut\Youmu.png");

@Initialize{
  LoadGraphic(Yuyukosmile);
  LoadGraphic(Yuyukoneutral);
  LoadGraphic(Yuyukoserious);
  LoadGraphic(Youmu);
	

	LoadMusic(bgm);
 }

@MainLoop{
SetChar(LEFT, Yuyukosmile);                 
SetGraphicRect(LEFT, 0, 0, 190, 312);           
MoveChar(LEFT, FRONT);                                      
MoveChar(RIGHT, BACK);

TextOutA("\c[PURPLE]So, now, can we go on a walk?");
SetChar(RIGHT, Youmu); 

SetGraphicRect(RIGHT, 0, 0, 190, 312);
MoveChar(LEFT, BACK);
MoveChar(RIGHT, FRONT);                          
SetStep(5);
Wait(1);


  
TextOutA("\c[AQUA]Hm,I guess.But where do you want to go?");
Wait(70);   
Wait(1);
MoveChar(RIGHT, BACK);                             
MoveChar(LEFT, FRONT);  
SetChar(LEFT, Yuyukosmile);  
TextOutA("\c[PURPLE]To the dephts of Hakugyokurou.I have...a thing to check there.");                    
MoveChar(RIGHT, FRONT);                        
MoveChar(LEFT, BACK);                    
TextOutA("\c[AQUA]I guess I'll come.As if I ever had the choice.");
MoveChar(RIGHT, BACK);                           
MoveChar(LEFT, FRONT);
SetChar(LEFT, Yuyukoneutral);  
TextOutA("\c[PURPLE]Precisely. \nSo, shall we go?"); 
MoveChar(RIGHT, FRONT);                           
MoveChar(LEFT, BACK);
TextOutA("\c[AQUA]Just let me get some food and other    supplies.");
Wait(30);
MoveChar(RIGHT, FRONT); 
TextOutA("\c[AQUA]There,it's all ready.");
MoveChar(RIGHT, BACK);                           
MoveChar(LEFT, FRONT);
SetChar(LEFT, Yuyukosmile); 
TextOutA("\c[PURPLE]Oh, great, I love eating under the     cherry blossoms."); 
Wait(60);
SetChar(LEFT, Yuyukoserious); 
TextOutA("\c[PURPLE]Except this time...it isn't going to bea picnic."); 
Wait(60);
SetStep(1);
End;  
}


@Finalize{

}
}
