F2::
GreenMarker := 0x1d671d
YellowMarker := 0x008989
cubeX := 546
cubeY1 := 273
cubeY2 := 314
cubeY3 := 356
cubeY4 := 397
cubeY5 := 439
coursorX := 462
coursorY1 := 275
coursorY2 := 317
coursorY3 := 356
coursorY4 := 397
coursorY5 := 438
Pixelgetcolor, Color, %cubeX%, %cubeY1%
if (Color == GreenMarker)
{
MsgBox Green 1
Pixelgetcolor, Color2, %coursorX%, %coursorY1%
if (Color2 != YellowMarker)
{
MsgBox NotYellow1
}
Pixelgetcolor, Color2, %coursorX%, %coursorY2%
if (Color2 != YellowMarker)
{
MsgBox NotYellow2
}
Pixelgetcolor, Color2, %coursorX%, %coursorY3%
if (Color2 != YellowMarker)
{
MsgBox NotYellow3
}
Pixelgetcolor, Color2, %coursorX%, %coursorY4%
if (Color2 != YellowMarker)
{
MsgBox NotYellow4
}
Pixelgetcolor, Color2, %coursorX%, %coursorY5%
if (Color2 != YellowMarker)
{
MsgBox NotYellow5
}
}
Pixelgetcolor, Color, %cubeX%, %cubeY2%
if (Color == GreenMarker)
{
MsgBox Green 2
Pixelgetcolor, Color2, %coursorX%, %coursorY1%
if (Color2 != YellowMarker)
{
MsgBox NotYellow1
}
Pixelgetcolor, Color2, %coursorX%, %coursorY2%
if (Color2 != YellowMarker)
{
MsgBox NotYellow2
}
Pixelgetcolor, Color2, %coursorX%, %coursorY3%
if (Color2 != YellowMarker)
{
MsgBox NotYellow3
}
Pixelgetcolor, Color2, %coursorX%, %coursorY4%
if (Color2 != YellowMarker)
{
MsgBox NotYellow4
}
Pixelgetcolor, Color2, %coursorX%, %coursorY5%
if (Color2 != YellowMarker)
{
MsgBox NotYellow5
}
}
Pixelgetcolor, Color, %cubeX%, %cubeY3%
if (Color == GreenMarker)
{
MsgBox Green 3
Pixelgetcolor, Color2, %coursorX%, %coursorY1%
if (Color2 != YellowMarker)
{
MsgBox NotYellow1
}
Pixelgetcolor, Color2, %coursorX%, %coursorY2%
if (Color2 != YellowMarker)
{
MsgBox NotYellow2
}
Pixelgetcolor, Color2, %coursorX%, %coursorY3%
if (Color2 != YellowMarker)
{
MsgBox NotYellow3
}
Pixelgetcolor, Color2, %coursorX%, %coursorY4%
if (Color2 != YellowMarker)
{
MsgBox NotYellow4
}
Pixelgetcolor, Color2, %coursorX%, %coursorY5%
if (Color2 != YellowMarker)
{
MsgBox NotYellow5
}
}
Pixelgetcolor, Color, %cubeX%, %cubeY4%
if (Color == GreenMarker)
{
MsgBox Green 4
Pixelgetcolor, Color2, %coursorX%, %coursorY1%
if (Color2 != YellowMarker)
{
MsgBox NotYellow1
}
Pixelgetcolor, Color2, %coursorX%, %coursorY2%
if (Color2 != YellowMarker)
{
MsgBox NotYellow2
}
Pixelgetcolor, Color2, %coursorX%, %coursorY3%
if (Color2 != YellowMarker)
{
MsgBox NotYellow3
}
Pixelgetcolor, Color2, %coursorX%, %coursorY4%
if (Color2 != YellowMarker)
{
MsgBox NotYellow4
}
Pixelgetcolor, Color2, %coursorX%, %coursorY5%
if (Color2 != YellowMarker)
{
MsgBox NotYellow5
}
}
Pixelgetcolor, Color, %cubeX%, %cubeY5%
if (Color == GreenMarker)
{
MsgBox Green 5
Pixelgetcolor, Color2, %coursorX%, %coursorY1%
if (Color2 != YellowMarker)
{
MsgBox NotYellow1
}
Pixelgetcolor, Color2, %coursorX%, %coursorY2%
if (Color2 != YellowMarker)
{
MsgBox NotYellow2
}
Pixelgetcolor, Color2, %coursorX%, %coursorY3%
if (Color2 != YellowMarker)
{
MsgBox NotYellow3
}
Pixelgetcolor, Color2, %coursorX%, %coursorY4%
if (Color2 != YellowMarker)
{
MsgBox NotYellow4
}
Pixelgetcolor, Color2, %coursorX%, %coursorY5%
if (Color2 != YellowMarker)
{
MsgBox NotYellow5
}
}
Return