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=764,30,2055;
	gotopt=2113,30,2055;
	moving=1;
	swing=1;
	setWUST=0x8000,1; //指定空手状态
  }
  camera
  {
	lookpt=0,100,0,1;
	roll=0.3;
	yaw=0,-1,0.001;
	distance=-400;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setpt=1905,30,2900;
	lookdir=-10,0,0;
	setWUST=0x8000,1; //指定空手状态
 }
}

comment
{
  unitctrl
  {
	motact="DATA\Character\MotionDrama\SitBoy_dengzi.mot";
	motloop=40,140;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	setpt=1710,30,2900;
	lookdir=10,0,0;
 }
}

comment
{
  unitctrl
  {
	motact="DATA\Character\MotionDrama\SitBoy_dengzi.mot";
	motloop=10,140;
	swing=1;
  }
}

comment
{
  function
  {
	func_call="MadeThing(酒碗,1865,117,2900)";
  }
}

comment
{
  function
  {
	func_call="MadeThing(酒碗,1818,117,2809)";
  }
}

comment
{
  function
  {
	func_call="MadeThing(鱼肉,1818,117,2900)";
  }
}

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

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

comment
{
  unitctrl
  {
	gotopt=2113,30,2889;
	moving=1;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="光有酒没有下酒菜，真是不畅快啊…";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="算了你就将就着喝吧。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="要是有一大块香喷喷的烤肉下酒该多好啊~~~~";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	lookdir=-10,0,0;
	setST=0x20000,2;
 }
  wait=1;
}

comment
{
  dialogue
  {
	talk="… …";
	conditional="继续赶路",
				"去搭讪，送一块下酒肉。";
	cond_goto="","GIFT";
  }
}

comment
{
  dialogue
  {
  
  }
  unitctrl
  {
	gotopt=2968,30,4250;
	swing=1;
	moving=1;
	setST=0x2000000,10;
  }
  wait=3;
}

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

comment
{
  getunit
  {
	id=0;
  }
  happenGoto
  {
	team_accname="烤肉",1;
	goto="GIFT_OK";
  }
}

comment
{
  dialogue
  {
	talk="我好象没有烤肉，还是算了吧。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  unitctrl
  {
	gotopt=2968,30,4250;
	swing=1;
	moving=1;
  }
  wait=3;
}

comment
{
  goto="EXIT";
}

#BOOKMARK_GIFT_OK://———————————————————————————————————
comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
  
  }
  unitctrl
  {
	gotopt=1915,30,2728;
	moving=1;
  }
  camera
  {
	lookpt=0,100,0,1;
	yaw="",-1.5,0.001;
	swing=1;
  }
}

comment
{
  unitctrl
  {
	gotopt=1812,30,2746;
	moving=1;
  }
}

comment
{
  unitctrl
  {
	lookdir=0,0,100;
  }
}

comment
{
  dialogue
  {
	talk="两位兄台，有理了。";
  }
  wait=3;
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
    motkey=160,200;
	motloop=170,200;
	swing=1;
	setST=0x20000,2;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
    motkey=210,260;
	motloop=220,260;
	swing=1;
	setST=0x20000,2;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="我这有块好肉，给各位兄台下酒。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  unitctrl
  {
	motact="DATA\Character\MotionDrama\GiveBoy.mot";
  }
}

comment
{
  WaitActionKey=10;
}

comment
{
  function
  {
	func_call="TakeThing(烤肉,1818,120,2850)";
  }
  wait=1;
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="哇~~~
太好了，这位朋友太客气了。";
	lifetime=3;
  }
  unitctrl
  {
	setST=0x8000000,2;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="我们队伍最近想招人手，不知两位是否愿意加入？";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="哎呀，我家有病重老母，要我照料不宜远行。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="我倒是可以参加你们的队伍。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="那太好了~~~";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	motloop=-1,-1;
	motkey=140,150;
  }
}

comment
{
  WaitActionKey=149;
}

comment
{
  unitctrl
  {
	setpt=1945,30,2900;
	gotopt=1945,30,2728;
	moving=1;
  }
  function
  {
	func_call="ChangeTeam(0)";
  }
}

comment
{
  dialogue
  {
	talk="我已经准备好了。";
	lifetime=3;
  }
  unitctrl
  {
	lookdir=-100,0,0;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="那么，我们一走吧。";
	lifetime=3;
  }
  wait=3;
  unitctrl
  {
	lookdir=100,0,0;
  }
}

comment
{
  unitctrl
  {
	gotopt=2110,30,-850;
	moving=1;
	swing=1;
  }
  wait=0.5;
}

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

comment
{
  goto="EXIT";
}