<?xml version="1.0" encoding="shift-jis"?>

<exbulletml>

<!-- ********************************************************************* -->
<!-- *** 次のステージ判定（中身は適宜変更すること）*********************** -->
<action label="common_scenetrans_nextstage_judge">
	<global name="prevstage">$_stagenum*10+$_stageflag</global>


	<!-- *** １→２面 **************************************************** -->
	<repeat><times>$_stagenum-eq1</times>

		<!-- 判定用 -->
		<!-- 2-BＯＫ：会話で0,1を選択、かつ、侵食率50%未満、かつ、双子使用率が20-80の間 -->
		
		
		<!-- 羽板兄妹の場合 -->
		<repeat><times>$_twinstype-eq1</times>
			<!-- フラグ H2 かつ H3 でステージ 2-B -->
			<sysvar name="_arg0">1</sysvar><eval name="f1">$_gameflag</eval>			
			<sysvar name="_arg0">2</sysvar><eval name="f2">$_gameflag</eval>			
			<sysvar name="_arg0">3</sysvar><eval name="f3">$_gameflag</eval>			
			<eval name="stage2_judge">$f1*$f2*$f3</eval>	
		</repeat>
		
		<!-- 西條姉妹の場合 -->
		<repeat><times>$_twinstype-eq2</times>
			<!-- フラグ S2 かつ S3 でステージ 2-B -->
			<sysvar name="_arg0">1</sysvar><eval name="f1">$_gameflag</eval>			
			<sysvar name="_arg0">2</sysvar><eval name="f2">$_gameflag</eval>			
			<sysvar name="_arg0">3</sysvar><eval name="f3">$_gameflag</eval>			
			<eval name="stage2_judge">$f1*$f2*$f3</eval>	
		</repeat>
		
		<!-- ホシミ姉妹の場合 -->
		<repeat><times>$_twinstype-eq3</times>
			<!-- フラグ M2 かつ M3 でステージ 2-B -->
			<sysvar name="_arg0">1</sysvar><eval name="f1">$_gameflag</eval>			
			<sysvar name="_arg0">2</sysvar><eval name="f2">$_gameflag</eval>			
			<sysvar name="_arg0">3</sysvar><eval name="f3">$_gameflag</eval>			
			<eval name="stage2_judge">$f1*$f2*$f3</eval>	
		</repeat>
		

		<!-- デフォルトは2A -->
		<sysvar name="nextstage">20</sysvar>

		<!-- 条件合致で2B -->
		<repeat><times>$stage2_judge-eq1</times>
			<sysvar name="nextstage">21</sysvar>
		</repeat>

	</repeat>

	<!-- *** ２→３面 **************************************************** -->
	<repeat><times>$_stagenum-eq2</times>
		<!-- フラグ53に２面のルートを記録 -->
		<setGameFlag><num>53</num><flag>$_stageflag</flag></setGameFlag>
		<sysvar name="nextstage">30</sysvar>
	</repeat>

	<!-- *** ３→４面 **************************************************** -->
	<repeat><times>$_stagenum-eq3</times>
		<!-- 羽板兄妹の場合 -->
		<repeat><times>$_twinstype-eq1</times>
			<!-- フラグ H18の選択肢次第 でステージ分岐 -->
			<sysvar name="_arg0">18</sysvar><eval name="f1">$_gameflag</eval>			
		</repeat>
		
		<!-- 西條姉妹の場合 -->
		<repeat><times>$_twinstype-eq2</times>
			<!-- フラグ S17の選択肢次第 でステージ分岐 -->
			<sysvar name="_arg0">17</sysvar><eval name="f1">$_gameflag</eval>			
		</repeat>
		
		<!-- ホシミ姉妹の場合 -->
		<repeat><times>$_twinstype-eq3</times>
			<!-- フラグ S17の選択肢次第 でステージ分岐 -->
			<sysvar name="_arg0">14</sysvar><eval name="f1">$_gameflag</eval>			
		</repeat>
		

		<!-- デフォルトは4A -->
		<sysvar name="nextstage">40</sysvar>

		<!-- 条件合致で4B -->
		<repeat><times>$f1-eq1</times>
			<sysvar name="nextstage">41</sysvar>
		</repeat>
		<!-- 条件合致で4C -->
		<repeat><times>$f1-eq2</times>
			<sysvar name="nextstage">42</sysvar>
		</repeat>
	</repeat>
	
	<!-- *** ４→５面 **************************************************** -->
	<repeat><times>$_stagenum-eq4</times>
	
		<!-- フラグ52に４面のルートを記録 -->
		<setGameFlag><num>52</num><flag>$_stageflag</flag></setGameFlag>

		<!-- 羽板兄妹の場合 -->
		<repeat><times>$_twinstype-eq1</times>
			<!-- 4A -->	
			<repeat><times>$_stageflag-eq0</times><sysvar name="nextstage">50</sysvar></repeat>

			<!-- 4B -->	
			<repeat><times>$_stageflag-eq1</times>
				<!-- フラグ H26 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">26</sysvar><eval name="f26">$_gameflag</eval>			
				<repeat><times>$f26-eq0</times><sysvar name="nextstage">50</sysvar></repeat>
				<repeat><times>$f26-eq1</times><sysvar name="nextstage">51</sysvar></repeat>
			</repeat>

			<!-- 4C -->	
			<repeat><times>$_stageflag-eq2</times>
				<!-- フラグ H30 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">30</sysvar><eval name="f30">$_gameflag</eval>			
				<repeat><times>$f30-eq0</times><sysvar name="nextstage">50</sysvar></repeat>
				<repeat><times>$f30-eq1</times><sysvar name="nextstage">51</sysvar></repeat>
				<repeat><times>$f30-eq2</times><sysvar name="nextstage">52</sysvar></repeat>
			</repeat>
		</repeat>

		<!-- 西條姉妹の場合 -->
		<repeat><times>$_twinstype-eq2</times>
			<!-- 4A -->	
			<repeat><times>$_stageflag-eq0</times><sysvar name="nextstage">50</sysvar></repeat>

			<!-- 4B -->	
			<repeat><times>$_stageflag-eq1</times>
				<!-- フラグ S25 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">25</sysvar><eval name="f25">$_gameflag</eval>			

				<repeat><times>$f25-eq0</times><sysvar name="nextstage">50</sysvar></repeat>
				<repeat><times>$f25-eq1</times><sysvar name="nextstage">51</sysvar></repeat>
			</repeat>

			<!-- 4C -->	
			<repeat><times>$_stageflag-eq2</times>
				<!-- フラグ S29 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">29</sysvar><eval name="f29">$_gameflag</eval>			
				
				<repeat><times>$f29-eq0</times><sysvar name="nextstage">50</sysvar></repeat>
				<repeat><times>$f29-eq1</times><sysvar name="nextstage">51</sysvar></repeat>
				<repeat><times>$f29-eq2</times><sysvar name="nextstage">52</sysvar></repeat>
			</repeat>
		</repeat>
		
		<!-- ホシミ姉妹の場合 -->
		<repeat><times>$_twinstype-eq3</times>
			<!-- 4A -->	
			<repeat><times>$_stageflag-eq0</times><sysvar name="nextstage">50</sysvar></repeat>

			<!-- 4B -->	
			<repeat><times>$_stageflag-eq1</times>
				<!-- フラグ M22 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">22</sysvar><eval name="f22">$_gameflag</eval>			

				<repeat><times>$f22-eq0</times><sysvar name="nextstage">50</sysvar></repeat>
				<repeat><times>$f22-eq1</times><sysvar name="nextstage">51</sysvar></repeat>
			</repeat>

			<!-- 4C -->	
			<repeat><times>$_stageflag-eq2</times>
				<!-- フラグ M26 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">26</sysvar><eval name="f26">$_gameflag</eval>			
				
				<repeat><times>$f26-eq0</times><sysvar name="nextstage">50</sysvar></repeat>
				<repeat><times>$f26-eq1</times><sysvar name="nextstage">51</sysvar></repeat>
				<repeat><times>$f26-eq2</times><sysvar name="nextstage">52</sysvar></repeat>
			</repeat>
		</repeat>
		
		
		
	</repeat>
	
	<!-- *** ５→６面 **************************************************** -->
	<repeat><times>$_stagenum-eq5</times>

		<!-- フラグ51に５面のルートを記録 -->
		<setGameFlag><num>51</num><flag>$_stageflag</flag></setGameFlag>

		<!-- 羽板兄妹の場合 -->
		<repeat><times>$_twinstype-eq1</times>
			<!-- 5A -->	
			<repeat><times>$_stageflag-eq0</times><sysvar name="nextstage">60</sysvar></repeat>

			<!-- 5B -->	
			<repeat><times>$_stageflag-eq1</times>
				<!-- フラグ H35 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">35</sysvar><eval name="f35">$_gameflag</eval>			
				<repeat><times>$f35-eq2</times><sysvar name="nextstage">60</sysvar></repeat>
				<repeat><times>1-($f35-eq2)</times><sysvar name="nextstage">61</sysvar></repeat>
			</repeat>

			<!-- 5C -->	
			<repeat><times>$_stageflag-eq2</times>
				<!-- フラグ H37 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">37</sysvar><eval name="f37">$_gameflag</eval>			
				<repeat><times>($f37-eq2)</times><sysvar name="nextstage">61</sysvar></repeat>
				<repeat><times>1-($f37-eq2)</times><sysvar name="nextstage">62</sysvar></repeat>
			</repeat>
		</repeat>

		<!-- 西條姉妹の場合 -->
		<repeat><times>$_twinstype-eq2</times>
			<!-- 5A -->	
			<repeat><times>$_stageflag-eq0</times><sysvar name="nextstage">60</sysvar></repeat>

			<!-- 5B -->	
			<repeat><times>$_stageflag-eq1</times>
				<!-- フラグ S30/S33 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">30</sysvar><eval name="f30">$_gameflag</eval>			
				<sysvar name="_arg0">32</sysvar><eval name="f32">$_gameflag</eval>			
				<sysvar name="_arg0">33</sysvar><eval name="f33">$_gameflag</eval>			
				<repeat><times>(1-($f30-eq1)*(1-($f32-eq1))*($f33-eq0))</times><sysvar name="nextstage">60</sysvar></repeat>
				<repeat><times>($f30-eq1)*(1-($f32-eq1))*($f33-eq0)</times><sysvar name="nextstage">61</sysvar></repeat>
			</repeat>

			<!-- 5C -->	
			<repeat><times>$_stageflag-eq2</times>
				<!-- フラグ S35 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">34</sysvar><eval name="f34">$_gameflag</eval>			
				<sysvar name="_arg0">35</sysvar><eval name="f35">$_gameflag</eval>			
				<repeat><times>(($f34-eq1)+($f35-eq1))-gt0</times><sysvar name="nextstage">62</sysvar></repeat>
				<repeat><times>(($f34-eq1)+($f35-eq1))-eq0</times><sysvar name="nextstage">61</sysvar></repeat>
			</repeat>
		</repeat>
		
		<!-- ホシミ姉妹の場合 -->
		<repeat><times>$_twinstype-eq3</times>
			<!-- 5A -->	
			<repeat><times>$_stageflag-eq0</times><sysvar name="nextstage">60</sysvar></repeat>

			<!-- 5B -->	
			<repeat><times>$_stageflag-eq1</times>
				<!-- フラグ M31/M32 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">31</sysvar><eval name="f31">$_gameflag</eval>			
				<sysvar name="_arg0">32</sysvar><eval name="f32">$_gameflag</eval>			
				<repeat><times>(1-((1-($f31-eq1))*($f32-eq0)))-eq1</times><sysvar name="nextstage">60</sysvar></repeat>
				<repeat><times>((1-($f31-eq1))*($f32-eq0))-eq1</times><sysvar name="nextstage">61</sysvar></repeat>
			</repeat>

			<!-- 5C -->	
			<repeat><times>$_stageflag-eq2</times>
				<!-- フラグ M33/M34 の選択肢次第 でステージ分岐 -->
				<sysvar name="_arg0">33</sysvar><eval name="f33">$_gameflag</eval>			
				<sysvar name="_arg0">34</sysvar><eval name="f34">$_gameflag</eval>			
				<repeat><times>(($f33-eq1)+($f34-eq1))-eq0</times><sysvar name="nextstage">61</sysvar></repeat>
				<repeat><times>(($f33-eq1)+($f34-eq1))-gt0</times><sysvar name="nextstage">62</sysvar></repeat>
			</repeat>
		</repeat>
	</repeat>
	
	<repeat><times>$_stagenum-eq6</times>
		<setGameFlag><num>49</num><flag>0</flag></setGameFlag>

		<!-- *** ６Ａ→エピローグ **************************************************** -->
		<repeat><times>$_stageflag-eq0</times>
			<sysvar name="nextstage">80</sysvar>
			<setGameFlag><num>70</num><flag>0</flag></setGameFlag>
		
			<!-- 羽板兄妹の場合 -->
			<repeat><times>$_twinstype-eq1</times>
				<sysvar name="_arg0">43</sysvar><eval name="f43">$_gameflag</eval>			
				<repeat><times>$_continuenum-eq0</times>
					<!-- 6-A さくら -->
					<repeat><times>1-($f43-eq0)</times>
						<setGameFlag><num>50</num><flag>0</flag></setGameFlag>
						<setEnding><num>1</num></setEnding>
					</repeat>		
					<!-- 6-A 慎也 -->
					<repeat><times>$f43-eq0</times>
						<setGameFlag><num>50</num><flag>3</flag></setGameFlag>
						<setEnding><num>4</num></setEnding>
					</repeat>				
				</repeat>
				<!-- バッドエンド（羽板共通） -->
				<repeat><times>$_continuenum-gt0</times>
					<setGameFlag><num>50</num><flag>6</flag></setGameFlag>
					<setEnding><num>7</num></setEnding>
				</repeat>
			</repeat>	
	
			<!-- 西條姉妹の場合 -->
			<repeat><times>$_twinstype-eq2</times>
				<sysvar name="_arg0">40</sysvar><eval name="f40">$_gameflag</eval>			
				<repeat><times>$_continuenum-eq0</times>
					<!-- 6-A 悠莉 -->
					<repeat><times>$f40-eq0</times>
						<setGameFlag><num>50</num><flag>0</flag></setGameFlag>
						<setEnding><num>10</num></setEnding>
					</repeat>
					<!-- 6-A 真悠 -->
					<repeat><times>1-($f40-eq0)</times>
						<setGameFlag><num>50</num><flag>1</flag></setGameFlag>
						<setEnding><num>13</num></setEnding>
					</repeat>
				</repeat>
				<repeat><times>$_continuenum-gt0</times>
					<!-- バッドエンド（西條共通） -->
					<setGameFlag><num>50</num><flag>7</flag></setGameFlag>
					<setEnding><num>17</num></setEnding>
				</repeat>	
			</repeat>	
	
			<!-- ホシミ姉妹の場合 -->
			<repeat><times>$_twinstype-eq3</times>
				<sysvar name="_arg0">36</sysvar><eval name="f36">$_gameflag</eval>			
				<repeat><times>$_continuenum-eq0</times>		
					<!-- 6-A ツバサ -->
					<repeat><times>$f36-eq1</times>
						<setGameFlag><num>50</num><flag>0</flag></setGameFlag>
						<setEnding><num>20</num></setEnding>
					</repeat>
					<!-- 6-A マイハ -->
					<repeat><times>1-($f36-eq1)</times>
						<setGameFlag><num>50</num><flag>3</flag></setGameFlag>
						<setEnding><num>23</num></setEnding>
					</repeat>		
				</repeat>
				<repeat><times>$_continuenum-gt0</times>
					<!-- バッドエンド（ホシミ共通） -->
					<setGameFlag><num>50</num><flag>6</flag></setGameFlag>
					<setEnding><num>26</num></setEnding>
				</repeat>
			</repeat>	
	
	
		</repeat>

		<!-- *** ６ＢＣ→７面 **************************************************** -->
		<repeat><times>($_stageflag-eq1)+($_stageflag-eq2)</times>
			<!-- フラグ４９に６面のルートを記録 -->
			<setGameFlag><num>49</num><flag>$_stageflag</flag></setGameFlag>
			<sysvar name="nextstage">70</sysvar>		
		</repeat>


	</repeat>
	
	<!-- *** ７→エピローグ **************************************************** -->
	<repeat><times>($_stagenum-eq7)</times>
		<sysvar name="nextstage">80</sysvar>
		<setGameFlag><num>70</num><flag>0</flag></setGameFlag>

		<!-- 羽板兄妹の場合 -->
		<repeat><times>$_twinstype-eq1</times>
			<sysvar name="_arg0">49</sysvar><eval name="f49">$_gameflag</eval>			
			<sysvar name="_arg0">44</sysvar><eval name="f44">$_gameflag</eval>			
			<sysvar name="_arg0">45</sysvar><eval name="f45">$_gameflag</eval>			

			<!-- 6-B 経由 -->
			<repeat><times>$f49-eq1</times>
				<repeat><times>$_continuenum-eq0</times>
					<!-- 6-B さくら -->
					<repeat><times>1-($f44-eq0)</times>
						<setGameFlag><num>50</num><flag>1</flag></setGameFlag>
						<setEnding><num>2</num></setEnding>
					</repeat>					
					<!-- 6-B 慎也 -->
					<repeat><times>$f44-eq0</times>
						<setGameFlag><num>50</num><flag>4</flag></setGameFlag>
						<setEnding><num>5</num></setEnding>
					</repeat>				
				</repeat>			
				<!-- バッドエンド（羽板共通） -->
				<repeat><times>$_continuenum-gt0</times>
					<setGameFlag><num>50</num><flag>6</flag></setGameFlag>
					<setEnding><num>7</num></setEnding>
				</repeat>						
			</repeat>
			<!-- 6-C 経由 -->
			<repeat><times>$f49-eq2</times>
				<repeat><times>$_continuenum-eq0</times>
					<!-- 6-C さくら -->
					<repeat><times>1-($f45-eq0)</times>
						<setGameFlag><num>50</num><flag>2</flag></setGameFlag>
						<setEnding><num>3</num></setEnding>
					</repeat>					
					<!-- 6-C 慎也 -->
					<repeat><times>$f45-eq0</times>
						<setGameFlag><num>50</num><flag>5</flag></setGameFlag>
						<setEnding><num>6</num></setEnding>
					</repeat>
				</repeat>			
				<repeat><times>$_continuenum-gt0</times>
					<!-- バッドエンド（さくら） -->
					<repeat><times>1-($f45-eq0)</times>
						<setGameFlag><num>50</num><flag>7</flag></setGameFlag>
						<setEnding><num>8</num></setEnding>
					</repeat>					
					<!-- バッドエンド（慎也） -->
					<repeat><times>$f45-eq0</times>
						<setGameFlag><num>50</num><flag>8</flag></setGameFlag>
						<setEnding><num>9</num></setEnding>
					</repeat>
				</repeat>			
			</repeat>
		</repeat>		

		<!-- 西條姉妹の場合 -->
		<repeat><times>$_twinstype-eq2</times>
			<sysvar name="_arg0">49</sysvar><eval name="f49">$_gameflag</eval>			
			<sysvar name="_arg0">41</sysvar><eval name="f41">$_gameflag</eval>			
			<sysvar name="_arg0">38</sysvar><eval name="f38">$_gameflag</eval>			

			<!-- 6-B 経由 -->
			<repeat><times>$f49-eq1</times>
				<repeat><times>$_continuenum-eq0</times>		
					<!-- 6-B 悠莉 -->
					<repeat><times>$f41-eq0</times>
						<setGameFlag><num>50</num><flag>2</flag></setGameFlag>
						<setEnding><num>11</num></setEnding>
					</repeat>
					<!-- 6-B 真悠 -->
					<repeat><times>1-($f41-eq0)</times>
						<setGameFlag><num>50</num><flag>3</flag></setGameFlag>
						<setEnding><num>14</num></setEnding>
					</repeat>		
				</repeat>
				<!-- バッドエンド（西條共通） -->
				<repeat><times>$_continuenum-gt0</times>
					<setGameFlag><num>50</num><flag>7</flag></setGameFlag>
					<setEnding><num>17</num></setEnding>
				</repeat>	
			</repeat>
			
			<!-- 6-C 経由 -->
			<repeat><times>$f49-eq2</times>
				<repeat><times>$_continuenum-eq0</times>		
					<!-- 6-C 悠莉 -->
					<repeat><times>$f38-eq0</times>
						<setGameFlag><num>50</num><flag>4</flag></setGameFlag>
						<setEnding><num>12</num></setEnding>
					</repeat>
					<!-- 6-C 真悠 -->
					<repeat><times>$f38-eq1</times>
						<setGameFlag><num>50</num><flag>5</flag></setGameFlag>
						<setEnding><num>15</num></setEnding>
					</repeat>		
					<!-- 6-C 双子 -->
					<repeat><times>$f38-eq2</times>
						<setGameFlag><num>50</num><flag>6</flag></setGameFlag>
						<setEnding><num>16</num></setEnding>
					</repeat>		
				</repeat>
				<repeat><times>$_continuenum-gt0</times>
					<!-- バッドエンド（悠莉） -->
					<repeat><times>$f38-eq0</times>
						<setGameFlag><num>50</num><flag>9</flag></setGameFlag>
						<setEnding><num>18</num></setEnding>
					</repeat>
					<!-- バッドエンド（真悠） -->
					<repeat><times>$f38-eq1</times>
						<setGameFlag><num>50</num><flag>8</flag></setGameFlag>
						<setEnding><num>19</num></setEnding>
					</repeat>		
					<!-- バッドエンド（西條共通） -->
					<repeat><times>$f38-eq2</times>
						<setGameFlag><num>50</num><flag>7</flag></setGameFlag>
						<setEnding><num>17</num></setEnding>
					</repeat>		
				</repeat>	
			</repeat>
		</repeat>
		
		<!-- ホシミ姉妹の場合 -->
		<repeat><times>$_twinstype-eq3</times>
			<sysvar name="_arg0">49</sysvar><eval name="f49">$_gameflag</eval>			
			<sysvar name="_arg0">37</sysvar><eval name="f37">$_gameflag</eval>			
			<sysvar name="_arg0">40</sysvar><eval name="f40">$_gameflag</eval>			
		
			<!-- 6-B 経由 -->
			<repeat><times>$f49-eq1</times>
				<repeat><times>$_continuenum-eq0</times>		
					<!-- 6-B ツバサ -->
					<repeat><times>$f37-eq1</times>
						<setGameFlag><num>50</num><flag>1</flag></setGameFlag>
						<setEnding><num>21</num></setEnding>
					</repeat>
					<!-- 6-B マイハ -->
					<repeat><times>$f37-eq0</times>
						<setGameFlag><num>50</num><flag>4</flag></setGameFlag>
						<setEnding><num>24</num></setEnding>
					</repeat>
				</repeat>
				<repeat><times>$_continuenum-gt0</times>
					<!-- バッドエンド（ホシミ共通） -->
					<setGameFlag><num>50</num><flag>6</flag></setGameFlag>
					<setEnding><num>26</num></setEnding>
				</repeat>
			</repeat>

			<!-- 6-C 経由 -->
			<repeat><times>$f49-eq2</times>
				<repeat><times>$_continuenum-eq0</times>
					<!-- 6-C ツバサ -->
					<repeat><times>$f40-eq1</times>
						<setGameFlag><num>50</num><flag>2</flag></setGameFlag>
						<setEnding><num>22</num></setEnding>
					</repeat>
					<!-- 6-C マイハ -->
					<repeat><times>$f40-eq0</times>
						<setGameFlag><num>50</num><flag>5</flag></setGameFlag>
						<setEnding><num>25</num></setEnding>
					</repeat>					
				</repeat>
				<repeat><times>$_continuenum-gt0</times>
					<!-- バッドエンド（ホシミ共通） -->
					<setGameFlag><num>50</num><flag>6</flag></setGameFlag>
					<setEnding><num>26</num></setEnding>
				</repeat>
			</repeat>
		</repeat>
	</repeat>
	
	<!-- *** EX→エピローグ **************************************************** -->
	<repeat><times>($_stagenum-eq9)</times>
		<sysvar name="nextstage">80</sysvar>
		<setGameFlag><num>70</num><flag>1</flag></setGameFlag>
	
	</repeat>
	
</action>

<action label="common_scenetrans_thisstage_judge">
	<repeat><times>$_stagenum-lt10</times>
		<sysvar name="nextstage">$_stagenum*10+$_stageflag</sysvar>
	</repeat>
</action>


<action label="common_scenetrans_goto_title_action">
	<system><command>cleartexture</command></system>
	<exefile><file>common_scenetrans.xml</file></exefile>
	<exefile><file>common_string.xml</file></exefile>
	<exefile><file>common_text.xml</file></exefile>
	<exefile><file>title_main.xml</file></exefile>
	<exefile><file>title_top.xml</file></exefile>
	<exefile><file>title_bg.xml</file></exefile>
	<exefile><file>difficulty_select_main.xml</file></exefile>
	<exefile><file>practice_stageselect.xml</file></exefile>
	<exefile><file>charselect_main.xml</file></exefile>	
	<exefile><file>record_score_main.xml</file></exefile>	
	<exefile><file>record_score_detail.xml</file></exefile>	
	<exefile><file>record_difficulty_main.xml</file></exefile>	
	<exefile><file>record_ending.xml</file></exefile>	
	<exefile><file>record_select.xml</file></exefile>	
	<exefile><file>record_sound.xml</file></exefile>	
	<exefile><file>replay_main.xml</file></exefile>	
	<exefile><file>replay_select.xml</file></exefile>	
	<exefile><file>config_main.xml</file></exefile>	
	<exefile><file>online_top.xml</file></exefile>
	<exefile><file>online_name_main.xml</file></exefile>
	<exefile><file>online_score_main.xml</file></exefile>
	<exefile><file>online_score_detail.xml</file></exefile>
	<exefile><file>online_difficulty_main.xml</file></exefile>
	<exefile><file>online_character_main.xml</file></exefile>
</action>
<action label="common_scenetrans_goto_replay_back_action">
	<system><command>cleartexture</command></system>
	<exefile><file>common_scenetrans.xml</file></exefile>
	<exefile><file>common_string.xml</file></exefile>
	<exefile><file>common_text.xml</file></exefile>
	<exefile><file>title_main.xml</file></exefile>
	<exefile><file>title_bg.xml</file></exefile>
	<exefile><file>difficulty_select_main.xml</file></exefile>
	<exefile><file>practice_stageselect.xml</file></exefile>
	<exefile><file>charselect_main.xml</file></exefile>	
	<exefile><file>record_score_main.xml</file></exefile>	
	<exefile><file>record_score_detail.xml</file></exefile>	
	<exefile><file>record_difficulty_main.xml</file></exefile>	
	<exefile><file>record_ending.xml</file></exefile>	
	<exefile><file>record_select.xml</file></exefile>	
	<exefile><file>record_sound.xml</file></exefile>	
	<exefile><file>replay_main.xml</file></exefile>	
	<exefile><file>replay_select.xml</file></exefile>	
	<exefile><file>replay_back.xml</file></exefile>	
	<exefile><file>config_main.xml</file></exefile>	
	<exefile><file>online_top.xml</file></exefile>
	<exefile><file>online_name_main.xml</file></exefile>
	<exefile><file>online_score_main.xml</file></exefile>
	<exefile><file>online_score_detail.xml</file></exefile>
	<exefile><file>online_difficulty_main.xml</file></exefile>
	<exefile><file>online_character_main.xml</file></exefile>
</action>


<action label="common_scenetrans_stage_async_action">
	<!-- STAGE 1 -->
	<repeat><times>$_nextstage-eq10</times>
		<actionRef label="common_scenetrans_stage1_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 2A -->
	<repeat><times>$_nextstage-eq20</times>
		<actionRef label="common_scenetrans_stage2A_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 2B -->
	<repeat><times>$_nextstage-eq21</times>
		<actionRef label="common_scenetrans_stage2B_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 3 -->
	<repeat><times>$_nextstage-eq30</times>
		<actionRef label="common_scenetrans_stage3_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 4A -->
	<repeat><times>$_nextstage-eq40</times>
		<actionRef label="common_scenetrans_stage4A_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 4B -->
	<repeat><times>$_nextstage-eq41</times>
		<actionRef label="common_scenetrans_stage4B_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 4C -->
	<repeat><times>$_nextstage-eq42</times>
		<actionRef label="common_scenetrans_stage4C_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 5A -->
	<repeat><times>$_nextstage-eq50</times>
		<actionRef label="common_scenetrans_stage5A_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 5B -->
	<repeat><times>$_nextstage-eq51</times>
		<actionRef label="common_scenetrans_stage5B_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 5C -->
	<repeat><times>$_nextstage-eq52</times>
		<actionRef label="common_scenetrans_stage5C_async_action"></actionRef>
	</repeat>

	<!-- STAGE 6A -->
	<repeat><times>$_nextstage-eq60</times>
		<actionRef label="common_scenetrans_stage6A_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 6B -->
	<repeat><times>$_nextstage-eq61</times>
		<actionRef label="common_scenetrans_stage6B_async_action"></actionRef>
	</repeat>
	
	<!-- STAGE 6C -->
	<repeat><times>$_nextstage-eq62</times>
		<actionRef label="common_scenetrans_stage6C_async_action"></actionRef>
	</repeat>

	<!-- STAGE 7 -->
	<repeat><times>$_nextstage-eq70</times>
		<actionRef label="common_scenetrans_stage7_async_action"></actionRef>
	</repeat>

	<!-- EPILOGUE -->
	<repeat><times>$_nextstage-eq80</times>
		<actionRef label="common_scenetrans_epilogue_async_action"></actionRef>
	</repeat>

	<!-- EXTRA STAGE -->
	<repeat><times>$_nextstage-eq90</times>
		<actionRef label="common_scenetrans_stageEX_async_action"></actionRef>
	</repeat>

</action>


<action label="common_scenetrans_stage_sync_action">
	<!-- STAGE 1 -->
	<repeat><times>$_nextstage-eq10</times>
		<actionRef label="common_scenetrans_stage1_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 2A -->
	<repeat><times>$_nextstage-eq20</times>
		<actionRef label="common_scenetrans_stage2A_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 2B -->
	<repeat><times>$_nextstage-eq21</times>
		<actionRef label="common_scenetrans_stage2B_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 3 -->
	<repeat><times>$_nextstage-eq30</times>
		<actionRef label="common_scenetrans_stage3_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 4A -->
	<repeat><times>$_nextstage-eq40</times>
		<actionRef label="common_scenetrans_stage4A_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 4B -->
	<repeat><times>$_nextstage-eq41</times>
		<actionRef label="common_scenetrans_stage4B_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 4C -->
	<repeat><times>$_nextstage-eq42</times>
		<actionRef label="common_scenetrans_stage4C_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 5A -->
	<repeat><times>$_nextstage-eq50</times>
		<actionRef label="common_scenetrans_stage5A_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 5B -->
	<repeat><times>$_nextstage-eq51</times>
		<actionRef label="common_scenetrans_stage5B_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 5C -->
	<repeat><times>$_nextstage-eq52</times>
		<actionRef label="common_scenetrans_stage5C_sync_action"></actionRef>
	</repeat>

	<!-- STAGE 6A -->
	<repeat><times>$_nextstage-eq60</times>
		<actionRef label="common_scenetrans_stage6A_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 6B -->
	<repeat><times>$_nextstage-eq61</times>
		<actionRef label="common_scenetrans_stage6B_sync_action"></actionRef>
	</repeat>
	
	<!-- STAGE 6C -->
	<repeat><times>$_nextstage-eq62</times>
		<actionRef label="common_scenetrans_stage6C_sync_action"></actionRef>
	</repeat>

	<!-- STAGE 7 -->
	<repeat><times>$_nextstage-eq70</times>
		<actionRef label="common_scenetrans_stage7_sync_action"></actionRef>
	</repeat>

	<!-- EPILOGUE -->
	<repeat><times>$_nextstage-eq80</times>
		<actionRef label="common_scenetrans_epilogue_sync_action"></actionRef>
	</repeat>

	<!-- EXTRA STAGE -->
	<repeat><times>$_nextstage-eq90</times>
		<actionRef label="common_scenetrans_stageEX_sync_action"></actionRef>
	</repeat>

</action>


<action label="common_scenetrans_stage_action">
	<!-- STAGE 1 -->
	<repeat><times>$_nextstage-eq10</times>
		<actionRef label="common_scenetrans_stage1_action"></actionRef>
	</repeat>
	
	<!-- STAGE 2A -->
	<repeat><times>$_nextstage-eq20</times>
		<actionRef label="common_scenetrans_stage2A_action"></actionRef>
	</repeat>
	
	<!-- STAGE 2B -->
	<repeat><times>$_nextstage-eq21</times>
		<actionRef label="common_scenetrans_stage2B_action"></actionRef>
	</repeat>

	<!-- STAGE 3 -->
	<repeat><times>$_nextstage-eq30</times>
		<actionRef label="common_scenetrans_stage3_action"></actionRef>
	</repeat>

	<!-- STAGE 4A -->
	<repeat><times>$_nextstage-eq40</times>
		<actionRef label="common_scenetrans_stage4A_action"></actionRef>
	</repeat>
	
	<!-- STAGE 4B -->
	<repeat><times>$_nextstage-eq41</times>
		<actionRef label="common_scenetrans_stage4B_action"></actionRef>
	</repeat>

	<!-- STAGE 4C -->
	<repeat><times>$_nextstage-eq42</times>
		<actionRef label="common_scenetrans_stage4C_action"></actionRef>
	</repeat>

	<!-- STAGE 5A -->
	<repeat><times>$_nextstage-eq50</times>
		<actionRef label="common_scenetrans_stage5A_action"></actionRef>
	</repeat>
	
	<!-- STAGE 5B -->
	<repeat><times>$_nextstage-eq51</times>
		<actionRef label="common_scenetrans_stage5B_action"></actionRef>
	</repeat>

	<!-- STAGE 5C -->
	<repeat><times>$_nextstage-eq52</times>
		<actionRef label="common_scenetrans_stage5C_action"></actionRef>
	</repeat>

	<!-- STAGE 6A -->
	<repeat><times>$_nextstage-eq60</times>
		<actionRef label="common_scenetrans_stage6A_action"></actionRef>
	</repeat>
	
	<!-- STAGE 6B -->
	<repeat><times>$_nextstage-eq61</times>
		<actionRef label="common_scenetrans_stage6B_action"></actionRef>
	</repeat>

	<!-- STAGE 6C -->
	<repeat><times>$_nextstage-eq62</times>
		<actionRef label="common_scenetrans_stage6C_action"></actionRef>
	</repeat>

	<!-- STAGE 7 -->
	<repeat><times>$_nextstage-eq70</times>
		<actionRef label="common_scenetrans_stage7_action"></actionRef>
	</repeat>

	<!-- EPILOGUE -->
	<repeat><times>$_nextstage-eq80</times>
		<actionRef label="common_scenetrans_epilogue_action"></actionRef>
	</repeat>

	<!-- EXTRA STAGE  -->
	<repeat><times>$_nextstage-eq90</times>
		<actionRef label="common_scenetrans_stageEX_action"></actionRef>
	</repeat>

</action>

<action label="common_scenetrans_common_async_action">
	<exefileasync><file>replay_save.xml</file></exefileasync>
	<exefileasync><file>common_pause.xml</file></exefileasync>
	<exefileasync><file>common_item.xml</file></exefileasync>
	<exefileasync><file>common_string.xml</file></exefileasync>
	<exefileasync><file>common_enemy.xml</file></exefileasync>
	<exefileasync><file>common_explosion.xml</file></exefileasync>
	<exefileasync><file>common_bossaction.xml</file></exefileasync>
	<exefileasync><file>common_scenetrans.xml</file></exefileasync>
	<exefileasync><file>common_stageend.xml</file></exefileasync>
	<exefileasync><file>common_text.xml</file></exefileasync>
	<exefileasync><file>maingame_setting.xml</file></exefileasync>

	<actionRef label="common_scenetrans_typeN_async_action"></actionRef>
</action>

<action label="common_scenetrans_common_sync_action">
	<exefile><file>replay_save.xml</file></exefile>
	<exefile><file>common_pause.xml</file></exefile>
	<exefile><file>common_item.xml</file></exefile>
	<exefile><file>common_string.xml</file></exefile>
	<exefile><file>common_enemy.xml</file></exefile>
	<exefile><file>common_explosion.xml</file></exefile>
	<exefile><file>common_bossaction.xml</file></exefile>
	<exefile><file>common_scenetrans.xml</file></exefile>
	<exefile><file>common_stageend.xml</file></exefile>
	<exefile><file>common_text.xml</file></exefile>
	<exefile><file>maingame_setting.xml</file></exefile>

	<actionRef label="common_scenetrans_typeN_sync_action"></actionRef>
</action>

<!-- *** STAGE 1 ********************************************************* -->
<action label="common_scenetrans_stage1_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage1_bg.xml</file></exefileasync>
	<exefileasync><file>stage1_common.xml</file></exefileasync>
	
	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage1_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage1_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage1_type3_text.xml</file></exefileasync>
	</repeat>
	

	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage1_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage1_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage1_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage1_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage1_bg.xml</file></exefile>
	<exefile><file>stage1_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage1_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage1_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage1_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage1_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage1_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage1_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage1_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage1_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage1_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage1_main_hard.xml</file></exefile>	
	</repeat>
</action>


<!-- *** STAGE 2A ******************************************************** -->
<action label="common_scenetrans_stage2A_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage2_bg.xml</file></exefileasync>
	<exefileasync><file>stage2_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage2A_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage2A_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage2A_type3_text.xml</file></exefileasync>
	</repeat>
		
	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage2A_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage2A_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage2A_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage2A_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage2_bg.xml</file></exefile>
	<exefile><file>stage2_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage2A_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage2A_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage2A_type3_text.xml</file></exefile>
	</repeat>
		
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage2A_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage2A_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage2A_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage2A_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage2A_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage2A_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage2A_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 2B ******************************************************** -->
<action label="common_scenetrans_stage2B_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage2_bg.xml</file></exefileasync>
	<exefileasync><file>stage2_common.xml</file></exefileasync>
		
	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage2B_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage2B_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage2B_type3_text.xml</file></exefileasync>
	</repeat>
	
	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage2B_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage2B_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage2B_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage2B_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage2_bg.xml</file></exefile>
	<exefile><file>stage2_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage2B_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage2B_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage2B_type3_text.xml</file></exefile>
	</repeat>
	
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage2B_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage2B_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage2B_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage2B_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage2B_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage2B_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage2B_main_hard.xml</file></exefile>	
	</repeat>
</action>


<!-- *** STAGE 3 ********************************************************* -->
<action label="common_scenetrans_stage3_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage3_bg.xml</file></exefileasync>
	<exefileasync><file>stage3_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage3_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage3_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage3_type3_text.xml</file></exefileasync>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage3_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage3_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage3_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage3_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage3_bg.xml</file></exefile>
	<exefile><file>stage3_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage3_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage3_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage3_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage3_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage3_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage3_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage3_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage3_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage3_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage3_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 4A ********************************************************* -->
<action label="common_scenetrans_stage4A_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage4_bg.xml</file></exefileasync>
	<exefileasync><file>stage4_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage4A_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage4A_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage4A_type3_text.xml</file></exefileasync>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage4A_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage4A_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage4A_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage4A_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage4_bg.xml</file></exefile>
	<exefile><file>stage4_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage4A_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage4A_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage4A_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage4A_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage4A_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage4A_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage4A_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage4A_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage4A_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage4A_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 4B ********************************************************* -->
<action label="common_scenetrans_stage4B_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage4_bg.xml</file></exefileasync>
	<exefileasync><file>stage4_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage4B_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage4B_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage4B_type3_text.xml</file></exefileasync>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage4B_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage4B_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage4B_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage4B_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage4_bg.xml</file></exefile>
	<exefile><file>stage4_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage4B_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage4B_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage4B_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage4B_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage4B_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage4B_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage4B_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage4B_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage4B_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage4B_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 4C ********************************************************* -->
<action label="common_scenetrans_stage4C_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage4_bg.xml</file></exefileasync>
	<exefileasync><file>stage4_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage4C_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage4C_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage4C_type3_text.xml</file></exefileasync>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage4C_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage4C_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage4C_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage4C_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage4_bg.xml</file></exefile>
	<exefile><file>stage4_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage4C_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage4C_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage4C_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage4C_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage4C_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage4C_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage4C_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage4C_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage4C_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage4C_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 5A ********************************************************* -->
<action label="common_scenetrans_stage5A_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage5_bg.xml</file></exefileasync>
	<exefileasync><file>stage5_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage5A_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage5A_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage5A_type3_text.xml</file></exefileasync>
	</repeat>


	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage5A_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage5A_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage5A_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage5A_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage5_bg.xml</file></exefile>
	<exefile><file>stage5_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage5A_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage5A_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage5A_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage5A_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage5A_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage5A_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage5A_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage5A_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage5A_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage5A_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 5B ********************************************************* -->
<action label="common_scenetrans_stage5B_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage5_bg.xml</file></exefileasync>
	<exefileasync><file>stage5_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage5B_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage5B_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage5B_type3_text.xml</file></exefileasync>
	</repeat>


	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage5B_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage5B_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage5B_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage5B_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage5_bg.xml</file></exefile>
	<exefile><file>stage5_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage5B_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage5B_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage5B_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage5B_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage5B_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage5B_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage5B_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage5B_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage5B_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage5B_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 5C ********************************************************* -->
<action label="common_scenetrans_stage5C_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage5_bg.xml</file></exefileasync>
	<exefileasync><file>stage5_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage5C_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage5C_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage5C_type3_text.xml</file></exefileasync>
	</repeat>


	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage5C_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage5C_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage5C_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage5C_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage5_bg.xml</file></exefile>
	<exefile><file>stage5_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage5C_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage5C_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage5C_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage5C_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage5C_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage5C_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage5C_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage5C_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage5C_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage5C_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 6A ********************************************************* -->
<action label="common_scenetrans_stage6A_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage6a_bg.xml</file></exefileasync>
	<exefileasync><file>stage6a_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage6A_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage6A_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage6A_type3_text.xml</file></exefileasync>
	</repeat>


	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage6A_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage6A_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage6A_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage6A_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage6a_bg.xml</file></exefile>
	<exefile><file>stage6a_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage6A_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage6A_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage6A_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage6A_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage6A_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage6A_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage6A_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage6A_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage6A_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage6A_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 6B ********************************************************* -->
<action label="common_scenetrans_stage6B_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage6b_bg.xml</file></exefileasync>
	<exefileasync><file>stage6b_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage6B_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage6B_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage6B_type3_text.xml</file></exefileasync>
	</repeat>


	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage6B_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage6B_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage6B_boss_main_hard.xml</file></exefileasync>
	</repeat>
</action>

<action label="common_scenetrans_stage6B_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage6b_bg.xml</file></exefile>
	<exefile><file>stage6b_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage6B_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage6B_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage6B_type3_text.xml</file></exefile>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage6B_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage6B_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage6B_boss_main_hard.xml</file></exefile>
	</repeat>
</action>

<action label="common_scenetrans_stage6B_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage6B_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage6B_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage6B_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 6C ********************************************************* -->
<action label="common_scenetrans_stage6C_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage6c_bg.xml</file></exefileasync>
	<exefileasync><file>stage6c_common.xml</file></exefileasync>

	<!-- **6Cは、キャラごとに中ボスが異なる *** -->
	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stage6C_type1_text.xml</file></exefileasync>

		<repeat><times>$_difficulty-eq0</times>
			<exefileasync><file>stage6C_boss_type1_main_easy.xml</file></exefileasync>
			<exefileasync><file>stage6C_main_type13_main_easy.xml</file></exefileasync>
		</repeat>
		<repeat><times>$_difficulty-eq1</times>
			<exefileasync><file>stage6C_boss_type1_main.xml</file></exefileasync>
			<exefileasync><file>stage6C_main_type13_main.xml</file></exefileasync>
		</repeat>
		<repeat><times>$_difficulty-eq2</times>
			<exefileasync><file>stage6C_boss_type1_main_hard.xml</file></exefileasync>
			<exefileasync><file>stage6C_main_type13_main_hard.xml</file></exefileasync>
		</repeat>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stage6C_type2_text.xml</file></exefileasync>

		<repeat><times>$_difficulty-eq0</times>
			<exefileasync><file>stage6C_boss_type2_main_easy.xml</file></exefileasync>
		</repeat>
		<repeat><times>$_difficulty-eq1</times>
			<exefileasync><file>stage6C_boss_type2_main.xml</file></exefileasync>
		</repeat>
		<repeat><times>$_difficulty-eq2</times>
			<exefileasync><file>stage6C_boss_type2_main_hard.xml</file></exefileasync>
		</repeat>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stage6C_type3_text.xml</file></exefileasync>
		<repeat><times>$_difficulty-eq0</times>
			<exefileasync><file>stage6C_boss_type3_main_easy.xml</file></exefileasync>
			<exefileasync><file>stage6C_main_type13_main_easy.xml</file></exefileasync>
		</repeat>
		<repeat><times>$_difficulty-eq1</times>
			<exefileasync><file>stage6C_boss_type3_main.xml</file></exefileasync>
			<exefileasync><file>stage6C_main_type13_main.xml</file></exefileasync>
		</repeat>
		<repeat><times>$_difficulty-eq2</times>
			<exefileasync><file>stage6C_boss_type3_main_hard.xml</file></exefileasync>
			<exefileasync><file>stage6C_main_type13_main_hard.xml</file></exefileasync>
		</repeat>
	</repeat>

	<repeat><times>$_difficulty-eq0</times>
		<exefileasync><file>stage6C_boss_main_easy.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefileasync><file>stage6C_boss_main.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefileasync><file>stage6C_boss_main_hard.xml</file></exefileasync>
	</repeat>

</action>

<action label="common_scenetrans_stage6C_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage6c_bg.xml</file></exefile>
	<exefile><file>stage6c_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stage6C_type1_text.xml</file></exefile>

		<repeat><times>$_difficulty-eq0</times>
			<exefile><file>stage6C_boss_type1_main_easy.xml</file></exefile>
			<exefile><file>stage6C_main_type13_main_easy.xml</file></exefile>
		</repeat>
		<repeat><times>$_difficulty-eq1</times>
			<exefile><file>stage6C_boss_type1_main.xml</file></exefile>
			<exefile><file>stage6C_main_type13_main.xml</file></exefile>
		</repeat>
		<repeat><times>$_difficulty-eq2</times>
			<exefile><file>stage6C_boss_type1_main_hard.xml</file></exefile>
			<exefile><file>stage6C_main_type13_main_hard.xml</file></exefile>
		</repeat>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stage6C_type2_text.xml</file></exefile>

		<repeat><times>$_difficulty-eq0</times>
			<exefile><file>stage6C_boss_type2_main_easy.xml</file></exefile>
		</repeat>
		<repeat><times>$_difficulty-eq1</times>
			<exefile><file>stage6C_boss_type2_main.xml</file></exefile>
		</repeat>
		<repeat><times>$_difficulty-eq2</times>
			<exefile><file>stage6C_boss_type2_main_hard.xml</file></exefile>
		</repeat>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stage6C_type3_text.xml</file></exefile>
		<repeat><times>$_difficulty-eq0</times>
			<exefile><file>stage6C_boss_type3_main_easy.xml</file></exefile>
			<exefile><file>stage6C_main_type13_main_easy.xml</file></exefile>
		</repeat>
		<repeat><times>$_difficulty-eq1</times>
			<exefile><file>stage6C_boss_type3_main.xml</file></exefile>
			<exefile><file>stage6C_main_type13_main.xml</file></exefile>
		</repeat>
		<repeat><times>$_difficulty-eq2</times>
			<exefile><file>stage6C_boss_type3_main_hard.xml</file></exefile>
			<exefile><file>stage6C_main_type13_main_hard.xml</file></exefile>
		</repeat>
	</repeat>
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage6C_boss_main_easy.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage6C_boss_main.xml</file></exefile>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage6C_boss_main_hard.xml</file></exefile>
	</repeat>

</action>

<action label="common_scenetrans_stage6C_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage6C_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage6C_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage6C_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** STAGE 7 ********************************************************* -->
<action label="common_scenetrans_stage7_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage7_bg.xml</file></exefileasync>
	<exefileasync><file>stage7_common.xml</file></exefileasync>

	<exefileasync><file>stage7_text.xml</file></exefileasync>

</action>

<action label="common_scenetrans_stage7_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage7_bg.xml</file></exefile>
	<exefile><file>stage7_common.xml</file></exefile>

	<exefile><file>stage7_text.xml</file></exefile>

</action>

<action label="common_scenetrans_stage7_action">
	<repeat><times>$_difficulty-eq0</times>
		<exefile><file>stage7_main_easy.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<exefile><file>stage7_main.xml</file></exefile>	
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<exefile><file>stage7_main_hard.xml</file></exefile>	
	</repeat>
</action>

<!-- *** EXTRA STAGE ********************************************************* -->
<action label="common_scenetrans_stageEX_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stageEX_bg.xml</file></exefileasync>
	<exefileasync><file>stageEX_common.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>stageEX_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>stageEX_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>stageEX_type3_text.xml</file></exefileasync>
	</repeat>

	<exefileasync><file>stageEX_boss_main.xml</file></exefileasync>

</action>

<action label="common_scenetrans_stageEX_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stageEX_bg.xml</file></exefile>
	<exefile><file>stageEX_common.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>stageEX_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>stageEX_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>stageEX_type3_text.xml</file></exefile>
	</repeat>

	<exefile><file>stageEX_boss_main.xml</file></exefile>
</action>

<action label="common_scenetrans_stageEX_action">
	<exefile><file>stageEX_main.xml</file></exefile>	
</action>

<!-- *** EPILOGUE ********************************************************* -->
<action label="common_scenetrans_epilogue_async_action">
	<actionRef label="common_scenetrans_common_async_action"></actionRef>
	<exefileasync><file>stage4_bg.xml</file></exefileasync>

	<repeat><times>$_twinstype-eq1</times>
		<exefileasync><file>epilogue_type1_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefileasync><file>epilogue_type2_text.xml</file></exefileasync>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefileasync><file>epilogue_type3_text.xml</file></exefileasync>
	</repeat>


</action>

<action label="common_scenetrans_epilogue_sync_action">
	<actionRef label="common_scenetrans_common_sync_action"></actionRef>
	<exefile><file>stage4_bg.xml</file></exefile>

	<repeat><times>$_twinstype-eq1</times>
		<exefile><file>epilogue_type1_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<exefile><file>epilogue_type2_text.xml</file></exefile>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<exefile><file>epilogue_type3_text.xml</file></exefile>
	</repeat>

</action>

<action label="common_scenetrans_epilogue_action">
	<exefile><file>epilogue_main.xml</file></exefile>	
</action>


<!-- ************************************************************ -->
<action label="common_scenetrans_typeN_async_action">
	<repeat><times>$_twinstype-eq0</times>
		<sysvar name="twinstype">1</sysvar>
	</repeat>
	
	<repeat><times>$_twinstype-eq1</times>
		<actionRef label="common_scenetrans_type1_async_action"></actionRef>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<actionRef label="common_scenetrans_type2_async_action"></actionRef>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<actionRef label="common_scenetrans_type3_async_action"></actionRef>
	</repeat>

</action>

<action label="common_scenetrans_typeN_sync_action">
	<repeat><times>$_twinstype-eq0</times>
		<sysvar name="twinstype">1</sysvar>
	</repeat>
	
	<repeat><times>$_twinstype-eq1</times>
		<actionRef label="common_scenetrans_type1_sync_action"></actionRef>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<actionRef label="common_scenetrans_type2_sync_action"></actionRef>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<actionRef label="common_scenetrans_type3_sync_action"></actionRef>
	</repeat>

</action>

<!-- *** PLAYER TYPE 1 *************************************************** -->
<action label="common_scenetrans_type1_async_action">
	<exefileasync><file>type1_player.xml</file></exefileasync>
	<exefileasync><file>type1_shot.xml</file></exefileasync> 
	<exefileasync><file>type1_option.xml</file></exefileasync> 
	<exefileasync><file>type1_bomb.xml</file></exefileasync> 
	<exefileasync><file>type1_sidebar.xml</file></exefileasync>	
</action>
<action label="common_scenetrans_type1_sync_action">
	<exefile><file>type1_player.xml</file></exefile>
	<exefile><file>type1_shot.xml</file></exefile> 
	<exefile><file>type1_option.xml</file></exefile> 
	<exefile><file>type1_bomb.xml</file></exefile> 
	<exefile><file>type1_sidebar.xml</file></exefile>	
</action>

<!-- *** PLAYER TYPE 2 *************************************************** -->
<action label="common_scenetrans_type2_async_action">
	<exefileasync><file>type2_player.xml</file></exefileasync>
	<exefileasync><file>type2_shot.xml</file></exefileasync> 
	<exefileasync><file>type2_option.xml</file></exefileasync> 
	<exefileasync><file>type2_bomb.xml</file></exefileasync> 
	<exefileasync><file>type2_sidebar.xml</file></exefileasync>	
</action>
<action label="common_scenetrans_type2_sync_action">
	<exefile><file>type2_player.xml</file></exefile>
	<exefile><file>type2_shot.xml</file></exefile> 
	<exefile><file>type2_option.xml</file></exefile> 
	<exefile><file>type2_bomb.xml</file></exefile> 
	<exefile><file>type2_sidebar.xml</file></exefile>	
</action>
<!-- *** PLAYER TYPE 3 *************************************************** -->
<action label="common_scenetrans_type3_async_action">
	<exefileasync><file>type3_player.xml</file></exefileasync>
	<exefileasync><file>type3_shot.xml</file></exefileasync> 
	<exefileasync><file>type3_option.xml</file></exefileasync> 
	<exefileasync><file>type3_bomb.xml</file></exefileasync> 
	<exefileasync><file>type3_sidebar.xml</file></exefileasync>	
</action>
<action label="common_scenetrans_type3_sync_action">
	<exefile><file>type3_player.xml</file></exefile>
	<exefile><file>type3_shot.xml</file></exefile> 
	<exefile><file>type3_option.xml</file></exefile> 
	<exefile><file>type3_bomb.xml</file></exefile> 
	<exefile><file>type3_sidebar.xml</file></exefile>	
</action>




</exbulletml>
