#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 Mimaneutral =GetCurrentScriptDirectory~ ("img\cut\Mima.png");
let Mimasmile =GetCurrentScriptDirectory~ ("img\cut\Mima2.png");

@Initialize{
  LoadGraphic(Yuyukosmile);
  LoadGraphic(Yuyukoneutral);
  LoadGraphic(Yuyukoserious);
 
  LoadGraphic(Mimaneutral);
	
  LoadGraphic(Mimasmile);
 }


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

TextOutA("\c[PURPLE]So,have you felt anything suspicious   recently?");
SetChar(RIGHT, Mimaneutral); 

SetGraphicRect(RIGHT, 0, 0, 190, 312);
MoveChar(LEFT, BACK);
MoveChar(RIGHT, FRONT);                          
SetStep(5);
Wait(1);
  
TextOutA("\c[BLUE]Yes,I think it came from where you are living,but I'm not sure...");


MoveChar(RIGHT, BACK);                             
MoveChar(LEFT, FRONT);  
SetChar(LEFT, Yuyukosmile);  
TextOutA("\c[PURPLE]Oh.Well,it was a nice trip anyway.\n\nTime to go home I guess~");                    

SetStep(1);
End;  
}


@Finalize{

}
}
