#include_function ".\..\..\lib\lib_boss.txt"

let imgBoss_Marisa  = GetCsdEx(".\..\..\img\dot_marisa.png");
let imgBoss_Patchouli  = GetCsdEx(".\..\..\img\dot_patchouli.png");
let imgBoss_Yukari  = GetCsdEx(".\..\..\img\dot_yukari.png");
let imgBoss_Luna  = GetCsdEx(".\..\..\img\dot_luna.png");
let imgBoss_Kaguya  = GetCsdEx(".\..\..\img\dot_kaguya.png");
let imgBoss_Mystia  = GetCsdEx(".\..\..\img\dot_mystia.png");

let imgCutin_Marisa = GetCsdEx(".\..\..\img\cutin_marisa.png");
let imgCutin_Patchouli = GetCsdEx(".\..\..\img\cutin_patchouli.png");
let imgCutin_Yukari = GetCsdEx(".\..\..\img\cutin_yukari.png");
let imgCutin_Luna = GetCsdEx(".\..\..\img\cutin_luna.png");
let imgCutin_Kaguya  = GetCsdEx(".\..\..\img\cutin_kaguya.png");
let imgCutin_Mystia  = GetCsdEx(".\..\..\img\cutin_mystia.png");

let imgDark = GetCsdEx(".\..\..\img\dark.png");
let imgNight = GetCsdEx(".\..\..\img\night.png");

let imgFam = GetCsdEx(".\..\..\img\familiar.png");

let shot_all = GetCsdEx(".\..\..\lib\shot_all.txt");

let se1 = GetCsdEx(".\..\..\se\countdown.wav");
let se2 = GetCsdEx(".\..\..\se\concentration.wav");

let selaser1 = GetCsdEx(".\..\..\se\laser01.wav");
let selaser2 = GetCsdEx(".\..\..\se\laser02.wav");

let seshot1 = GetCsdEx(".\..\..\se\shot01.wav");
let seshot2 = GetCsdEx(".\..\..\se\shot02.wav");
let seshot3 = GetCsdEx(".\..\..\se\shot03.wav");
let seshot4 = GetCsdEx(".\..\..\se\shot04.wav");
let seshot5 = "se\seBomb_ReimuB.wav";

let i = 0;
let j = 0;

function InitializeData(){
	
	if( GetCommonDataDefault("Plural",0) == 0 ){
		
		LoadGraphic(imgBoss_Marisa);
		LoadGraphic(imgBoss_Patchouli);
		LoadGraphic(imgBoss_Yukari);
		LoadGraphic(imgBoss_Luna);
		LoadGraphic(imgBoss_Kaguya);
		LoadGraphic(imgBoss_Mystia);
		
		LoadGraphic(imgCutin_Marisa);
		LoadGraphic(imgCutin_Patchouli);
		LoadGraphic(imgCutin_Yukari);
		LoadGraphic(imgCutin_Luna);
		LoadGraphic(imgCutin_Kaguya);
		LoadGraphic(imgCutin_Mystia);
		
		LoadGraphic(imgDark);
		LoadGraphic(imgNight);
		
		LoadGraphic(imgFam);
		
		LoadSE(se1);
		LoadSE(se2);
		
		LoadSE(selaser1);
		LoadSE(selaser2);
		
		LoadSE(seshot1);
		LoadSE(seshot2);
		LoadSE(seshot3);
		LoadSE(seshot4);
		LoadSE(seshot5);
		
		SetCommonData("Plural",1);
	}
	
	LoadUserShotData(shot_all);
	
	CountDown(se1);
}

function FinalizeData(){
	CreateItemEx(ITEM_SCORE,90,10);
}

function DrawBoss_NoAction(imageFile){
	SetTexture(imageFile);
	SetGraphicRect(0,0,128,128);
	DrawGraphic( GetX(),GetY() );
}