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="B101",1;
  function
  {
	func_call="PlaySceneBGM()";
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setpt=280,30,-3800;
	gotopt=136,30,-1900;
	moving=1;
	swing=1;
  }
  camera
  {
	lookpt=0,130,0,1;
	roll=0.3;
	yaw=2,1,0.001;
	distance=-500;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setpt=722,30,1409;
	lookpt=136,30,1416;
	setST=0x2000000,60;
	setWUST=0x8000,1;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	setpt=647,30,5;
	lookpt=501,0,5;
  }
}

comment
{
  getunit
  {
	id=3;
  }
  unitctrl
  {
	setpt=800,30,-974;
	lookpt=529,30,-974;
	setST=0x2000000,100;
  }
}

comment
{
  getunit
  {
	id=4;
  }
  unitctrl
  {
	setpt=745,30,-974;
	lookpt=800,30,-974;
	setST=0x80000,100;
	motact="DATA\Character\MotionDrama\BiDong.mot";
	motloop=10,60;
  }
}

comment
{
  getunit
  {
	id=6;
  }
  unitctrl
  {
	setpt=1156,30,-1803;
	lookpt=1156,30,-1996;
	setST=0x2000,100;
  }
}

comment
{
  function
  {
	func_call="MadeThing(烤肉,1156,110,-1900)";
  }
}

comment
{
  getunit
  {
	id=7;
  }
  unitctrl
  {
	setpt=1928,30,-2656;
	gotopt=-1832,30,-2714;
	moving=1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=8;
  }
  unitctrl
  {
	setpt=306,30,2225;
	lookpt=297,0,-434;
  }
}

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

comment
{
  getunit
  {
	id=5;
  }
  unitctrl
  {
	setpt=488,30,1046;
	gotopt=488,30,-2939;
	moving=1;
	swing=1;
  }
}

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

comment
{
  unitctrl
  {
	gotopt=136,30,-856;
	moving=1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=4;
  }
  dialogue
  {
	talk="小姐有空吗？
一起去喝一杯…";
	lifetime=3;
  }
}

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

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="卖花啦~~~
有人要买花吗？";
	lifetime=3;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	gotopt=136,30,1416;
	moving=1;
  }
}

comment
{
  getunit
  {
	id=8;
  }
  dialogue
  {
	talk="客人要来我们酒吧喝两杯吗？";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
	SelResult=1;
  }
}

comment
{
  happenGoto
  {
	characteristic=-1,-1,
					"B1",0;
	goto="";
  }
  dialogue
  {
	talk="我们这有漂亮的姑娘为你陪酒哦~~~";
	lifetime=3;
  }
  unitctrl
  {
	setST=0x10000,3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	gotopt=-119,30,1416;
	swing=1;
	moving=1;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=1;
  }
  camera
  {
	lookpt=0,130,0,1;
	yaw=1,0,0.01;
	swing=1;
  }
  unitctrl
  {
	setST=0;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="喂~~~";
	lifetime=3;
  }
  wait=1;
}

comment
{
  unitctrl
  {
	gotopt=-125,30,1583;
  }
}

comment
{
  unitctrl
  {
	gotopt=-286,30,1416;
	lookpt=-119,30,1416;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setST=0x200000,3;
  }
  wait=1;
}

comment
{
  dialogue
  {
	talk="你找我有事吗？";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="我有把古代好剑，你要不要？";
	lifetime=3;
  }
  wait=2;
}

comment
{
  dialogue
  {
	talk="价格嘛，好商量。";
	lifetime=3;
  }
  wait=2;
}

comment
{
  function
  {
	func_call="MadeThing(青铜剑,-225,110,1415)";
  }
  unitctrl
  {
	motact="DATA\Character\MotionDrama\GiveBoy.mot";
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="这剑很一般嘛。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="最近我手头紧，1000块钱便宜卖了。
你觉得如何？";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="… …";
	conditional="买了",
				"不买",
				"拉拢";
	cond_goto="","NOBUY","SHUODE";
  }
}

comment
{
  happenGoto
  {
	money=1000;
	goto="NOMONEY";
  }
}

comment
{
  dialogue
  {
	talk="那好吧，我要了。";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="那太好了！";
	lifetime=3;
  }
  unitctrl
  {
	setST=0x2000,3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  getthing
  {
	name="青铜剑";
	id=0;
  }
  msglist
  {
	strings="已1000块的价格买了把“青铜剑”";
	color=0xffffffff,0xffffffff,0xff00ff00,0xff00ff00;
	outlinecolor=0x77ff0000;
	waittime=5;
	type=1;
	fontID=2;
  }
  sound
  {
	file="DATA\World\Menu$2\buy.wav";
  }
  function
  {
	func_call="PickItemToTeam()";
  }
  wait=3;
}

comment
{
  function
  {
	func_call="AddMoneyToTeam(-1000)";
  }
}

comment
{
  getunit
  {
	id=0;
	SelResult=1;
  }
}

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

comment
{
  getunit
  {
	id=7;
  }
  unitctrl
  {
	setpt=-2271,30,1721;
	gotopt=675,30,1721;
	moving=1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	gotopt=-285,30,1313;
	moving=1;
  }
  camera
  {
	lookpt=0,130,0,1;
	swing=1;
  }
}

comment
{
  unitctrl
  {
	gotopt=-2271,30,1416;
	moving=1;
	swing=1;
  }
  wait=3;
}

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_NOBUY://———————————————————————————————————

comment
{
  dialogue
  {
	talk="不了，谢谢。";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setST=0x2000000,60;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	gotopt=-285,30,1313;
	moving=1;
  }
  camera
  {
	lookpt=0,130,0,1;
	swing=1;
  }
}

comment
{
  unitctrl
  {
	gotopt=-2271,30,1416;
	moving=1;
	swing=1;
  }
  wait=3;
}

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_SHUODE://———————————————————————————————————
comment
{
  dialogue
  {
	talk="既然你有困难，不如加入我们队伍吧。";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="好啊~！我正闲的找不找事做呢。";
	lifetime=3;
  }
  function
  {
	func_call="ChangeTeam(0)";
  }
  wait=2;
}

comment
{
  getunit
  {
	id=7;
  }
  unitctrl
  {
	setpt=-2271,30,1721;
	gotopt=675,30,1721;
	moving=1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="那么，带上你的剑，我们一起走吧。";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  getthing
  {
	name="青铜剑";
	id=0;
  }
  function
  {
	func_call="PickItemToTeam()";
  }
}

comment
{
  unitctrl
  {
	gotopt=-2271,30,1416;
	moving=1;
	swing=1;
  }
  camera
  {
	lookpt=0,130,0,1;
	swing=1;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	gotopt=-2271,30,1416;
	moving=1;
	swing=1;
  }
  wait=3;
}

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_NOMONEY://———————————————————————————————————

comment
{
  dialogue
  {
	talk="抱歉，我钱不够。";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setST=0x2000000,60;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	gotopt=-285,30,1313;
	moving=1;
  }
  camera
  {
	lookpt=0,130,0,1;
	swing=1;
  }
}

comment
{
  unitctrl
  {
	gotopt=-2271,30,1416;
	moving=1;
	swing=1;
  }
  wait=3;
}

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