if(jieduan=0)
	hero[2][3]
	hero[0][0]=108
	hero[0][1]=117
	hero[0][2]=109
	hero[1][0]=10
	hero[1][1]=10
	hero[1][2]=10
	addHero(hero)
	sethp(5,700)
	setmp(5,700)
	setJD(jieduan+1)
	addBuff(5,8,-1,0)
endif

if(jieduan=1)
	talk[1]
	talk[0]="战斗提示:解决完两边的小妖才能对猴妖照成伤害!"
	setTalk(1,talk)
	setJD(jieduan+1)
	jieduan=jieduan+1 
endif

if(jieduan=2)
	act[1]
	act[0]=2
	randomContor(4,act)
	setcontor(6,-1,0,0) 
	hp1=gethp(4)
	hp2=gethp(6)
	if(hp1<=0&hp2<=0)
		setJD(jieduan+1)
		jieduan=jieduan+1
	else
		if(probability(70))
			act[2]
			act[0]=1
			act[1]=2
			randomContor(5,act)
		else
			setcontor(5,-1,0,0) 
		endif
	endif
endif

if(jieduan=3)
	removeBuff(5,14)
	removeBuff(5,34)
	talk[1]
	talk[0]="你的死相会比它们更惨!"
	setTalk(5,talk)
	setcontor(5,-1,1,4)
	setJD(jieduan+1)
endif

if(jieduan=4)
	removeBuff(5,8)
	setJD(jieduan+1)
	jieduan=jieduan+1
endif

if(jieduan=5)
	randomAllContor()
endif

ret
