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\YaPoGan.mid";
	play=2;
  }
}

comment
{
  getunit
  {
	id=0;
	team=8;
  }
  unitctrl
  {
	setpt=1500,30,2200;
	lookdir=0,0,-10;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B100";
  }
  unitctrl
  {
	setpt=1590,30,2330;
	lookdir=0,0,-10;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=1;
	team=0;
	NPC="B100";
  }
  unitctrl
  {
	setpt=1380,30,2430;
	lookdir=0,0,-10;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=2;
	team=0;
	NPC="B100";
  }
  unitctrl
  {
	setpt=1600,30,2590;
	lookdir=0,0,-10;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=3;
	team=0;
	NPC="B100";
  }
  unitctrl
  {
	setpt=1380,30,2740;
	lookdir=0,0,-10;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  unitctrl
  {
	setpt=-200,30,4000;
	lookdir=10,0,0;
	swing=1;
  }
  camera
  {
	lookpt=0,80,0,1;
	roll=0.8;
	yaw=1.3;
	distance=-500;
	swing=1;
  }
}

comment
{
  wait=1; //重置人物位置时会有个落地动作，最好等一等。
}

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

comment
{
  sound
  {	
	file="DATA\Thing\Sword\shake.wav";
  }
  wait=1;
}

comment
{
  sound
  {	
	file="DATA\Thing\SwordJG\shake.wav";
  }
  wait=0.5;
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  unitctrl
  {
	gotopt=1500,30,4000;
	lookpt=1500,0,2200;
	setST=0x400000,2;
	swing=1;
  }
  camera
  {
	lookpt=0,80,0,1;
	roll=0.7;
	swing=1;
  }
}

comment
{
  sound
  {	
	file="DATA\Thing\SwordJG\flare.wav";
  }
  wait=0.5;
}

comment
{
  getunit
  {
	id=3;
	team=0;
	NPC="B100";
  }
  unitctrl
  {
	setHP=0;
  }
  wait=0.5;
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  unitctrl
  {
	setST=0x20000,5;
  }
}

comment
{
  sound
  {	
	file="DATA\Thing\Sword\shake.wav";
  }
  wait=0.5;
}

comment
{
  sound
  {	
	file="DATA\Thing\SwordJG\flare.wav";
  }
  wait=0.5;
}

comment
{
  getunit
  {
	id=2;
	team=0;
	NPC="B100";
  }
  unitctrl
  {
	setHP=0;
  }
  wait=0.5;
}

comment
{
  sound
  {	
	file="DATA\Thing\SwordJG\shake.wav";
  }
  wait=0.5;
}

comment
{
  sound
  {	
	file="DATA\Thing\SwordJG\flare.wav";
  }
  wait=0.5;
}

comment
{
  getunit
  {
	id=1;
	team=0;
	NPC="B100";
  }
  unitctrl
  {
	setHP=0;
  }
  wait=0.5;
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B100";
  }
  unitctrl
  {
	setHP=0;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=0;
	team=8;
  }
  camera
  {
	lookpt=0,80,0,1;
	roll=0.5;
	yaw=2.2;
	slerpspeed=0.03;
  }
  wait=3;
}

comment
{
  unitctrl
  {
	lookpt=1500,30,4000;
  }
}

comment
{
  unitctrl
  {
	lookpt=1500,30,4000;
  }
  dialogue
  {
	talk="哼，一群自不量力的乌合之众。";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  camera
  {
	lookpt=0,80,0,1;
	slerpspeed=0.2; //还原默认值
	swing=1;
  }
  dialogue
  {
	talk="这个骷髅兵怎么是黑色的？";
	dlgtype="Think";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  dialogue
  {
	talk="和一般常见的骷髅兵不太一样啊？";
	dlgtype="Think";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  dialogue
  {
	talk="这么幽静美丽的地方，竟然遭你们不死族肆虐。";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  dialogue
  {
	talk="你到底是什么鬼？";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	id=0;
	team=8;
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
  dialogue
  {
	talk="我可是来自地狱深处的黑暗斗士！";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  dialogue
  {
	talk="不知死活的人类和精灵族敢和我们作对，都得死！";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
  dialogue
  {
	talk="滚回你的冥界吧，这里不是你该来的地方！";
	lifetime=4;
	waittime=4;
  }
}

comment
{
  getunit
  {
	team=0;
	id=2;
	NPC=0;
  }
}
comment
{
  happenGoto
  {
	LV=1;	//用作判断是否有第二个同伴
	goto="CAREFUL";
  }
}

#BOOKMARK_JIXU:	//—————继续
comment
{
  wait=3;
}

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

comment
{
  GameSystemMode="B101",0;
  wait=10;
}

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

#BOOKMARK_CAREFUL://———————————————————————————————————

comment
{
  getunit
  {
	id=0;
	team=0;
	NPC="B10";
  }
  unitctrl
  {
	lookpt=-200,30,4000;
  }
}

comment
{
  dialogue
  {
	talk="大家小心！
这次的对手可能不太好对付。";
	dlgtype="!";
	lifetime=4;
	waittime=4;
  }
  camera
  {
	lookpt=0,80,0,1;
	swing=1;
  }
}

comment
{
  unitctrl
  {
	lookpt=1500,30,2200;
  }
}

comment
{
  goto="JIXU";
}