y1 = y
x = x + 48
yanse2=GetPixelColor(x,y)
x2 = x
y2 = y
x = x + 48
yanse3=GetPixelColor(x,y)
x3 = x
y3 = y
x = x1
y = y + 48//下一行
yanse11 = GetPixelColor(x, y)
x11 = x
y11 = y
x = x + 48
yanse22 = GetPixelColor(x, y)
x22 = x
y22 = y
x = x + 48
yanse33 = GetPixelColor(x, y)
x33 = x
y33 = y
//==================横向下交叉判断程序=================
If yanse11 = yanse2 And yanse11 = yanse3 Then
MoveTo x1, y1
Delay 10
LeftClick 1
Delay 10
MoveTo x11, y11
Delay 10
LeftClick 1
Delay 10
End If
If yanse22 = yanse1 And yanse22 = yanse3 Then
MoveTo x2, y2
Delay 10
LeftClick 1
Delay 10
MoveTo x22, y22
Delay 10
LeftClick 1
Delay 10
End If
If yanse33 = yanse1 And yanse33 = yanse2 Then
MoveTo x3, y3
Delay 10
LeftClick 1
Delay 10
MoveTo x33, y33
Delay 10
LeftClick 1
Delay 10
End If
If yanse1 = yanse22 And yanse1 = yanse33 Then
MoveTo x1, y1
Delay 10
LeftClick 1
Delay 10
MoveTo x11, y11
Delay 10
LeftClick 1
Delay 10
End If
If yanse2 = yanse11 And yanse2 = yanse33 Then
MoveTo x2, y2
Delay 10
LeftClick 1
Delay 10
MoveTo x22, y22
Delay 10
LeftClick 1
Delay 10
End If
If yanse3 = yanse11 And yanse3 = yanse22 Then
MoveTo x3, y3
Delay 10
LeftClick 1
Delay 10
MoveTo x33, y33
Delay 10
LeftClick 1
Delay 10
End If
x = x2
y = y2
Next
x = 293 + Ux : y = y1 + 48
Next
//=============================================================================
// 竖向交叉
Call 开始()
x = 293 + Ux : y = 118 + Uy//起点坐标
For 7
For 6
//===================竖向右交叉判断==================
yanse1 = GetPixelColor(x, y)
x1 = x
y1 = y
y = y + 48
yanse2 = GetPixelColor(x, y)