Professional Documents
Culture Documents
end
// RGB of a part of digimon hp to use FOOD in slot 7 , preferably specify a
bout 50% of digimon HP
if Color.At coordinate is not (RGB)("148", "44", "31", "231", "167")
begin
Keyboard.Hold keys("7")
Keyboard.Release keys("7")
end
// RGB for Digimon DS to use DS DISK in slot F8
if Color.At coordinate is not (RGB)("0", "162", "179", "206", "181")
begin
Keyboard.Hold keys("{<f8>}")
Keyboard.Release keys("{<f8>}")
end
// RGB for TAMER DS , slot 8
if Color.At coordinate is not (RGB)("0", "206", "220", "205", "108")
begin
Keyboard.Hold keys("8")
Keyboard.Release keys("8")
end
function
function("Loot")
begin
Keyboard.Hold keys("4")
Keyboard.Release keys("4")
end
function
function("TAB")
// If target doesnt have HP, tab to next one.
if Color.At coordinate is not (RGB)("133", "26", "19", "576", "95")
and
Color.At coordinate is not (RGB)("165", "43", "34", "401", "55")
begin
Keyboard.Hold keys("{<tab>}")
Keyboard.Release keys("{<tab>}")
Function.Execute("Heal")
end
function
function("Anti Macro Protector")
begin
// Locate time progression bar when the Anti-Auto window pops up
if Color.Pixel pattern can be located on screen("207,172,0,5,0,207,17
2,0,-5,10,235,192,32,5,0,235,192,32,-5,3,249,219,45,5,0,249,219,45,-5,10,224,185
,0,5,0,224,185,0", "5")
begin
// On the time progression bar, picks automatically the (X,
Y) coordinates of the first point of the bar
Color.Wait for and locate pixel pattern("207,172,0,5,0,207,1
72,0,-5,10,235,192,32,5,0,235,192,32,-5,3,249,219,45,5,0,249,219,45,-5,10,224,18
5,0,5,0,224,185,0", "5", "X", "Y")
// Set the Xs and Ys axis on the face of the digimon to iden
tify
Variable.Evaluate (Math)("{X} + 23", "X1")
Variable.Evaluate (Math)("{X} + 33", "X2")
Variable.Evaluate (Math)("{X} + 43", "X3")
Variable.Evaluate (Math)("{Y} - 41", "Y1")
Variable.Evaluate (Math)("{Y} - 31", "Y2")
left")
end
Macro.Pause("100")
// If the RBG picked on the face matches with the icon 3 ro
w 2
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon3}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon3}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon3}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon3}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon3}", "{Yrow2}", "13")
begin
Mouse.Move to coordinate("{Xicon3}", "{Yrow2}")
Macro.Pause("2000")
Mouse.Click at coordinate("{Xicon3}", "{Yrow2}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matches with the icon 4 ro
w 2
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon4}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon4}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon4}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon4}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon4}", "{Yrow2}", "13")
begin
Mouse.Move to coordinate("{Xicon4}", "{Yrow2}")
Macro.Pause("2000")
Mouse.Click at coordinate("{Xicon4}", "{Yrow2}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matches with the icon 5 ro
w 2
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon5}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon5}", "{Yrow2}", "13")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon5}", "{Yrow2}", "13")
and