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;
  bgm
  {
	file="DATA\Scene\04_WRZ\bgm1.wav";
	play=2,20;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setpt=-465,30,909;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	setpt=-2063,30,-1236;
	setST=0x40000,1000;
  }
  camera
  {
	lookpt=0,130,0,1;
	roll=0.3;
	yaw=-1,1,0.001;
	distance=-400,-500,1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=3;
  }
  unitctrl
  {
	setpt=-2063,30,-1336;
	setST=0x40000,1000;
  }
}

comment
{
  getunit
  {
	id=3;
  }
  unitctrl
  {
	lookpt=-2063,30,-1236;
  }
}

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

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	lookpt=-2060,30,-1236;
  }
  wait=1;
}

comment
{
  unitctrl
  {
	lookpt=-2070,30,-1236;
	setST=0x100000,5;
  }
  wait=2;
  dialogue
  {
	talk="这是个什么地方！？";
	lifetime=3;
  }
}

comment
{
  unitctrl
  {
	lookpt=-2063,30,-1200;
  }
  dialogue
  {
	talk="我们似乎迷路了…";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=3;
  }
  dialogue
  {
	talk="迷路了！？我不要~~~";
	lifetime=3;
  }
  wait=2;
}

comment
{
  dialogue
  {
	talk="我讨厌这个地方~~~";
	lifetime=2;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  camera
  {
	lookpt=0,130,0,1;
	swing=1;
  }
  unitctrl
  {
	gotopt=-465,30,127;
  }
}

comment
{
  unitctrl
  {
	gotopt=-1974,30,-724;
	lookpt=-2063,30,-1422;
	swing=1;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=3;
  }
  camera
  {
	lookpt=0,130,0,1;
	swing=1;
  }
  dialogue
  {
	talk="呀~~~！
那是什么，我好怕~";
	lifetime=3;
  }
  wait=3;
  unitctrl
  {
	setST=0x1000000,3;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setpt=-2898,30,-972;
	gotopt=-2421,30,-936;
	moving=1;
	lookpt=-1974,30,-724;
  }
}

comment
{
  camera
  {
	lookpt=0,130,0,1;
	swing=1;
  }
}

comment
{
  unitctrl
  {
	setST=0x420000,3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=2;
  }
  camera
  {
	lookpt=0,130,0,1;
	swing=1;
  }
  unitctrl
  {
	lookpt=-2421,30,-936;
	setST=0x200000,3;
	swing=1;
  }
  wait=0.5;
}

comment
{
  unitctrl
  {
	lookpt=-2421,30,-936;
	setST=0x200000,3;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=3;
  }
  unitctrl
  {
	lookpt=-2421,30,-936;
	setST=0x200000,3;
	swing=1;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	gotopt=-2550,30,-936;
	lookpt=-2421,30,-936;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=3;
  }
  unitctrl
  {
	gotopt=-2600,30,-936;
	lookpt=-2421,30,-936;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	lookpt=-2550,30,-936;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="求求你，救救我们~！";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="别怕，有我在！";
	lifetime=3;
  }
  wait=3;
}

comment
{
  msglist
  {
	strings="胜利条件：
保护平民，打败敌人";
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	soundID=7;
	type=1;
	fontID=2;
  }
  wait=1;
  GameSystemMode="B101",0;
  return;
}

#BOOKMARK_LOSE://———————————————————————————————————
comment
{
  msglist
  {
	strings="任务失败";
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	type=5;
	fontID=2;
	screen_perpt=0.5,0.7;
	posoffset=-0.5,-0.5;
  }
  wait=7;
}

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

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

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

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

#BOOKMARK_LOSE1://———————————————————————————————————
comment
{
  msglist
  {
	strings="没能保护好平民，任务失败。";
	soundID=0;
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	type=5;
	fontID=2;
	screen_perpt=0.5,0.7;
	posoffset=-0.5,-0.5;
  }
  wait=7;
}

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

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

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

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

#BOOKMARK_WIN://———————————————————————————————————
comment
{
  wait=3;
}

comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=15;
  }
  GameSystemMode="B1",1;
}


comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setpt=-1974,30,-724;
	lookpt=-1800,30,-724;
	setST=0;
  }
  GameSystemMode="B100",1;
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	setpt=-1800,30,-724;
	lookpt=-1974,30,-724;
	setST=0;
  }
  camera
  {
	lookpt=0,130,0,1;
	distance=-400,-400,0;
	roll=0.3;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=3;
  }
  unitctrl
  {
	setpt=-1700,30,-724;
	lookpt=-1974,30,-724;
	setST=0;
  }
}

comment
{
  screen
  {
	dstframe=0;
	speed=15;
  }
  wait=1;
  bgm
  {
	play=0;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="多谢你就了我们一命~~！";
	lifetime=3;
  }
  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=3;
  }
  dialogue
  {
	talk="都是姐姐不好！
笨蛋~~~~";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="哎呀，对不起嘛~~~~";
	lifetime=3;
  }
  unitctrl
  {
	lookpt=-1700,30,-724;
  }
  wait=2;
}

comment
{
  unitctrl
  {
	lookpt=-1974,30,-724;
  }
  wait=2;
}

comment
{
  dialogue
  {
	talk="我正好带了点好吃的，给你作为谢礼，
希望你能笑纳。";
	lifetime=3;
  }
  wait=2;
}

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

comment
{
  getunit
  {
	id=0;
  }
  msglist
  {
	strings="获得3个苹果";
	color=0xffffffff,0xffffffff,0xff00ff00,0xff00ff00;
	outlinecolor=0x77ff0000;
	waittime=5;
	type=1;
	fontID=2;
  }
  sound
  {
	file="DATA\World\Menu$2\buy.wav";
  }
  function
  {
	func_call="AddItemToTeam(苹果,3)";
  }
}

comment
{
  msglist
  {
	strings="获得2个西瓜";
	color=0xffffffff,0xffffffff,0xff00ff00,0xff00ff00;
	outlinecolor=0x77ff0000;
	waittime=5;
	type=1;
	fontID=2;
  }
  function
  {
	func_call="AddItemToTeam(西瓜,2)";
  }
}

comment
{
  msglist
  {
	strings="获得1块烤肉";
	color=0xffffffff,0xffffffff,0xff00ff00,0xff00ff00;
	outlinecolor=0x77ff0000;
	waittime=5;
	type=1;
	fontID=2;
  }
  function
  {
	func_call="AddItemToTeam(烤肉,1)";
  }
}

comment
{
  dialogue
  {
	talk="你太客气了。";
	lifetime=3;
  }
  wait=5;
}

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