//----------------------------------
//	スクリプト記述例
//----------------------------------

	//イベント処理の記述を行います
	//ウェイトポイントは指定するか、テキストの移行によります。
def "head"{
	player action false;	fade out 30;
	bg color 0 0 0 ;	load map "m032";	set goto 8 54;		//コンパス
	player pos 50 16;		cam dir 0 0;
	wait time 2;
	fade in 30;		// 30frmでフェードイン
	player action true;	//操作可能
	set event "ev1" 0 15 32 9;
}
def "ev1"{
	player action false;	//操作不可
	fade out 30;
	load map "m032";	player pos 64 160;	cam dir 0 0;	set goto 8 54;		//コンパス
	wait time 2;
	bgm fade 0,60;
	fade in 30;		// 30frmでフェードイン

//	set enemy "osEvent" 7 30;
	set enemy "evobjA" 7 30 mesh "os/os.x" 45;

	//osとの会話イベント
	move up 40;	wait time 30;
	text{	//テキストボックス表示、閉じるまでwait
		img load 0 , "riz/f2";	img uv 0 , 0 2 32 32;	
		img set 0 , 0 0 256 480;	//set rect
		text	"教授！？";
		wait;
	}
	//os振り返る
	obj dir 90;

	wait time 25;
	text{	//テキストボックス表示、閉じるまでwait
		img load 0 , "riz/f9";	img uv 0 , 0 2 32 32;	
		img set 0 , 0 0 256 480;	//set rect
		img 0 col 120;

		img load 1 , "os/f4";	img uv 1 , 0 2 32 32;	
		img set 1 , 384 0 256 480;	

		text	"リズか"		"何をしとるんだ？";
		wait;
		img load 1 , "os/f3";
		img 0 col 255;	img 1 col 120;
		text	"こっちの台詞ですよ！"		"約束の一週間はとっくに過ぎてます";
		wait;
		img 0 col 120;	img 1 col 255;
		text	"おお、そういえばそうだったな";
		wait;
		img load 0 , "riz/f3";
		img 0 col 255;		img 1 col 120;
		text	"……………………";
		wait;
		img load 0 , "riz/f1";
		text	"……！"	"そういえばラーハは？"	"一緒じゃないんですか？";
		wait;
		img 0 col 120;	img 1 col 255;	img load 1 , "os/f2";
		text	"色々立て込んでてな"	"心配いらんとは思うが";
		wait;
		img load 1 , "os/f1";
		text	"こっち側に来れるか？"	"右手側から回りこめる";
		wait;
		img 0 col 255;		img 1 col 120;
		text	"分かりました"	"今から向かいます";
		wait;
	}

	se "alert.wav" 70 0;
	set enemy "alert" 6 30;
	set enemy "gold" 13 19;
	set enemy "sil02" 4 18 up;		set enemy "sil02" 7 18 up;
	cam dir 178 20;	wait time 20;
	bgm load "boss01.ogg" 70 60;

	text{	//テキストボックス表示、閉じるまでwait
		img load 0 , "riz/f9";	img uv 0 , 0 2 32 32;	
		img set 0 , 0 0 256 480;	
		img 0 col 120;
		img load 1 , "os/f1";	img uv 1 , 0 2 32 32;	
		img set 1 , 384 0 256 480;	

		text	"いかんな"		"見つかったか";
		wait;
		text	"先の隔壁はこっちで解除しよう"		"追い込まれんよう気をつけてな";
		wait;
		img 0 col 255;		img 1 col 120;
		text	"……かなりの数がいます"		"出来るだけ早く解除していって下さい";
		wait;
	}

	set enemy "sil03" 4 7;		set enemy "sil02" 8 7;	set enemy "sil01" 4 15;		set enemy "sil01" 8 15;
	set enemy "sil02" 3 15;		set enemy "sil02" 9 15;

	player action true;	//操作可能

	wait time 30;
	set enemy "pil01" 5 6;		set enemy "pil01" 6 6;		set enemy "pil01" 7 6;	
	set enemy "sil02" 4 6;		set enemy "sil02" 8 6;

	//wall生成
	wait time 2;
	set enemy "wall01" 19 15;	set enemy "wall01" 19 16;	set enemy "wall01" 18 18;
	set enemy "wall01" 18 20;	set enemy "wall01" 19 22;	set enemy "wall01" 19 23;	
	wait time 2;
	set enemy "wall01" 26 17;	set enemy "wall01" 26 18;	set enemy "wall01" 26 19;
	set enemy "wall01" 26 20;	set enemy "wall01" 26 21;
	wait time 2;
	set enemy "wall01" 47 15;	set enemy "wall01" 47 16;	set enemy "wall01" 47 19;
	set enemy "wall01" 47 22;	set enemy "wall01" 47 23;	
	wait time 2;
	set enemy "wall01" 51 26;	set enemy "wall01" 53 28;	set enemy "wall01" 54 28;	set enemy "wall01" 56 26;
	wait time 2;
	set enemy "wall01" 49 30;	set enemy "wall01" 48 31;	set enemy "wall01" 49 32;
	set enemy "wall01" 49 34;	set enemy "wall01" 48 35;	set enemy "wall01" 49 36;	set enemy "wall01" 49 41;
	wait time 2;
	set enemy "wall01" 32 27;	set enemy "wall01" 32 28;	set enemy "wall01" 32 31;
	set enemy "wall01" 32 34;	set enemy "wall01" 32 35;	
	wait time 2;
	set enemy "wall01" 19 31;	set enemy "wall01" 15 31;	//ラスト

	wait time 30;
	set enemy "sil01" 5 6 false;		set enemy "sil01" 6 6 false;	wait time 30;
	set enemy "sil03" 3 15 false;		set enemy "sil02" 3 20 false;	set enemy "sil03" 3 24 false;

	wait time 30;
	set enemy "sil01" 4 13 false;	set enemy "rol02" 8 13 false;	set enemy "sil03" 8 14 false;

	wait time 200;	//一定時間経ったら壁破壊
	set move 0 19 15;	wait time 3;	set move 0 19 16;	wait time 3;
	set move 0 18 18;	wait time 3;	set move 0 18 20;	wait time 3;
	set move 0 19 22;	wait time 3;	set move 0 19 23;	wait time 3;
	help "「隔壁が開いた　先へ進め！」" 120;
	set enemy "gold" 29 23;
	set enemy "counter01" 31 17;

	set event "ev2" 18 15 5 10;
	wait time 60;
	set enemy "sil03" 5 8 false;	wait time 150;	set enemy "pil01" 6 9 false;	wait time 30;
	set enemy "sil03" 7 11 false;	wait time 30;	set enemy "sil03" 7 12 false;	wait time 30;
	set enemy "pil01" 6 14 false;	wait time 30;	set enemy "sil03" 5 15 false;	wait time 30;
	set enemy "rol02" 7 17 false;	wait time 30;	set enemy "pil01" 6 18 false;	wait time 30;
	set enemy "sil03" 5 20 false;	wait time 30;	set enemy "sil03" 5 21 false;	wait time 30;

}
def "ev2"{

	set enemy "sil01" 8 16 false;	set enemy "sil01" 8 18 false;	wait time 30;
	set enemy "sil01" 8 20 false;	set enemy "sil01" 8 22 false;	wait time 30;
	set enemy "sil02" 7 18 false;	set enemy "sil02" 7 20 false;	wait time 30;
	set enemy "sil02" 7 16 false;	set enemy "sil02" 7 22 false;	wait time 30;
	set enemy "pil01" 8 17 false;	set enemy "pil01" 7 17 false;	wait time 30;
	
	wait time 200;	//一定時間経ったら壁破壊
	set move 0 26 21;	wait time 3;	set move 0 26 20;	wait time 3;	set move 0 26 19;	wait time 3;
	set move 0 26 18;	wait time 3;	set move 0 26 17;	wait time 3;
	set event "ev3" 27 16 5 10;
	help "「隔壁が開いた　先へ進め！」" 120;
	set enemy "gold" 42 18;
	set enemy "gold" 42 20;

	wait time 60;
	set enemy "sil03" 8 16 false;	wait time 150;	set enemy "pil01" 8 22 false;	wait time 30;
	set enemy "sil03" 7 18 false;	wait time 30;	set enemy "sil03" 7 21 false;	wait time 30;
	set enemy "pil01" 7 19 false;	wait time 30;	set enemy "sil03" 7 20 false;	wait time 30;
	set enemy "rol02" 9 16 false;	wait time 30;	set enemy "pil01" 9 22 false;	wait time 30;
	set enemy "sil03" 9 17 false;	wait time 30;	set enemy "sil03" 9 21 false;	wait time 30;
}
def "ev3"{
	set enemy "sil03" 9 16 false;	wait time 30;	set enemy "pil01" 9 22 false;
	set enemy "sil03" 9 17 false;	wait time 30;	set enemy "sil03" 9 21 false;	wait time 30;

	set enemy "rol01" 15 15 false;	set enemy "sil03" 15 16 false;	set enemy "rol01" 16 23 false;	wait time 40;
	set enemy "sil03" 9 20 false;	wait time 150;	set enemy "pil01" 9 22 false;	wait time 40;
	set enemy "sil01" 11 16 false;	set enemy "sil01" 11 18 false;	wait time 30;
	set enemy "sil02" 13 16 false;	set enemy "sil02" 13 22 false;	wait time 30;
	set enemy "pil01" 14 17 false;	set enemy "pil01" 14 21 false;	wait time 30;
	set enemy "sil01" 15 18 false;	set enemy "rol02" 15 20 false;	wait time 30;
	set enemy "sil01" 16 16 false;	set enemy "sil01" 16 22 false;	wait time 30;
	set enemy "rol02" 17 17 false;	set enemy "sil03" 17 21 false;	wait time 30;

	set enemy "sil02" 20 15 false;	set enemy "sil02" 20 16 false;	wait time 30;
	set enemy "pil01" 20 21 false;	set enemy "rol02" 20 22 false;	wait time 30;
	set enemy "rol01" 21 17 false;	set enemy "sil03" 21 18 false;	wait time 30;
	set enemy "sil01" 22 19 false;	set enemy "sil01" 22 20 false;	wait time 30;
	set enemy "pil01" 23 21 false;	set enemy "rol02" 23 22 false;	wait time 30;
	set enemy "sil01" 23 20 false;	set enemy "rol01" 23 23 false;	wait time 30;
	set enemy "sil03" 24 23 false;	set enemy "sil03" 24 15 false;	wait time 30;

	set enemy "sil02" 25 17 false;	set enemy "sil02" 25 20 false;	wait time 30;
	set enemy "sil01" 26 18 false;	set enemy "sil01" 26 21 false;	wait time 30;
	set enemy "sil03" 27 19 false;	set enemy "sil03" 27 20 false;	wait time 30;
	set enemy "pil01" 28 17 false;	set enemy "sil01" 28 18 false;	wait time 30;
	set enemy "rol02" 28 19 false;	set enemy "sil02" 28 20 false;	wait time 30;
	set enemy "sil01" 29 21 false;	set enemy "rol01" 29 22 false;	wait time 30;
	set enemy "sil03" 30 19 false;	set enemy "sil03" 30 22 false;	wait time 30;
	set enemy "rol02" 31 17 false;	set enemy "sil02" 31 20 false;	wait time 30;
	set enemy "sil02" 32 18 false;	set enemy "sil02" 32 19 false;	wait time 30;
	set enemy "sil03" 33 19 false;	set enemy "sil03" 33 20 false;	wait time 30;
	set enemy "rol02" 34 17 false;	set enemy "sil02" 34 18 false;	wait time 30;
	set enemy "pil01" 35 17 false;	set enemy "sil01" 35 20 false;	wait time 30;
	set enemy "sil01" 36 21 false;	set enemy "rol01" 36 22 false;	wait time 30;

	wait time 200;	//一定時間経ったら壁破壊
	set move 0 47 19;	wait time 3;	set move 0 47 16;	wait time 3;	set move 0 47 22;	wait time 3;
	set move 0 47 15;	wait time 3;	set move 0 47 23;	wait time 3;
	set event "ev4" 48 14 5 10;
	help "「隔壁が開いた　先へ進め！」" 120;
	set enemy "gold" 47 33;
	set enemy "gold" 41 34;
	set enemy "gold" 24 33;

	wait time 60;
	set enemy "sil03" 17 16 false;	wait time 150;	set enemy "pil01" 36 20 false;	wait time 30;
	set enemy "sil03" 35 18 false;	wait time 30;	set enemy "sil03" 35 21 false;	wait time 30;
	set enemy "sil03" 35 19 false;	wait time 30;	set enemy "sil03" 35 22 false;	wait time 30;
	set enemy "pil01" 34 19 false;	wait time 30;	set enemy "sil03" 34 20 false;	wait time 30;
	set enemy "sil03" 33 18 false;	wait time 30;	set enemy "pil01" 33 21 false;	wait time 30;
	set enemy "sil03" 32 17 false;	wait time 30;	set enemy "sil03" 32 21 false;	wait time 30;
}
def "ev4"{
	//折り返しまできたので、最初の隔壁を再生成
	set move 3 26 21;	set move 3 26 20;	set move 3 26 19;	set move 3 26 18;	set move 3 26 17;
	set enemy "wall01" 26 17;	set enemy "wall01" 26 18;	set enemy "wall01" 26 19;
	set enemy "wall01" 26 20;	set enemy "wall01" 26 21;
	wait time 2;
	//34-14 36-24 // 39-15 41-23 // 43-15  46-23
	set enemy "sil02" 34 15 false;	set enemy "sil02" 34 18 false;	wait time 30;
	set enemy "sil01" 35 17 false;	set enemy "sil01" 35 24 false;	wait time 30;
	set enemy "sil03" 36 18 false;	set enemy "rol01" 35 23 false;	wait time 30;

	set enemy "sil02" 41 15 false;	set enemy "sil02" 41 18 false;	wait time 30;
	set enemy "sil01" 40 17 false;	set enemy "sil01" 40 24 false;	wait time 30;
	set enemy "rol02" 39 18 false;	set enemy "rol01" 39 23 false;	wait time 30;

	set enemy "sil02" 43 15 false;	set enemy "sil02" 43 18 false;	wait time 30;
	set enemy "sil01" 45 17 false;	set enemy "sil01" 45 22 false;	wait time 30;
	set enemy "rol02" 44 17 false;	set enemy "pil01" 44 22 false;	wait time 30;
	set enemy "sil03" 46 18 false;	set enemy "rol01" 46 23 false;	wait time 30;

	wait time 200;	//一定時間経ったら壁破壊
	set move 0 51 26;	wait time 3;	set move 0 56 26;	wait time 3;
	set move 0 54 28;	wait time 3;	set move 0 53 28;	wait time 3;
	set event "ev5" 50 29 20 10;
	help "「隔壁が開いた　先へ進め！」" 120;

	wait time 60;
	set enemy "sil02" 41 15 false;	set enemy "sil02" 41 18 false;	wait time 30;
	set enemy "sil01" 40 17 false;	set enemy "sil01" 40 24 false;	wait time 30;
	set enemy "rol02" 39 18 false;	set enemy "rol01" 39 23 false;	wait time 30;
}
def "ev5"{
	//48-15 51-23 // 54-15 56-23 // 57-17  58-23
	set enemy "sil02" 48 15 false;	set enemy "sil02" 48 18 false;	wait time 30;
	set enemy "sil01" 49 17 false;	set enemy "sil01" 49 22 false;	wait time 30;
	set enemy "sil03" 50 18 false;	set enemy "rol01" 50 23 false;	wait time 30;
	set enemy "sil01" 51 17 false;	set enemy "pil01" 51 21 false;	wait time 30;

	set enemy "sil01" 54 15 false;	set enemy "sil02" 54 22 false;	wait time 30;
	set enemy "sil03" 55 18 false;	set enemy "rol01" 55 23 false;	wait time 30;
	set enemy "sil01" 56 17 false;	set enemy "pil01" 56 21 false;	wait time 30;

	set enemy "sil03" 58 18 false;	set enemy "rol02" 58 23 false;	wait time 30;
	set enemy "sil01" 57 17 false;	set enemy "pil01" 57 21 false;	wait time 30;

	wait time 200;	//一定時間経ったら壁破壊
	set move 0 48 31;	wait time 3;	set move 0 48 35;	wait time 3;	set move 0 49 30;	wait time 3;
	set move 0 49 36;	wait time 3;	set move 0 49 32;	wait time 3;	set move 0 49 34;	wait time 3;
	set move 0 49 41;	wait time 3;
	set event "ev6" 45 29 4 20;
	help "「隔壁が開いた　先へ進め！」" 120;

	wait time 60;
	set enemy "rol02" 51 26 false;	set enemy "rol02" 54 28 false;	wait time 30;

	set enemy "sil03" 62 34 false;	set enemy "rol01" 61 34 false;	wait time 30;
	set enemy "sil01" 62 32 false;	set enemy "sil01" 61 32 false;	wait time 30;
	set enemy "sil02" 62 31 false;	set enemy "sil02" 61 31 false;	wait time 30;
	set enemy "sil01" 62 35 false;	set enemy "pil01" 61 35 false;	wait time 30;
}
def "ev6"{
	//58-31 62-32 / 58-34 62-35	/50-41 57-41	/50-29 57-36
	set enemy "sil03" 62 34 false;	set enemy "rol01" 61 34 false;	wait time 30;
	set enemy "sil01" 62 32 false;	set enemy "sil01" 61 32 false;	wait time 30;
	set enemy "sil02" 62 31 false;	set enemy "sil02" 61 31 false;	wait time 30;
	set enemy "sil01" 62 35 false;	set enemy "pil01" 61 35 false;	wait time 30;

	set enemy "sil02" 62 32 false;	set enemy "sil01" 61 32 false;	wait time 30;
	set enemy "sil01" 62 34 false;	set enemy "rol02" 61 34 false;	wait time 30;
	set enemy "sil02" 62 31 false;	set enemy "sil03" 61 31 false;	wait time 30;
	set enemy "sil01" 62 35 false;	set enemy "pil01" 61 35 false;	wait time 30;

	set enemy "sil02" 50 41 false;	set enemy "sil01" 54 41 false;	wait time 30;
	set enemy "sil01" 51 41 false;	set enemy "rol02" 56 41 false;	wait time 30;
	set enemy "sil02" 52 41 false;	set enemy "sil03" 55 41 false;	wait time 30;
	set enemy "sil01" 53 41 false;	set enemy "pil01" 57 41 false;	wait time 30;

	set enemy "sil03" 50 36 false;	set enemy "rol01" 51 34 false;	wait time 30;
	set enemy "sil01" 51 29 false;	set enemy "sil01" 52 32 false;	wait time 30;
	set enemy "sil02" 52 33 false;	set enemy "sil02" 53 31 false;	wait time 30;
	set enemy "sil01" 53 30 false;	set enemy "pil01" 54 35 false;	wait time 30;

	set enemy "sil03" 54 35 false;	set enemy "rol01" 55 29 false;	wait time 30;
	set enemy "sil01" 55 32 false;	set enemy "sil01" 56 36 false;	wait time 30;
	set enemy "sil02" 56 31 false;	set enemy "sil02" 57 30 false;	wait time 30;
	set enemy "sil01" 57 34 false;	set enemy "pil01" 50 33 false;	wait time 30;

	wait time 180;	//一定時間経ったら壁破壊
	set move 0 32 27;	wait time 3;	set move 0 32 35;	wait time 3;	set move 0 32 28;	wait time 3;
	set move 0 32 34;	wait time 3;	set move 0 32 31;	wait time 3;
	set event "ev7" 28 26 4 15;
	help "「隔壁が開いた　先へ進め！」" 120;

	wait time 60;
	set enemy "sil03" 62 34 false;	set enemy "rol01" 61 34 false;	wait time 30;
	set enemy "sil01" 62 32 false;	set enemy "sil01" 61 32 false;	wait time 30;
	set enemy "sil02" 62 31 false;	set enemy "sil02" 61 31 false;	wait time 30;
	set enemy "sil01" 62 35 false;	set enemy "pil01" 61 35 false;	wait time 30;

	set enemy "sil02" 62 32 false;	set enemy "sil01" 61 32 false;	wait time 30;
	set enemy "sil01" 62 34 false;	set enemy "rol02" 61 34 false;	wait time 30;
	set enemy "sil02" 62 31 false;	set enemy "sil03" 61 31 false;	wait time 30;
	set enemy "sil01" 62 35 false;	set enemy "pil01" 61 35 false;	wait time 30;
}
def "ev7"{
	//43-28 48-33 /42-35 47-38 /40-29 43-36 /33-27 37-35
	set enemy "sil03" 43 33 false;	set enemy "rol01" 43 28 false;	wait time 30;
	set enemy "sil01" 44 31 false;	set enemy "sil01" 44 30 false;	wait time 30;
	set enemy "sil02" 45 31 false;	set enemy "sil02" 45 32 false;	wait time 30;
	set enemy "sil01" 46 29 false;	set enemy "pil01" 46 33 false;	wait time 30;
	set enemy "sil03" 47 33 false;	set enemy "pil01" 47 28 false;	wait time 30;
	set enemy "sil01" 48 31 false;	set enemy "sil01" 48 30 false;	wait time 30;

	set enemy "sil01" 42 35 false;	set enemy "sil01" 42 36 false;	wait time 30;
	set enemy "sil03" 43 38 false;	set enemy "rol01" 43 37 false;	wait time 30;
	set enemy "sil01" 44 36 false;	set enemy "sil01" 44 37 false;	wait time 30;
	set enemy "sil02" 45 37 false;	set enemy "sil02" 45 38 false;	wait time 30;
	set enemy "sil01" 46 38 false;	set enemy "rol02" 46 36 false;	wait time 30;
	set enemy "sil03" 47 35 false;	set enemy "pil01" 47 38 false;	wait time 30;

	set enemy "sil01" 40 36 false;	set enemy "sil01" 40 29 false;	wait time 30;
	set enemy "sil02" 41 33 false;	set enemy "sil02" 41 30 false;	wait time 30;
	set enemy "sil01" 42 35 false;	set enemy "sil01" 42 36 false;	wait time 30;
	set enemy "sil03" 43 31 false;	set enemy "rol01" 43 29 false;	wait time 30;

	set enemy "sil01" 33 27 false;	set enemy "sil01" 33 34 false;	wait time 30;
	set enemy "sil02" 34 30 false;	set enemy "sil02" 34 32 false;	wait time 30;
	set enemy "sil01" 35 28 false;	set enemy "rol02" 35 31 false;	wait time 30;
	set enemy "sil03" 36 29 false;	set enemy "pil01" 36 33 false;	wait time 30;
	set enemy "sil01" 37 31 false;	set enemy "sil01" 37 35 false;	wait time 30;

	wait time 150;	//一定時間経ったら壁破壊
	set enemy "itemEq" 17 39;
	set move 0 19 31;	wait time 3;	set move 0 15 31;	wait time 3;
	set event "ev8" 0 30 15 9;
	help "「隔壁が開いた　先へ進め！」" 120;

	wait time 60;
	set enemy "sil01" 40 36 false;	set enemy "sil01" 40 29 false;	wait time 30;
	set enemy "sil02" 41 33 false;	set enemy "sil02" 41 30 false;	wait time 30;
	set enemy "sil01" 42 35 false;	set enemy "sil01" 42 36 false;	wait time 30;
	set enemy "sil03" 43 31 false;	set enemy "rol01" 43 29 false;	wait time 30;

	set enemy "sil01" 33 27 false;	set enemy "sil01" 33 34 false;	wait time 30;
	set enemy "sil02" 34 30 false;	set enemy "sil02" 34 32 false;	wait time 30;
	set enemy "sil01" 35 28 false;	set enemy "rol02" 35 31 false;	wait time 30;
	set enemy "sil03" 36 29 false;	set enemy "pil01" 36 33 false;	wait time 30;
	set enemy "sil01" 37 31 false;	set enemy "sil01" 37 35 false;	wait time 30;
}
def "ev8"{
	//CP到達
	player action false;	//操作不可
	fade out 30;		// 
	load map "m032";	player pos 96 248;	cam dir 260 0;	set goto 8 54;		//コンパス
	wait time 2;
	bgm fade 0,120;

	set enemy "wall01" 19 31;	set enemy "wall01" 15 31;	//wall
	set enemy "evobjA" 7 30 mesh "os/os.x" 45;
	fade in 30;		// 30frmでフェードイン
	obj dir -10;
	wait time 20;

	text{	//テキストボックス表示、閉じるまでwait
		img load 0 , "riz/f3";	img uv 0 , 0 2 32 32;	img set 0 , 0 0 256 480;	
		img 0 col 120;
		img load 1 , "os/f3";	img uv 1 , 0 2 32 32;	img set 1 , 384 0 256 480;	

		text	"ご苦労"		"あの数は少しきつかったな";
		wait;

		img 0 col 255;		img 1 col 120;
		text	"どうも……"		"流石に疲れました";
		wait;

		img load 0 , "riz/f1";
		text	"それで"		"どういう状況なんですか？　今";
		wait;

		img 0 col 120;		img 1 col 255;
		img load 1 , "os/f2";	
		text	"そうだったな";
		wait;

		img load 1 , "os/f1";	
		text	"まず、ラーハのことだが"	"あいつの心配はいらん"		"別行動で調査している";
		wait;
	
		img 0 col 255;		img 1 col 120;
		text	"こんな所で別行動ですか"	"理由は？";
		wait;

		img 0 col 120;		img 1 col 255;
		text	"急を要する事態でな";
		wait;
		text	"この遺跡を覆う結界には気付いたか？";
		wait;

		img load 0 , "riz/f4";
		img 0 col 255;		img 1 col 120;
		text	"はい"	"探知、侵入防止用と思われるものや"  "用途不明のものが幾つか";
		wait;

		img load 1 , "os/f2";	
		img 0 col 120;		img 1 col 255;
		text	"うむ、そうだ";
		wait;
		text	"その結界の中で一番でかいのが不安定になっとる"	"暴走したら被害の予測がつかん";
		wait;
		img load 1 , "os/f1";	
		text	"ラーハと手分けして対処している所だ";
		wait;
		img 0 col 255;		img 1 col 120;
		text	"……結界の規模は分かっているんですか？";
		wait;
		img 0 col 120;		img 1 col 255;
		text	"この遺跡を丸ごと包み込む大きさだ"	"出力も、我々が使うものの数百倍はある";
		wait;
		text	"暴走すれば、この遺跡を丸ごと"	"消し飛ぶかもしれん";
		wait;
		img load 1 , "os/f2";	
		text	"少なくとも　内側にいる我々は"	"ひとたまりもないだろうな";
		wait;

		img load 0 , "riz/f6";
		img 0 col 255;		img 1 col 120;
		text	"…………";
		wait;
		img load 0 , "riz/f4";
		text	"対処より避難を考えたほうがいいのでは？";
		wait;
		text	"私達数人で対処出来るほど"	"簡単な話とは思えないんですが";
		wait;

		img 0 col 120;		img 1 col 255;
		text	"脱出出来るならな";
		wait;
		text	"遺跡の外と中で、時空間がずらされておる"	"入ることは出来るが、出ることは叶わん";
		wait;
		text	"結界が完全ならば"	"本来は入ることも不可能だっただろう";
		wait;
		text	"その結界が、今暴走の危険に"	"あるわけだ";
		wait;

		img load 0 , "riz/f6";
		img 0 col 255;		img 1 col 120;
		text	"……結界をなんとかしない限り"	"脱出も不可能";
		wait;
		img load 0 , "riz/f3";
		text	"…………"	"かなり、状況悪いじゃないですか";
		wait;
		img load 1 , "os/f2";	
		img 0 col 120;		img 1 col 255;
		text	"そういう訳だ"	"お前はまずラーハと合流しろ";
		wait;
		text	"この先に中枢施設らしき場所を見つけた"	"そこにラーハも向かっとる";
		wait;
		img load 1 , "os/f1";	
		text	"ここの作業が終わったら私も向かう"	"いいか？";
		wait;

		img load 0 , "riz/f1";
		img 0 col 255;		img 1 col 120;
		text	"了解しました";
		wait;
		text	"あ　それと";
		wait;
		img load 0 , "riz/f1";
		text	"調査隊の人達は見つかったんですか？";
		wait;

		img load 1 , "os/f2";	
		img 0 col 120;		img 1 col 255;
		text	"いや……"	"だが、ここに迷い込んだのならおそらく助かるまい";
		wait;
		img load 1 , "os/f1";	
		text	"好戦的な住人もおるようだしな";
		wait;
		img load 0 , "riz/f9";
		img 0 col 255;		img 1 col 120;
		text	"やっぱり"	"教授も接触したんですね";
		wait;
		img load 1 , "os/f2";	
		img 0 col 120;		img 1 col 255;
		text	"うむ"	"よくは分からんが、普通の人間とは思えんな";
		wait;
		text	"この先も攻撃を受けるかもしれん"	"気をつけて進むといい";
		wait;
		img 0 col 255;		img 1 col 120;
		text	"分かりました";
		wait;
	}

	bgm load "stg03.ogg" 70 60;
	player action true;	//操作可能

	set event "goal" 0 38 12 9;
}
def "goal"{

	player action false;	//操作不可
	fade out 30;		// 
	load map "m033";	set goto 10 13;	

	bg color 100 100 250 ;	//背景色の変更
	bg mesh "ev/bg01" 1;

	player pos 84 28;	//プレイヤーの位置設定
	cam dir 0 0;	bgm fade 0,60;
	wait time 2;

	fade in 30;		// 30frmでフェードイン

	move up 24;

	wait time 15;
	set enemy "yuri" 10 13;
	wait time 10;

	text{	//テキストボックス表示、閉じるまでwait
		img load 0 , "riz/f9";	img uv 0 , 0 2 32 32;	img set 0 , 0 0 256 480;

		img load 1 , "yuri/f3";	img uv 1 , 0 2 32 32;	img set 1 , 384 0 256 480;

		text	"すと―――っぷ！！";
		wait;
		img load 0 , "riz/f7";
		img 1 col 120;
		text	"………"	"早速現れたわね";
		wait;
		text	"私に何か用？";
		wait;
		img load 1 , "yuri/f2";
		img 0 col 120;
		img 1 col 255;
		text	"この先は通行止めですっ！"	"ここの管理人として、通すわけにはいかないよ！";
		wait;
		img load 0 , "riz/f4";
		img 0 col 255;	img 1 col 120;
		text	"管理人……？"		"そういえば、さっき赤髪の女がそんなこと言ってたわね";
		wait;
		img load 0 , "riz/f6";
		text	"……でも、管理人はお婆さん。みたいな言い方だったけど？";
		wait;
		img load 1 , "yuri/f1";
		img 0 col 120;	img 1 col 255;
		text	"………………";
		wait;
		img load 1 , "yuri/f3";
		text	"確かにアネラスちゃんよりはだいぶ年上だけど！"	"私だって若いし！";
		wait;
		img 0 col 255;	img load 0 , "riz/f5";
		img 1 col 120;
		text	"あなたのことだったのね…"		"彼女より年上には見えないけど";
		wait;
		img 0 col 120;
		img 1 col 255;	img load 1 , "yuri/f4";
		text	"アネラスちゃんは、ああ見えてまだ80歳くらいだからね"		"生まれたてのピチピチ";
		wait;
		img 0 col 255;	img load 0 , "riz/f3";
		img 1 col 120;
		text	"……８０？？";
		wait;
		img 0 col 120;
		img 1 col 255;
		img 1 col 255;	img load 1 , "yuri/f1";
		text	"びっくりした？"		"若い割にはしっかりした自我を持ってるでしょ";
		wait;
		img 0 col 255;
		img 1 col 120;
		text	"ちなみに、あなたは何歳？";
		wait;
		img 0 col 120;
		img 1 col 255;	img load 1 , "yuri/f2";
		text	"400歳くらい"		"そういうお姉さんは何歳？";
		wait;
		img 0 col 255;	img 1 col 120;
		text	"……今年で19歳だけど";
		wait;
		img 0 col 120;
		img 1 col 255;	img load 1 , "yuri/f1";
		text	"………………";
		wait;
		text	"霊人じゃないの……？お姉さん";
		wait;
		img load 0 , "riz/f1";
		img 0 col 255;	img 1 col 120;
		text	"霊人？";
		wait;
		img 0 col 120;
		img 1 col 255;	img load 1 , "yuri/f3";
		text	"あ！　ってことは！"		"私のかわいいゴーレム壊しまくったのはおまえかー！";
		wait;
		img 0 col 255;	img 1 col 120;
		text	"……";
		wait;
		img load 0 , "riz/f3";
		text	"人聞きが悪いわね"	"正当防衛の範囲内でしょ";
		wait;
		img 0 col 120;	img 1 col 255;	
		text	"やかましいっ！！！";
		wait;
	}
	bgm load "yuri.ogg" 80 60;

	player action true;	//操作可能

	wait boss;
	player action false;	//操作不可
	wait time 60;

	text{	//テキストボックス表示、閉じるまでwait
		img load 0 , "riz/f8";	img uv 0 , 0 2 32 32;	img set 0 , 0 0 256 480;
		img load 1 , "yuri/f4";	img uv 1 , 0 2 32 32;	img set 1 , 384 0 256 480;
		img 1 col 120;
		text 	"ここまでね";
		wait;

		img 0 col 120;	img 1 col 255;
		text	"うーん"		"まけたかー";
		wait;
		text	"修理しないと動かないかなぁ　これ";
		wait;
		img load 0 , "riz/f3";
		img 0 col 255;	img 1 col 120;
		text	"…しばらく修理に没頭してもらえると"		"助かるわ";
		wait;
		img load 1 , "yuri/f3";
		img 0 col 120;	img 1 col 255;
		text	"少しは申し訳なさそうにしなさいよーもー！";
		wait;
		img 0 col 255;
		img 1 col 120;
		text	"いきなり攻撃してきといてよく言うわよ";
		wait;
		img load 0 , "riz/f1";
		text	"………"	"そういえば、霊人ってナニ？";
		wait;
		img load 1 , "yuri/f4";
		img 0 col 120;	img 1 col 255;
		text	"…よく知らない"		"私達みたいなのはみんな霊人だって"	"レン姉さんが言ってた";
		wait;
		img load 0 , "riz/f4";
		img 0 col 255;	img 1 col 120;
		text	"私はその霊人とは違うってこと？";
		wait;
		img 0 col 120;	img 1 col 255;
		text	"だって霊人が18歳で話せるわけないじゃん";
		wait;
		text	"もー、詳しいことは姉さんに聞いてよ"	"私、この子修理しないといけないんだから";
		wait;
	}

	out script;
}
//end