comment
{
  function
  {
	func_call="PopFightSelUnitMenu()";
  }
}

comment
{
  WorldRunMode="B10",0; //取消世界系统的控制
}

comment
{
 screen
 {
  mode=0;
  color=0;
  dstframe=0xff;
  speed=3;
 }
}

comment
{
  function
  {
	func_call="BeginFight()";
	threadLV=2;
  }
}

comment
{
  GameSystemMode="B101",1;
}

comment
{
  getunit
  {
	id=0;
	team=1;
  }
  unitctrl
  {
	setpt=160,30,-3000;
	gotopt=200,30,2000;
	swing=1;
	moving=1;
  }
  camera
  {
	lookpt=0,80,0,1;
	roll=0.3;
	yaw=1,2,0.001;
	distance=-500;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=1;
	team=1;
  }
  unitctrl
  {
	setpt=170,30,-3150;
	gotopt=200,30,2000;
	swing=1;
	moving=1;
  }
}

comment
{
  getunit
  {
	id=2;
	team=1;
  }
  unitctrl
  {
	setpt=270,30,-3080;
	gotopt=200,30,2000;
	swing=1;
	moving=1;
  }
}

comment
{
  getunit
  {
	id=3;
	team=1;
  }
  unitctrl
  {
	setpt=50,30,-3100;
	gotopt=200,30,2000;
	swing=1;
	moving=1;
  }
}

comment
{
  getunit
  {
	id=4;
	team=1;
  }
  unitctrl
  {
	setpt=100,30,-3200;
	gotopt=200,30,2000;
	swing=1;
	moving=1;
  }
}

comment
{
  getunit
  {
	team=0;
	NPC="B10"; //选Leader
  }
  unitctrl
  {
	setpt=-2500,30,-2800;
	lookdir=1000,0,0;
  }
}

comment
{
  getunit
  {
	id=0;
	NPC="B1"; //剧情NPC
  }
  unitctrl
  {
	setST=0x40000,0;
  }
}

comment
{
  getunit
  {
	id=1;
	NPC="B1"; //剧情NPC
  }
  unitctrl
  {
	setST=0x40000,0;
  }
}

comment
{
  getunit
  {
	id=2;
	NPC="B1"; //剧情NPC
  }
  unitctrl
  {
	setST=0x40000,0;
  }
}

comment
{
  getunit
  {
	id=3;
	NPC="B1"; //剧情NPC
  }
  unitctrl
  {
	setST=0x40000,0;
  }
}

comment
{
  getunit
  {
	id=4;
	NPC="B1"; //剧情NPC
  }
  unitctrl
  {
	setST=0x40000,0;
  }
}

comment
{
  bgm
  {
	file="DATA\Music\JinZhang.wav";
	play=2;
  }
}

comment
{
  screen
  {
	dstframe=0;
	speed=10;
	swing=1;
  }
  wait=3; //重置人物位置时会有个落地动作，最好等一等。
}

comment
{
  getunit
  {
	team=0;
	NPC="B1"; //剧情NPC
	id=0;
  }
  dialogue
  {
	talk="救命啊~~~！
我们的村子遭丧尸群的袭击。";
  }
  camera
  {
	lookpt=0,80,0,1;
	distance=-400;
	swing=1;
  }
  unitctrl
  {
	setST=0x20000,2;
  }
  wait=4;
}

comment
{
  getunit
  {
	team=0;
	NPC="B1"; //剧情NPC
	id=1;
  }
  dialogue
  {
	talk="孩子们，快躲起来！";
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
  unitctrl
  {
	gotopt=250,30,1700;
	lookdir=0,0,-1000;
	swing=1;
  }
  wait=3;
}

comment
{
  getunit
  {
	team=0;
	name="女童";
  }
  dialogue
  {
	talk="我好怕啊~~~~！";
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
  unitctrl
  {
	setST=0x1000000,2;
  }
  wait=3;
}

comment
{
  getunit
  {
	team=0;
	NPC="B10"; //选Leader
  }
  dialogue
  {
	talk="不好！
有不死族袭击村子，大家火速救援！";
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
  wait=3;
}

comment
{
  anima3ds
  {
	file="DATA\SysMenu\DiQJ$2.3DS";
  }
}

comment
{
  GameSystemMode="B101",0;
  return;
}

#BOOKMARK_WIN://———————————————————————————————————
comment
{
  wait=5;
}

comment
{
  menu
  {
	popmenu="战斗结束";
	swing=0;
  }
  bgm
  {
	file="DATA\SysMenu\StageClear.wav";
	play=1;
  }
  GameSystemMode="B101",1;
}

comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=10;
  }
}

comment
{
  getunit
  {
	team=0;
	NPC="B10"; //选Leader
  }
  unitctrl
  {
	setpt=-1800,30,2000;
	lookdir=-1000,0,0;
	setST=0;
  }
  camera
  {
	lookpt=-100,80,0,1;
	yaw=-1,1,0.001;
	distance=-400;
	swing=1;
  }
}

comment
{
  getunit
  {
	team=0;
	NPC="B1"; //选NPC
	id=0;
  }
  unitctrl
  {
	setpt=-2000,30,2000;
	lookdir=1000,0,0;
	setST=0;
  }
}

comment
{
  screen
  {
	dstframe=0;
	speed=10;
  }
}

comment
{
  dialogue
  {
	talk="谢谢你们的及时相救！";
  }
  unitctrl
  {
	setST=0x10000,2;
  }
  wait=3;
}

comment
{
  dialogue
  {
	talk="不死族一直是在北方出没的。";
  }
  wait=3;
}

comment
{
  dialogue
  {
	talk="没想到我们南方的村子也会遭到袭击。";
  }
  wait=4;
}

comment
{
  getunit
  {
	team=0;
	NPC="B10"; //选Leader
  }
  dialogue
  {
	talk="现在不但兵荒马乱，还鬼怪横行。";
  }
  wait=4;
}

comment
{
  dialogue
  {
	talk="正好我们去北方看看不死族的情况，顺便消灭它们。";
  }
  wait=4;
}

comment
{
  getunit
  {
	team=0;
	NPC="B1"; //选NPC
	id=0;
  }
  dialogue
  {
	talk="那太好了，再次感谢您的救命之恩。";
  }
  unitctrl
  {
	setST=0x10000,2;
  }
  wait=4;
}

comment
{
  nextStage=""; //默认+1
}

comment
{
  goto="EXIT";
}

#BOOKMARK_LOSE://———————————————————————————————————
comment
{
  wait=5;
}

comment
{
  msglist
  {
	strings="战斗失利~~~！";
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	soundID=10;
	type=1;
	fontID=2;
  }
  menu
  {
	popmenu="战斗结束";
	swing=0;
  }
  GameSystemMode="B101",0;
  wait=4;
}

comment
{
  goto="EXIT";
}

#BOOKMARK_LOSE1://———————————————————————————————————
comment
{
  msglist
  {
	strings="任务失败：没能保护好平民！";
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	soundID=10;
	type=1;
	fontID=2;
  }
  menu
  {
	popmenu="战斗结束";
	swing=0;
  }
  GameSystemMode="B101",1;
  wait=4;
}

comment
{
  load="DATA\Scripter\NowLoading.hpp","GAMEOVER";
}

#BOOKMARK_EXIT://———————————————————————————————————
comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=5;
  }
  bgcolor=0;
}

comment
{
  function
  {
	func_call="StartWorldMap()";
	threadLV=2;
  } 
}

comment
{
  screen
  {
	dstframe=0;
	speed=15;
  }
}

comment
{
  function
  {
	func_call="PlaySceneBGM()";
  }
  return;
}