comment
{
  getunit
  {
	curunit=0;
  }
  tmpstrindex=1;
  dialogue
  {
	talk="！？，我在“%s”遭遇突发状况~~!";
	talkid=0;
  }
}

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

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

comment
{
  GameSystemMode="B111",1;
  function
  {
	func_call="PlaySceneBGM()";
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setpt=-670,30,-4130;
	gotopt=-670,30,-1622;
	swing=1;
	moving=1;
	setNPC="B1 0000",1;
  }
  camera
  {
	lookpt=0,100,0,1;
	roll=0.3;
	yaw=0,0,0.001;
	distance=-400;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setpt=-670,240,1563;
	gotopt=-670,30,470;
	swing=1;
	moving=1;
	setNPC="B1001 0000",1;
  }
}

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

comment
{
  getunit
  {
	id=1;
  }
  WaitActionDone=1;
}

comment
{
  unitctrl
  {
	gotopt=-670,30,-1550;
	moving=1;
  }
}

comment
{
  camera
  {
	lookpt=-670,130,-1550;
	yaw="",-1.57,0.01;
	swing=1;
  }
}

comment
{
  dialogue
  {
	talk="请问，这位客人您来此有何贵干啊？";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="… …";
	conditional="我是来观光的。",
				"我想和您切磋一下。";
	cond_goto="","BIWU";
  }
}

comment
{
  dialogue
  {
	talk="我是到这里游览观光的。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="那，祝您游玩尽兴。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  dialogue
  {
	talk="不嫌弃的话，我可以为您做导游。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="太感谢你了。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="请随我来。";
	lifetime=3;
  }
  unitctrl
  {
	gotopt=-670,30,470;
	moving=1;
	swing=1;
  }
  wait=0.5;
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	gotopt=-670,30,470;
	moving=1;
	swing=1;
  }
  wait=3;
}

comment
{
  goto="EXIT";
}

#BOOKMARK_BIWU://———————————————————————————————————

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="我想和你切磋一下武艺，不知能否赐教？";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="乐意奉陪";
	lifetime=3;
  }
  wait=2;
}

comment
{
  dialogue
  {
	talk="请~~~！";
	lifetime=3;
  }
  unitctrl
  {
	motact="DATA\Character\Motion\HappyBoy_bq.mot";
	setST=0x1000,30;
  }
  wait=1;
}

comment
{
  unitctrl
  {
	addForce=0,0,20;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="请多指教！";
	lifetime=3;
  }
  unitctrl
  {
	motact="DATA\Character\Motion\HappyBoy_bq2.mot";
	setST=0x1000,30;
  }
  wait=5;
}

comment
{
  msglist
  {
	strings="比武胜利条件：打败对手";
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	soundID=7;
	type=1;
	fontID=2;
  }
  GameSystemMode="B101",0;
  return;
}

#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_WIN://———————————————————————————————————
comment
{
  GameSystemMode="B101",1;
  getunit
  {
	id=1;
  }
  camera
  {
	lookpt=0,100,0,1;
	yaw="",100,0.001;
	swing=1;
  }
  wait=4;
}

comment
{
  getunit
  {
	id=0;
	SelResult=1;
  }
  unitctrl
  {
	lookpt=0,0,0,1;
	times=2;
	swing=1;
  }
}

comment
{
  dialogue
  {
	talk="你真强，我甘拜下风。";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
}

comment
{
  getunit
  {
	id=1;
	SelResult=1;
  }
  unitctrl
  {
	lookpt=0,0,0,1;
	times=2;
	swing=1;
	setNPC="B1 0000",0;
  }
}

comment
{
  dialogue
  {
	talk="哪里、哪里…";
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  unitctrl
  {
	setST=0;
  }
  wait=2;
}

comment
{
  dialogue
  {
	talk="你也不错啊~";
  }
  wait=2;
}

comment
{
  dialogue
  {
	talk="我们队伍最近缺人手，不知你愿不愿入伙？";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="好啊~！
我愿效犬马之劳。";
	lifetime=3;
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  unitctrl
  {
	setNPC=0;
  }
  function
  {
	func_call="ChangeTeam(0)";
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="那，太好了！";
	lifetime=3;
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  wait=2;
}

comment
{
  camera
  {
	lookpt=0,500,0,1;
	roll=0;
	swing=1;
	slerpspeed=0.01;
  }
  wait=3;
}

comment
{
  goto="EXIT";
}

#BOOKMARK_LOSE://———————————————————————————————————
comment
{
  GameSystemMode="B101",1;
  getunit
  {
	id=1;
  }
  camera
  {
	lookpt=0,100,0,1;
	yaw="",100,0.001;
	swing=1;
  }
  wait=4;
}

comment
{
  getunit
  {
	id=0;
	SelResult=1;
  }
  unitctrl
  {
	lookpt=0,0,0,1;
	times=2;
	swing=1;
	setST=0;
  }
}

comment
{
  dialogue
  {
	talk="你要不要紧啊！？";
	lifetime=3;
  }
  wait=3;
}


comment
{
  getunit
  {
	id=0;
  }
}

comment
{
  getunit
  {
	id=1;
	SelResult=1;
  }
  unitctrl
  {
	lookpt=0,0,0,1;
	times=2;
	swing=1;
	setNPC="B1 0000",0;
  }
}

comment
{
  dialogue
  {
	talk="你果然厉害，佩服佩服~~";
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  wait=2;
}
comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="承让，承让。";
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  wait=2;
}

comment
{
  dialogue
  {
	talk="客人既然来了，不如在此歇息游玩一日再走吧。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="多谢，多谢！";
	lifetime=3;
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  wait=3;
}

comment
{
  camera
  {
	lookpt=0,500,0,1;
	roll=0;
	swing=1;
	slerpspeed=0.01;
  }
  wait=3;
}

comment
{
  goto="EXIT";
}