#TouhouDanmakufu[Stage]
#Title[Intertwining Mechanical Intervention]
#Text[]
#Player[.\player\Player.txt]
#ScriptVersion[2]

script_stage_main{

	#include_function ".\system.txt"

	@Initialize{
		InitializeGame;
	}
	@MainLoop{
		if(GetPlayerLife>1){ExtendPlayer(-GetPlayerLife+1);}
		yield;
	}
	@BackGround{
		SetView;
		if(currentstage[0]==0){
			PrologueBG;
		}
		if(currentstage[0]==1){
			if(currentstage[1]==1){
				Area1Stage1BG;
			}
			if(currentstage[1]==2){
				Area1Stage2BG;
			}
		}
	}
	@Finalize{
	}
}