Добрый вечер все не как не могу понят в чем ошибка в строке 29 и 55
GETSCREEN
IF_PIXEL_IN(916,627, 948,666, 4833161,4831109,3127649,2994011)
LCLICK(843,648)
END_IF
GETSCREEN
$count0 = PXLCOUNT(1361,182, 1361,518,3260259)
$count1 = PXLCOUNT(1329,182, 1329,518,3260259)
$count2 = PXLCOUNT(1297,182, 1297,518,3260259)
IF(($count0 + $count1 + $count1) > $count0_temp)
$count0_temp = ($count0 + $count1 + $count2)
WAITMS(50)
END_IF
GETSCREEN
$count3 = PXLCOUNT(1361,182, 1361,518,3260259)
$count4 = PXLCOUNT(1329,182, 1329,518,3260259)
$count5 = PXLCOUNT(1297,182, 1297,518,3260259)
$count1_temp = ( $count3 + $count4 + $count5)
IF($count3 = 0 )
$count0_temp = 0
WAITMS(50)
END_IF
ELSE
WAITMS(50)
IF((($count0_temp-$count1_temp)/$count0_temp)*100 > 10)
$count0_temp = 0
LCLICK(1654,640)
WAITMS(0)
END_IF
ELSE
GETSCREEN
$count6 = PXLCOUNT(1361,182, 1361,518,3881949)
$count7 = PXLCOUNT(1329,182, 1329,518,3881949)
$count8 = PXLCOUNT(1297,182, 1297,518,3881949)
IF(($count6 + $count7 + $count8) > $count2_temp)
$count2_temp = ($count6 + $count7 + $count8)
END_IF
WAIT(0.1)
GETSCREEN
$count9 = PXLCOUNT(1361,182, 1361,518,3881949)
$count10 = PXLCOUNT(1329,182, 1329,518,3881949)
$count11 = PXLCOUNT(1297,182, 1297,518,3881949)
$count4_temp = ($count9 + $count10 + $count11)
IF($count9 = 0)
$count2_temp = 0
END_IF
ELSE
WAITMS(50)
IF((($count2_temp-$count4_temp)/$count2_temp)*100 > 10)
$count2_temp = 0
LCLICK(1654,640)
WAITMS(0)
END_IF
WAIT(0.1)