#TouhouDanmakufu[Player]
#ID["pl_seija"]
#Title["Seija"]
#ReplayName["Seija"]

#include "./../common/lib/lib_player.txt"
#include "./file.txt"
#include "./lib.txt"

@Initialize{
	Load_Common_Files;
	Load_Player_Files;
	LoadPlayerShotData(GetCurrentScriptDirectory~"./shot.txt");
	SetPlayerSpeed(4.5,2);
	_Initalize(img_pl_seija,0,0.5,24,3);
}

@MainLoop{
	_MainLoop;
	ExclLoop;
	yield;
}

@Finalize{
	Unload_Common_Files;
	Unload_Player_Files;
}

@Event{
	_Event;
	if(GetEventType==EV_REQUEST_SPELL){
		if(GetPlayerSpell>=1){
			SetScriptResult(true);
			SetPlayerSpell(GetPlayerSpell-1);
			MoFBomb;
		}else{
			SetScriptResult(false);
		}
	}
}