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
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setpt=2370,30,607;
  }
  GameSystemMode="B101",1;
  camera
  {
	lookpt=0,130,0,1;
	roll=0, 0.4, 0.002;
	yaw=1.8,4,0.001;
	distance=-200,-500,1;
	swing=1;
  }
  function
  {
	func_call="PlaySceneBGM()";
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setpt=2370,30,-2548;
  }
}

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

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	lookpt=2043,30,607;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	lookpt=2380,30,961;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="这地方还真是僻静。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	gotopt=2370,30,140;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="打劫啦~~~！
给我留下买路财。";
  }
  wait=0.5;
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	lookpt=2370,30,-237;
	setST=0x200000,2;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="不然的话，别怪我手下无情！";
  }
  unitctrl
  {
	motact="DATA\Character\Motion\SwordACTKL3L.mot";
	motkey=0,20;
	setST=0x1000,120;
  }
  wait=3;
}


comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="这个~~~";
	conditional="给钱2000息事宁人。",
				"断然拒绝，跟他拼。";
	cond_goto="","DOFIGHT";
  }
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="这有2000块钱，希望你能放我一马。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="算你识相~";
	lifetime=3;
  }
  wait=3;

  unitctrl
  {
	setST=0;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  msglist
  {
	strings="我队损失了2000钱。";
	color=0xffffffff,0xffffffff,0xff00ff00,0xff00ff00;
	outlinecolor=0x77000000;
	waittime=5;
	type=1;
	fontID=2;
  }
  sound
  {
	file="DATA\World\Menu$2\buy.wav";
  }
  function
  {
	func_call="AddMoneyToTeam(-2000)";
  }
  scriptmode="Rob";
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	gotopt=2370,30,-3000;
	moving=1;
	swing=1;
  }
  wait=2;
}

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

comment
{
  getunit
  {
	id=1;
	SelResult=1;
  }
  happenGoto
  {
    characteristic="B1",0,
					"B1",1;
	odds=30;
	goto="ERO";
  }
}

comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=5;
  }
  wait=3;
  bgcolor=0;
}

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

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

comment
{
  function
  {
	func_call="PlaySceneBGM()";
  }
  return;
}

#BOOKMARK_DOFIGHT://———————————————————————————————————

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="你休想，有本事来抢啊~~~";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="这是你自己找死~~！";
	lifetime=3;
  }
  wait=2;
}

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

#BOOKMARK_WIN0://———————————————————————————————————
comment
{
  getunit
  {
	id=0;
  }
  msglist
  {
	strings="我队挽回了2000钱的损失。";
	color=0xffffffff,0xffffffff,0xff00ff00,0xff00ff00;
	outlinecolor=0x77000000;
	waittime=5;
	type=1;
	fontID=2;
  }
  sound
  {
	file="DATA\World\Menu$2\buy.wav";
  }
  function
  {
	func_call="AddMoneyToTeam(2000)";
  }
  wait=1;
}

comment
{
  getunit
  {
	id=0;
  }
  msglist
  {
	strings="另外，还从劫匪那掠得了1000钱的收获。";
	color=0xffffffff,0xffffffff,0xff00ff00,0xff00ff00;
	outlinecolor=0x77000000;
	waittime=5;
	type=1;
	fontID=2;
  }
  sound
  {
	file="DATA\World\Menu$2\buy.wav";
  }
  function
  {
	func_call="AddMoneyToTeam(1000)";
  }
  wait=1;
}

#BOOKMARK_WIN1://———————————————————————————————————
comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="哼，真是自不量力的蟊贼~~~";
	lifetime=3;
  }
  wait=7;
}

comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=5;
  }
  wait=3;
  bgcolor=0;
  GameSystemMode=0x1,1;
}

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

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

comment
{
  function
  {
	func_call="PlaySceneBGM()";
  }
  return;
}

#BOOKMARK_LOSE://———————————————————————————————————
comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="哼，不识相的家伙~~~";
	lifetime=3;
  }
  wait=5;
  GameSystemMode="B1",1;
}

comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=5;
  }
  wait=3;
  bgcolor=0;
}

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

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

comment
{
  function
  {
	func_call="PlaySceneBGM()";
  }
  return;
}

#BOOKMARK_ERO://———————————————————————————————————
comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	gotopt=2370,30,-100;
	moving=0;
	setST=0x2000000,2;
  }
  wait=1;
}

comment
{
  unitctrl
  {
	gotopt=2370,30,-100;
	moving=1;
  }
}

comment
{
  unitctrl
  {
	lookpt=2370,30,607;
  }
}

comment
{
  dialogue
  {
	talk="… …";
	lifetime=2;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="你还要怎样~？";
	lifetime=2;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="我还想顺便再劫个色…";
	lifetime=3;
  }
  wait=3;
  unitctrl
  {
	gotopt=2370,30,140;
	moving=1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="什么！？";
	lifetime=3;
  }
  wait=2;
  unitctrl
  {
	setST=0x4000,10;
  }
}

comment
{
  dialogue
  {
	talk="你这个无耻的坏蛋！
我跟你拼了~~~";
	lifetime=3;
  }
  wait=3;
  unitctrl
  {
	setST=0x1000,120;
  }
}

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