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;
  bgm
  {
	file="DATA\Music\bgmCN.wav";
	play=2;
  }
}

//主角
comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  unitctrl
  {
	setpt=-355,2350,-7058;
	lookpt=-1609,2750,-8276;
	swing=1;
  }
  camera
  {
	lookpt=0,80,0,1;
	roll=0.4;
	yaw=-3,-2,0.001;
	distance=-500;
	swing=1;
  }
}

//敌首
comment
{
  getunit
  {
	id=0;
	team=1;
	NPC="B10";
  }
  unitctrl
  {
	setpt=-1630,2750,-8293;
	lookpt=-700,2320,-7400;
	swing=1;
  }
}

//道长
comment
{
  getunit
  {
	id=1;
	team=1;
  }
  unitctrl
  {
	setpt=-1450,2778,-8411;
	lookpt=-700,2320,-7400;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=2;
	team=1;
  }
  unitctrl
  {
	setpt=-790,2320,-7686;
	lookpt=-700,2320,-7400;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=3;
	team=1;
  }
  unitctrl
  {
	setpt=-1003,2320,-7457;
	lookpt=-700,2320,-7400;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=4;
	team=1;
  }
  unitctrl
  {
	setpt=-891,2320,-7785;
	lookpt=-700,2320,-7400;
	swing=1;
  }
}


comment
{
  getunit
  {
	id=5;
	team=1;
  }
  unitctrl
  {
	setpt=-1098,2320,-7560;
	lookpt=-700,2320,-7400;
	swing=1;
  }
}

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

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  unitctrl
  {
	gotopt=-700,2320,-7400;
	moving=1;
  }
}

comment
{
  getunit
  {
	id=2;
	team=1;
  }
  dialogue
  {
	talk="站住！！";
	dlgtype="!";
	lifetime=3;
	waittime=3;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  unitctrl
  {
	setST=0x420000,2;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=2;
	team=1;
  }
  dialogue
  {
	talk="出示你的通关文叠。";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  dialogue
  {
	talk="什么！？
我没有那种东西。";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	id=3;
	team=1;
  }
  dialogue
  {
	talk="没有的话，不得过关。";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  dialogue
  {
	talk="凭什么！？
你们怎么可以这样。";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	id=4;
	team=1;
  }
  dialogue
  {
	talk="少废话，否则别怪我们不客气。";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  dialogue
  {
	talk="哟呵！那咱们就只能武力解决。";
	lifetime=4;
	waittime=4;
  }
  unitctrl
  {
	setST=0x4000,5;
  }
}

comment
{
  getunit
  {
	id=0;
	team=1;
	NPC="B10";
  }
  dialogue
  {
	talk="好嚣张的西洋人，看来得让你知道知道王道的厉害。";
	lifetime=4;
	waittime=4;
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=1;
	team=1;
  }
  dialogue
  {
	talk="贫道愿助将军一臂之力，降此孽障。";
	lifetime=4;
	waittime=4;
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  dialogue
  {
	talk="最烦你们这些喜欢造墙设障，阻碍天下人交流的老顽固！";
	lifetime=4;
	waittime=4;
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
}

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

comment
{
  GameSystemMode="B101",0;
}

comment
{
  return;
}

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

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

comment
{
  function
  {
	func_call="SetExitTime(60)";
  }
  nextStage=""; //默认+1
  return;
}

#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_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;
}
