
////////////////////////////////////////////////////////////
//	プレイヤー処理部分
//	プレイヤーを追加する場合は以下の各メソッドに固有処理を追加してください。
////////////////////////////////////////////////////////////

//スクリプト初期化
function onInitialize() {
	alternative ( m_nPlayerIndex )
	case ( 0 ) {
		//ルーミア
		onInitialize00();
	}
	case ( 1 ) {
		//霊符
		onInitialize01();
	}
	case ( 2 ) {
		//夢符
		onInitialize02();
	}
	case ( 3 ) {
		//魔符
		onInitialize03();
	}
	case ( 4 ) {
		//恋符
		onInitialize04();
	}
	case ( 5 ) {
		//幻符
		onInitialize05();
	}
	case ( 6 ) {
		//時符
		onInitialize06();
	}
	others {
	}
}

//メインループ
//@Initializeの最後に起動されます
task MainTask() {
	alternative ( m_nPlayerIndex )
	case ( 0 ) {
		//ルーミア
		MainTask00();
	}
	case ( 1 ) {
		//霊符
		MainTask01();
	}
	case ( 2 ) {
		//夢符
		MainTask02();
	}
	case ( 3 ) {
		//魔符
		MainTask03();
	}
	case ( 4 ) {
		//恋符
		MainTask04();
	}
	case ( 5 ) {
		//幻符
		MainTask05();
	}
	case ( 6 ) {
		//時符
		MainTask06();
	}
	others {
	}
}

//平常時ループ
function onMainLoop() {
	alternative ( m_nPlayerIndex )
	case ( 0 ) {
		//ルーミア
		onMainLoop00();
	}
	case ( 1 ) {
		//霊符
		onMainLoop01();
	}
	case ( 2 ) {
		//夢符
		onMainLoop02();
	}
	case ( 3 ) {
		//魔符
		onMainLoop03();
	}
	case ( 4 ) {
		//恋符
		onMainLoop04();
	}
	case ( 5 ) {
		//幻符
		onMainLoop05();
	}
	case ( 6 ) {
		//時符
		onMainLoop06();
	}
	others {
	}
}

//ミス時ループ
function onMissedLoop() {
	alternative ( m_nPlayerIndex )
	case ( 0 ) {
		//ルーミア
		onMissedLoop00();
	}
	case ( 1 ) {
		//霊符
		onMissedLoop01();
	}
	case ( 2 ) {
		//夢符
		onMissedLoop02();
	}
	case ( 3 ) {
		//魔符
		onMissedLoop03();
	}
	case ( 4 ) {
		//恋符
		onMissedLoop04();
	}
	case ( 5 ) {
		//幻符
		onMissedLoop05();
	}
	case ( 6 ) {
		//時符
		onMissedLoop06();
	}
	others {
	}
}

//スペカ宣言時
function onSpellCard() {
	alternative ( m_nPlayerIndex )
	case ( 0 ) {
		//ルーミア
		onSpellCard00();
	}
	case ( 1 ) {
		//霊符
		onSpellCard01();
	}
	case ( 2 ) {
		//夢符
		onSpellCard02();
	}
	case ( 3 ) {
		//魔符
		onSpellCard03();
	}
	case ( 4 ) {
		//恋符
		onSpellCard04();
	}
	case ( 5 ) {
		//幻符
		onSpellCard05();
	}
	case ( 6 ) {
		//時符
		onSpellCard06();
	}
	others {
	}
}

//描画ループ
function onDrawLoop() {
	alternative ( m_nPlayerIndex )
	case ( 0 ) {
		//ルーミア
		onDrawLoop00();
	}
	case ( 1 ) {
		//霊符
		onDrawLoop01();
	}
	case ( 2 ) {
		//夢符
		onDrawLoop02();
	}
	case ( 3 ) {
		//魔符
		onDrawLoop03();
	}
	case ( 4 ) {
		//恋符
		onDrawLoop04();
	}
	case ( 5 ) {
		//幻符
		onDrawLoop05();
	}
	case ( 6 ) {
		//時符
		onDrawLoop06();
	}
	others {
	}
}

//スクリプト終了
function onFinalize() {
	alternative ( m_nPlayerIndex )
	case ( 0 ) {
		//ルーミア
		onFinalize00();
	}
	case ( 1 ) {
		//霊符
		onFinalize01();
	}
	case ( 2 ) {
		//夢符
		onFinalize02();
	}
	case ( 3 ) {
		//魔符
		onFinalize03();
	}
	case ( 4 ) {
		//恋符
		onFinalize04();
	}
	case ( 5 ) {
		//幻符
		onFinalize05();
	}
	case ( 6 ) {
		//時符
		onFinalize06();
	}
	others {
	}
}

