if(jieduan=0)
        setpos(0,20,49,121,200)
	hero[2][2]
	hero[0][0]=123
	hero[0][1]=121
	hero[1][0]=65
	hero[1][1]=65
	addHero(hero)
	setJD(jieduan+1)
	setelf(5,60)
	setelf(4,300)
	sethp(4,8000)
	sethp(5,8000)
	setmp(4,15000)
	setmp(5,15000)
	setsf(4,60)
	setspeed(4,998)
	setspeed(5,999)
	addPath("a",1)
	addPath("b",1)
	addBuff(5,13,-1,1000)
	addBuff(5,3,-1,444)
	addBuff(4,6,-1,0)
	addBuff(4,7,-1,0)
endif

if(jieduan=1)
	talk[2]
	talk[0]="战斗提示:双生双子必须#同时消灭$."
	talk[1]="战斗提示:恶金童对#技能$的#抵抗较高$而凶玉女对攻击者照成#反弹$伤害."
	setTalk(1,talk)
	talk[1]
	talk[0]="痛楚……迷惘……猜忌……这是一切的基石……"
	setTalk(5,talk)
	talk[1]
	talk[0]="背叛……憎恨……混乱……这是一切的支柱……"
	setTalk(4,talk)
	setJD(jieduan+1)
	setcontor(4,-1,-1,0)
	setcontor(5,-1,-1,0)
endif

if(jieduan=2)
	if (mod(count,10)=6&gethp(4)>0)
		talk[2]
		talk[0]="你们只会浪费我的时间!"
		talk[1]="战斗提示：恶金童即将施放#连环炎爆$，迅速做好防范!"
		setTalk(4,talk)
	endif
	if (mod(count,9)=7&gethp(5)>0)
		talk[2]
		talk[0]="对我攻击就如同寻找痛苦!"
		talk[1]="战斗提示：凶玉女即将#加强攻击$，使用定身技能#打断$其施法!"
		setTalk(5,talk)
	endif
	hp1=gethp(5)
	hp2=gethp(4)
	if(hp1<=0)
		jieduan=3
	else
		if (mod(count,9)=0)
			setcontor(5,-1,1,29)
			addBuff(5,9,1,count*50)
		endif
		setcontor(5,-1,0,0)
	endif
	if(hp2<=0)
		jieduan=4
	else
		if (mod(count,10)<8)
			act[3]
			act[0]=27
			act[1]=28
			act[2]=30
			randomContor(4,act)
		else
			setcontor(4,-1,1,42)
		endif
		if (mod(count,10)=0)
			setcontor(4,-1,1,42)
		endif
	endif
endif

if(jieduan=3)
	relife(5,10000+a*1000)
	setspeed(5,998)
	setspeed(4,999)
	addBuff(5,13,-1,1000)
	talk[1]
	talk[0]="阴影将在火焰下存在!"
	setTalk(4,talk)
	talk[3]
	talk[0]="火焰将在阴影中燃烧!"
	talk[1]="战斗提示:凶玉女被#复活$，其#回血$效果提高."
	talk[2]="战斗提示:双生双子必须#同时$消灭."
	setTalk(5,talk)
	setcontor(5,-1,-1,0)
	setcontor(4,-1,1,41)
	setpath("a",a+1)
	addBuff(5,3,-1,800*a)
endif

if(jieduan=4)
	relife(4,10000+b*1000)
	addBuff(4,6,-1,0)
	addBuff(4,7,-1,0)
	setspeed(4,998)
	setspeed(5,999)
	talk[1]
	talk[0]="复活吧，我的勇士!"
	setTalk(5,talk)
	talk[3]
	talk[0]="为你而战，我的女士!"
	talk[1]="战斗提示:恶金童被#复活$，所有玩家角色被其赋予#负面状态$."
	talk[2]="战斗提示:双生双子必须#同时$消灭."
	setTalk(4,talk)
	setcontor(4,-1,-1,0)
	setcontor(5,-1,1,29)
	setpath("b",b+1)
	addBuff(1,5,3,500*b+500)
	addBuff(2,1,3+b,0)
	addBuff(3,14,3+b,0)
endif

ret
