#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-600);
	SetY(GetClipMinY-600);
	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");

@Initialize{
  LoadGraphic(Yuyukosmile);
  LoadGraphic(Yuyukoneutral);}


@MainLoop{
SetChar(LEFT, Yuyukoneutral);                 
SetGraphicRect(LEFT, 0, 0, 190, 312);           
MoveChar(LEFT, FRONT);  
TextOutA("\c[PURPLE]So,that's it.\nThis spirit returned to his world.\nI guess I should head back too.");

SetChar(LEFT, Yuyukosmile); 
TextOutA("\c[PURPLE]Dinner must be ready!");


MoveChar(LEFT, BACK);                                      

TextOutA("\c[WHITE]However,as she floated back to her home, questions were in her mind.\nWhy taking the appearance of the miko?\nWhat this spirit's world looked like?\nThese questions won't probably be ever answered.\nOr at least...\n\nNot by her.");

MoveChar(LEFT, FRONT); 
SetChar(LEFT, Yuyukoneutral); 
TextOutA("\c[PURPLE]Before I forgot...");

SetChar(LEFT, Yuyukosmile); 
TextOutA("\c[PURPLE]Thanks for playing!");

SetStep(1);
End;  
}


@Finalize{

}
}
