//  大战一级高官，律香川，一等杀手
int Rule = 1;
int RoundTime = 90;
int PlayerSpawn = 121;
int PlayerSpawnDir = 180;
int PlayerWeapon = 50;
int PlayerWeapon2 = 14;
int PlayerHP = 30000;

int trg0 = 0;
int trg1 = 0;
int trg2 = 0;
int trg3 = 0;
int trg4 = 0;
int trg5 = 0;
int trg6 = 0;
int trg7 = 0;
int trg8 = 0;
int trg9 = 0;
int trg10 = 0;
int trg11 = 0;
int trg12 = 0;
int trg13 = 0;
int trg14 = 0;
int trg15 = 0;
int timer0 = 0;
int timer1 = 0;
int timer2 = 0;
int timer3 = 0;
int timer4 = 0;
int gameover = 0;
int reborn = -1;
string rebornName;

OnStart()
{
	AddNPC("伏呼高僧1");
	AddNPC("伏呼高僧2");
	AddNPC("伏呼高僧3");
	AddNPC("伏呼高僧4");
	AddNPC("伏呼高僧5");
}

OnUpdate()
{
	int player = GetAnyChar("player");
	if (player < 0)
	{
		return 0;
	}
	if (gameover == 2)
	{
		return 0;
	}
	
	int c;
	int c1;
	int c2;
	int c3;
	int c4;
	int c5;
	int c6;
	int c7;
	int c8;
	int c9;
	int c10;
	int now = GetGameTime();



if (trg0 == 0)
	{
		c = GetChar("高僧1");
		if (c>=0)
		{

			PlayerPerform("block", 0);
			PlayerPerform("use", 19);
			PlayerPerform("use", 5);
			PlayerPerform("use", 33);
			PlayerPerform("use", 34);
			PlayerPerform("use", 4);
			PlayerPerform("use", 20);
			PlayerPerform("use", 41);
			PlayerPerform("use", 42);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "好..就这么定了，我先去上面看看都是什么人物。。");
			PlayerPerform("pause", 2);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "如果高官真的在这的话，今天一定要将他铲除，那样对付孙老头就容易多了。");
			PlayerPerform("pause", 2);
		        PlayerPerform("crouch", 1);
                        PlayerPerform("say", "这一切都是我造成的我应该自己解决。。"); 
			PlayerPerform("pause", 1);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "这样也好，一人做事一人当，总不能连累梦..，");
			PlayerPerform("pause", 1);
		        PlayerPerform("crouch", 1);
                        PlayerPerform("say", "看来孙玉伯并不想伤害梦，只是想杀我，为他的儿子报仇。。"); 
			PlayerPerform("pause", 1);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "不管怎么说，梦他们安全了，剩下的就是结束这一切。！");
			PlayerPerform("pause", 1);
		        PlayerPerform("crouch", 1);
                        PlayerPerform("say", "能如何当上高官呢。也许他们就在伏虎山里。"); 
			PlayerPerform("pause", 1);
		        PlayerPerform("crouch", 1);
			PlayerPerform("say", "高官他们可能没有死，单凭这样他们如果死了。");
			PlayerPerform("pause", 1);
		        PlayerPerform("crouch", 1);
                        PlayerPerform("say", "伏虎山，头次来..。这里就暗藏杀机，似乎有埋伏。"); 
			PlayerPerform("block", 1);
		        PlayerPerform("crouch", 1);
						
			trg0 = 1;
                }          
        }     



	if (trg1 == 0)
	{
		c = GetChar("高僧1");
		c1 = GetChar("高僧1");
		c2 = GetChar("高僧1");
		c3 = GetChar("高僧1");
		c4 = GetChar("高僧1");
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "施主乱闯此地，老衲对你不客气了。");
			Perform(c, "faceto", player);

		       ChangeBehavior(c1, "kill", player);
                        Perform(c1, "use", 19);
                        Perform(c1, "use", 5);
		       ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 19);
                        Perform(c2, "use", 5);
		       ChangeBehavior(c3, "kill", player);
                        Perform(c3, "use", 19);
                        Perform(c3, "use", 5);
		       ChangeBehavior(c4, "kill", player);
                        Perform(c4, "use", 19);
                        Perform(c4, "use", 5);

			trg1 = 1;
		}
	}
	if (trg2 == 0)
	{
		c = GetChar("高僧2");
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "施主你很无理...。");
			Perform(c, "faceto", player);

			trg2 = 1;
		}
	}
	if (trg3 == 0)
	{
		c = GetChar("高僧3");
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "老衲领教施主的高招了。。");
			Perform(c, "faceto", player);

			trg3 = 1;
		}
	}
	if (trg4 == 0)
	{
		c = GetChar("高僧4");
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "老衲领教施主的高招了。。");
			Perform(c, "faceto", player);

			trg4 = 1;
		}
	}
	if (trg5 == 0)
	{
		c = GetChar("高僧5");
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "施主乱闯此地，老衲对你不客气了。");
			Perform(c, "faceto", player);

			trg5 = 1;
		}
	}

if (trg5 == 1)
	{
		c = GetAnyChar("高僧1");
		c3 = GetAnyChar("高僧2");
		c4 = GetAnyChar("高僧3");
		c5 = GetAnyChar("高僧4");
		c6 = GetAnyChar("高僧5");
		if (GetHP(c)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 &&  GetHP(c7)<=0 &&  GetHP(c8)<=0 &&  GetHP(c9)<=0 && player>=0 && GetHP(player)>0)
		{

			PlayerPerform("say", "伏虎山..第一次来竟跟一些老和尚打斗");
			PlayerPerform("pause", 3);


			trg5 = 2;
			timer0 = now + 4;
		}		
	}

if (trg5 == 2 && now>timer0)
	{

                RemoveNPC(GetAnyChar("高僧1"));
                RemoveNPC(GetAnyChar("高僧2"));
                RemoveNPC(GetAnyChar("高僧3"));
                RemoveNPC(GetAnyChar("高僧4"));
                RemoveNPC(GetAnyChar("高僧5"));
		         trg5 = 3;
			 timer1 = now + 5;
                   }


	     if (trg5 == 3 && now>timer1)
	     {

                    AddNPC("伏呼尼姑1");
                    AddNPC("伏呼尼姑2");
                    AddNPC("伏呼尼姑3");
                    AddNPC("伏呼尼姑4");
                    AddNPC("伏呼尼姑5");
                    AddNPC("伏呼尼姑6");
                    AddNPC("伏呼尼姑7");
                    AddNPC("伏呼尼姑8");

		         trg5 = 4;

	}

	if (trg5 == 4)
	{
		c = GetChar("尼姑1");
		c1 = GetChar("尼姑2");
		c2 = GetChar("尼姑3");
		c3 = GetChar("尼姑4");
		c4 = GetChar("尼姑5");
		c5 = GetChar("尼姑6");
		c6 = GetChar("尼姑7");
		c7 = GetChar("尼姑8");
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "老尼对施主失礼了...。");
			Perform(c, "faceto", player);

		       ChangeBehavior(c1, "kill", player);
                        Perform(c1, "use", 19);
                        Perform(c1, "use", 5);
		       ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 19);
                        Perform(c2, "use", 5);
		       ChangeBehavior(c3, "kill", player);
                        Perform(c3, "use", 19);
                        Perform(c3, "use", 5);
		       ChangeBehavior(c4, "kill", player);
                        Perform(c4, "use", 19);
                        Perform(c4, "use", 5);
		       ChangeBehavior(c5, "kill", player);
                        Perform(c5, "use", 19);
                        Perform(c5, "use", 5);
		       ChangeBehavior(c6, "kill", player);
                        Perform(c6, "use", 19);
                        Perform(c6, "use", 5);
		       ChangeBehavior(c7, "kill", player);
                        Perform(c7, "use", 19);
                        Perform(c7, "use", 5);

			trg5 = 5;
		}
	}

	if (trg5 == 5)
	{
		c = GetAnyChar("尼姑1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "，施主的武功，老尼有几处胆量..。");
			trg5 = 6;
		}
	}
	if (trg5 == 6)
	{
		c = GetAnyChar("尼姑1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/4)
		{			
			Perform(c, "say", "出家人从不会杀生..。施主你却..");

			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("say", "这可怪不得我....是你们自己找死。");
			PlayerPerform("pause", 3);
			trg5 = 7;
		}
	}

	if (trg5 == 7)
	{
		c = GetAnyChar("尼姑1");
		if (GetHP(c) <= 0)
		{
			Say(c, "善栽善栽阿.......");
			trg5 = 8;
		}
	}

if (trg5 == 8)
	{
		c = GetAnyChar("尼姑1");
		c3 = GetAnyChar("尼姑2");
		c4 = GetAnyChar("尼姑3");
		c5 = GetAnyChar("尼姑4");
		c6 = GetAnyChar("尼姑5");
		c7 = GetAnyChar("尼姑6");
		c8 = GetAnyChar("尼姑7");
		c9 = GetAnyChar("尼姑8");
		if (GetHP(c)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 &&  GetHP(c7)<=0 &&  GetHP(c8)<=0 &&  GetHP(c9)<=0 && player>=0 && GetHP(player)>0)
		{

			PlayerPerform("say", "尼姑都能用上..。..真厉害。");
			PlayerPerform("pause", 3);


			trg5 = 9;
			timer1 = now + 4;
		}		
	}


if (trg5 == 9 && now>timer1)
	{

                RemoveNPC(GetAnyChar("尼姑1"));
                RemoveNPC(GetAnyChar("尼姑2"));
                RemoveNPC(GetAnyChar("尼姑3"));
                RemoveNPC(GetAnyChar("尼姑4"));
                RemoveNPC(GetAnyChar("尼姑5"));
                RemoveNPC(GetAnyChar("尼姑6"));
                RemoveNPC(GetAnyChar("尼姑7"));
                RemoveNPC(GetAnyChar("尼姑8"));
		         trg5 = 10;
			 timer1 = now + 5;
                   }





	     if (trg5 == 10 && now>timer1)
	     {

                    AddNPC("伏呼刺客1");
                    AddNPC("伏呼刺客2");
                    AddNPC("伏呼刺客3");
                    AddNPC("伏呼刺客4");
                    AddNPC("伏呼刺客5");
                    AddNPC("伏呼刺客6");
                    AddNPC("伏呼刺客7");
                    AddNPC("伏呼刺客8");

		         trg5 = 11;

	}


	if (trg6 == 0)
	{
		c = GetChar("伏虎刺客1");
		c1 = GetChar("伏虎刺客2");
		c2 = GetChar("伏虎刺客3");
		c3 = GetChar("伏虎刺客4");
		c4 = GetChar("伏虎刺客5");
		c5 = GetChar("伏虎刺客6");
		c6 = GetChar("伏虎刺客7");
		c7 = GetChar("伏虎刺客8");
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "竟然敢闯入我们的地盘.....。找死。");
			Perform(c, "faceto", player);

		       ChangeBehavior(c1, "kill", player);
                        Perform(c1, "use", 19);
                        Perform(c1, "use", 5);
		       ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 19);
                        Perform(c2, "use", 5);
		       ChangeBehavior(c3, "kill", player);
                        Perform(c3, "use", 19);
                        Perform(c3, "use", 5);
		       ChangeBehavior(c4, "kill", player);
                        Perform(c4, "use", 19);
                        Perform(c4, "use", 5);
		       ChangeBehavior(c5, "kill", player);
                        Perform(c5, "use", 19);
                        Perform(c5, "use", 5);
		       ChangeBehavior(c6, "kill", player);
                        Perform(c6, "use", 19);
                        Perform(c6, "use", 5);
		       ChangeBehavior(c7, "kill", player);
                        Perform(c7, "use", 19);
                        Perform(c7, "use", 5);

			trg6 = 1;
		}
	}

	if (trg6 == 1)
	{
		c = GetAnyChar("伏虎刺客1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "，小子有两下子阿....。");
			trg6 = 2;
		}
	}
	if (trg6 == 2)
	{
		c = GetAnyChar("伏虎刺客1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/4)
		{			
			Perform(c, "say", "你这家伙..逼我.");

			PlayerPerform("say", "哦？你还有什么厉害的武功吗？不就是一个刺客。。");
			PlayerPerform("pause", 3);
			trg6 = 3;
		}
	}

	if (trg6 == 3)
	{
		c = GetAnyChar("伏虎刺客1");
		if (GetHP(c) <= 0)
		{
			Say(c, "没想到。....我会死....");
			trg6 = 4;
		}
	}

if (trg6 == 4)
	{
		c = GetAnyChar("伏虎刺客1");
		c3 = GetAnyChar("伏虎刺客2");
		c4 = GetAnyChar("伏虎刺客3");
		c5 = GetAnyChar("伏虎刺客4");
		c6 = GetAnyChar("伏虎刺客5");
		c7 = GetAnyChar("伏虎刺客6");
		c8 = GetAnyChar("伏虎刺客7");
		c9 = GetAnyChar("伏虎刺客8");
		if (GetHP(c)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 &&  GetHP(c7)<=0 &&  GetHP(c8)<=0 &&  GetHP(c9)<=0 && player>=0 && GetHP(player)>0)
		{

			PlayerPerform("say", "律香川跟高官他们肯定没死。要不然这里不会有这么多的埋伏。");
			PlayerPerform("pause", 3);


			trg6 = 5;
			timer1 = now + 4;
		}		
	}


if (trg6 == 5 && now>timer1)
	{

                RemoveNPC(GetAnyChar("伏虎刺客1"));
                RemoveNPC(GetAnyChar("伏虎刺客2"));
                RemoveNPC(GetAnyChar("伏虎刺客3"));
                RemoveNPC(GetAnyChar("伏虎刺客4"));
                RemoveNPC(GetAnyChar("伏虎刺客5"));
                RemoveNPC(GetAnyChar("伏虎刺客6"));
                RemoveNPC(GetAnyChar("伏虎刺客7"));
                RemoveNPC(GetAnyChar("伏虎刺客8"));
		         trg6 = 6;
			 timer1 = now + 5;
                   }





	     if (trg6 == 6 && now>timer1)
	     {

                    AddNPC("伏呼蒙面1");
                    AddNPC("伏呼蒙面2");
                    AddNPC("伏呼蒙面3");
                    AddNPC("伏呼蒙面4");
                    AddNPC("伏呼蒙面5");
                    AddNPC("伏呼蒙面6");
                    AddNPC("伏呼蒙面7");
                    AddNPC("伏呼蒙面8");

		         trg6 = 7;

	}

	if (trg7 == 0)
	{
		c = GetChar("伏虎蒙面1");
		c1 = GetChar("伏虎蒙面2");
		c2 = GetChar("伏虎蒙面3");
		c3 = GetChar("伏虎蒙面4");
		c4 = GetChar("伏虎蒙面5");
		c5 = GetChar("伏虎蒙面6");
		c6 = GetChar("伏虎蒙面7");
		c7 = GetChar("伏虎蒙面8");
		if (c>=0 && GetEnemy(c)==player)
		{
			Perform(c, "say", "我看你有多大的劲来杀...。");
			Perform(c, "faceto", player);

		       ChangeBehavior(c1, "kill", player);
                        Perform(c1, "use", 19);
                        Perform(c1, "use", 5);
		       ChangeBehavior(c2, "kill", player);
                        Perform(c2, "use", 19);
                        Perform(c2, "use", 5);
		       ChangeBehavior(c3, "kill", player);
                        Perform(c3, "use", 19);
                        Perform(c3, "use", 5);
		       ChangeBehavior(c4, "kill", player);
                        Perform(c4, "use", 19);
                        Perform(c4, "use", 5);
		       ChangeBehavior(c5, "kill", player);
                        Perform(c5, "use", 19);
                        Perform(c5, "use", 5);
		       ChangeBehavior(c6, "kill", player);
                        Perform(c6, "use", 19);
                        Perform(c6, "use", 5);
		       ChangeBehavior(c7, "kill", player);
                        Perform(c7, "use", 19);
                        Perform(c7, "use", 5);

			trg7 = 1;
		}
	}


	if (trg7 == 1)
	{
		c = GetAnyChar("伏虎蒙面1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "，小子有两下子阿....。");
			trg7 = 2;
		}
	}
	if (trg7 == 2)
	{
		c = GetAnyChar("伏虎蒙面1");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/4)
		{			
			Perform(c, "say", "哼...别以为我们都是废物");

			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("say", "难道不是吗？。");
			PlayerPerform("pause", 3);
			trg7 = 3;
		}
	}

	if (trg7 == 3)
	{
		c = GetAnyChar("伏虎蒙面1");
		if (GetHP(c) <= 0)
		{
			Say(c, "果真我是废物...高官。在下不行了，还是你来应付吧..");
			trg7 = 4;
		}
	}


if (trg7 == 4)
	{
		c = GetAnyChar("伏虎蒙面1");
		c3 = GetAnyChar("伏虎蒙面2");
		c4 = GetAnyChar("伏虎蒙面3");
		c5 = GetAnyChar("伏虎蒙面4");
		c6 = GetAnyChar("伏虎蒙面5");
		c7 = GetAnyChar("伏虎蒙面6");
		c8 = GetAnyChar("伏虎蒙面7");
		c9 = GetAnyChar("伏虎蒙面8");
		if (GetHP(c)<=0 && GetHP(c3)<=0 && GetHP(c4)<=0 && GetHP(c5)<=0 && GetHP(c6)<=0 &&  GetHP(c7)<=0 &&  GetHP(c8)<=0 &&  GetHP(c9)<=0 && player>=0 && GetHP(player)>0)
		{

			PlayerPerform("say", "蒙面人真是够棘手。不亏为杀人无形..。");
			PlayerPerform("pause", 3);


			trg7 = 5;
			timer1 = now + 4;
		}		
	}


if (trg7 == 5 && now>timer1)
	{

                RemoveNPC(GetAnyChar("伏虎蒙面1"));
                RemoveNPC(GetAnyChar("伏虎蒙面2"));
                RemoveNPC(GetAnyChar("伏虎蒙面3"));
                RemoveNPC(GetAnyChar("伏虎蒙面4"));
                RemoveNPC(GetAnyChar("伏虎蒙面5"));
                RemoveNPC(GetAnyChar("伏虎蒙面6"));
                RemoveNPC(GetAnyChar("伏虎蒙面7"));
                RemoveNPC(GetAnyChar("伏虎蒙面8"));
		         trg7 = 6;
			 timer1 = now + 5;
                   }





	     if (trg7 == 6 && now>timer1)
	     {

                    AddNPC("伏呼1");
                    AddNPC("伏呼2");
                    AddNPC("伏呼3");

		         trg7 = 7;

	}

 if (trg7 == 7)
	{
		c = GetChar("一级高官");	
		c2 = GetChar("律香川");	
		c3 = GetChar("律香川一等杀手");		
		if (c>=0 && GetEnemy(c)==player)
		{
                        ChangeBehavior(c,"follow",player);
			Perform(c, "aggress");
			Perform(c, "say", "好猖狂的语气。..受死吧。。");
			Perform(c, "pause", 8);
			Perform(c, "say", "好。我看你怎么让我死的难看..你有这么大的能耐吗？");
			Perform(c, "pause", 3);
			Perform(c, "say", "哼，凭你这点功夫是杀不死我的。。。");
			Perform(c, "faceto", player);

			Perform(c2, "pause", 3);
			Perform(c2, "say", "就你这点能耐能杀死我们，简直是笑话。。看招。");
			Perform(c2, "pause", 5);
			Perform(c2, "say", "放屁...好猖狂个伊人君阿。");
			Perform(c2, "pause", 2);
			Perform(c2, "faceto", player);

			Perform(c3, "pause", 11);

			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("use", 15);
			PlayerPerform("say", ".......）...");		
			PlayerPerform("pause", 2);
			PlayerPerform("say", "那好阿，。。看到底谁死谁活吧。3个小人，受死吧。");		
			PlayerPerform("pause", 8);
			PlayerPerform("say", "我早知道你没有死，。因为你不可能这么容易死。我要你死的很难看。");		
			PlayerPerform("pause", 1);
			PlayerPerform("block", 1);

		         trg7 = 8;
		        timer0 = now + 12; 


	    }

          }


	     if (trg7 == 8 && now>timer0)
	     {
                    AddNPC("伏呼蒙面1");
                    AddNPC("伏呼蒙面2");
                    AddNPC("伏呼蒙面3");
                    AddNPC("伏呼蒙面4");
                    AddNPC("伏呼蒙面5");

		         trg7 = 9;

	}

if (trg8==0 && trg7==9)
	{
		c2 = GetAnyChar("伏虎蒙面1");
		if (c2>=0 && GetHP(c2)<=0)
		{
			reborn = c2;
			rebornName = "伏呼蒙面1";
			trg8 = 1;
			timer1 = now + 1;
		}
		c3 = GetAnyChar("伏虎蒙面2");
		if (c3>=0 && GetHP(c3)<=0)
		{
			reborn = c3;
			rebornName = "伏呼蒙面2";
			trg8 = 1;
			timer1 = now + 1;
		}
		c4 = GetAnyChar("伏虎蒙面3");
		if (c4>=0 && GetHP(c4)<=0)
		{
			reborn = c4;
			rebornName = "伏呼蒙面3";
			trg8 = 1;
			timer1 = now + 1;
		}
		c5 = GetAnyChar("伏虎蒙面4");
		if (c5>=0 && GetHP(c5)<=0)
		{
			reborn = c5;
			rebornName = "伏呼蒙面4";
			trg8 = 1;
			timer1 = now + 1;
		}
		c6 = GetAnyChar("伏虎蒙面5");
		if (c6>=0 && GetHP(c6)<=0)
		{
			reborn = c6;
			rebornName = "伏呼蒙面5";
			trg8 = 1;
			timer1 = now + 1;
		}
	}				
	if (trg8==1 && now>timer1)
	{
		RemoveNPC(reborn);
		timer1 = now + 1;
		trg8 = 2;
	}
	if (trg8==2 && now>timer1)
	{
		AddNPC(rebornName);
		trg8 = 0;
	}



      if (trg9 == 0)
	{
		c = GetAnyChar("一级高官");
		if (c>=0 && GetHP(c)<GetMaxHP(c)/2)
		{			
			Perform(c, "say", "好样的，...。果真是一位高手，我高官欣赏你。");
			trg9 = 1;
		}

       } 

      if (trg9 == 1)
	{
		c = GetAnyChar("一级高官");
		if (c>=0 && GetHP(c)<5000)
		{			
			Perform(c, "say", "伊人君，。咱后面见..你这家伙。现在不是打的时候，撤。");
			trg9 = 2;
		        timer0 = now + 3;
		}

       } 

    if (trg9==2 && now>timer0)
	{
		c = GetAnyChar("一级高官");
                c1 = GetAnyChar("律香川");
                c2 = GetAnyChar("律香川一等杀手");
		if (c>=0 && c1>=0 &&  c2>=0 )
		{
		
                RemoveNPC(c);
                RemoveNPC(c1);
                RemoveNPC(c2);
		gameover = 1;
		trg9 = 3;


	}

}


	if (gameover!=-1 && GetHP(player)<=0)
	{
		gameover = -1;
		timer1 = now + 2; 
	}
	if ((gameover==1 || gameover==-1) && now>timer1)
	{
		GameOver(gameover);
		gameover = 2;
	}
}
