//******************************************************************************
// あやりりすEX　ゴーストテンプレート
// 起動/終了トーク辞書
//******************************************************************************

/*ゴースト起動前の処理
{
	SHIORI3FW.SetDelayEvent('OnBalloonInfoRequest',5)
}*/

OnSHIORI3FW.ChangeSelfInfo
{
	SHIORI3FW.SetDelayEvent('OnBalloonInfoRequest',1)
}

バルーン変更
{
	_r0 = reference[0]
	_r0 = SHIORI3FW.EscapeAllTags(_r0)
	
	L('bootend_21', _r0)
}

//******************************************************************************
//初回起動 OnFirstBoot
//******************************************************************************

//---- Vanish（消滅）カウントを見て、真の初回か否かを判定する
初回起動
{
	一人称 = L('bootend_31')
	ユーザ名 = L('bootend_32')
	ユーザ敬称 = L('bootend_33')
	username = ユーザ名 + ユーザ敬称

	//---- ほんとうに初めての起動
	透明度スクリプト + L('bootend_37')

}

Vanish後初回起動
{
	一人称 = L('bootend_50')
	ユーザ名 = L('bootend_51')
	ユーザ敬称 = L('bootend_52')
	username = ユーザ名 + ユーザ敬称

	_vanish_count = TOINT(reference[0])
	
	//---- 再インストール後の初回起動
	if _vanish_count == 1
	{
		//vanish１回なら誤射かもしれない
		透明度スクリプト + L('bootend_61')
	}
	else
	{
		透明度スクリプト + L('bootend_69')
	}
}


//******************************************************************************
//通常の起動 OnBoot
//******************************************************************************
//該当がない時は「起動」でトークします。
起動
{
	透明度スクリプト + L('bootend_84')
}

//特定条件での起動トーク。

起動12月24日
{
	透明度スクリプト + L('bootend_94')
}

起動12月25日
{
	透明度スクリプト + L('bootend_103')
}

//日々の起動トーク。
平日の朝に起動
{
	
	透明度スクリプト + L('bootend_112')
}

休日の朝に起動
{
	透明度スクリプト + L('bootend_120')
}

平日の午前中に起動
{
	透明度スクリプト + L('bootend_128')
}

休日の午前中に起動
{
	休日の朝に起動
}

平日の昼に起動
{
	透明度スクリプト + L('bootend_143')
}

休日の昼に起動
{
	透明度スクリプト + L('bootend_151')
}

平日の夕方に起動
{
	透明度スクリプト + L('bootend_159')
}

休日の夕方に起動
{
	透明度スクリプト + L('bootend_168')
}

夜に起動
{
	透明度スクリプト + L('bootend_176')
}

深夜に起動
{
	透明度スクリプト + L('bootend_184')
}

//******************************************************************************
//終了 OnClose
//******************************************************************************

終了 : array
{
	透明度スクリプト + L('bootend_196')
	
	透明度スクリプト + L('bootend_200')
}

//こちらも該当がない時は「終了」

平日の朝に終了 : array
{
	透明度スクリプト + L('bootend_209')
	
	透明度スクリプト + L('bootend_215')
}

休日の朝に終了
{
	透明度スクリプト + L('bootend_222')
}

平日の昼に終了
{
	透明度スクリプト + L('bootend_230')
}

休日の昼に終了
{
	透明度スクリプト + L('bootend_237')
}

平日の夕方に終了
{
	透明度スクリプト + L('bootend_245')
}

夜に終了
{
	透明度スクリプト + L('bootend_252')
}

深夜に終了
{
	透明度スクリプト + L('bootend_260')
}


//******************************************************************************
//最小化からの復帰 OnWindowStateRestore
//******************************************************************************


OnWindowStateRestore
{
	透明度スクリプト + L('bootend_273')
	
	透明度スクリプト + L('bootend_277')
	
	透明度スクリプト + L('bootend_281')
}
